cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] compiling curlpp error

From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Sat, 11 Aug 2007 22:33:42 +0200

  thanks armel,
  I still have the same error, but I dont have the .lib files. I only have the .a files.
  do i have to compile libcurl from source too?
generally, unix oriented compilers (such as gcc) build .a files for static libraries, and .so for dynamic (or .dylib on Mac OS X) so it seems OK. be sure to have -L be the directory containing the libraries. here i build libcurl with a few modification so what I explain is for libcurl built from source. else -L should point to the place where libcurl is installed on your system.
  On 8/11/07, Armel Asselin <asselin.armel_at_wanadoo.fr> wrote:

      I have been trying to compile curlpp with little success. I am using mingw and msys.
      Here are the commands I have been using:

      export PATH="$PATH:/g/programming/libs/libcurl-7.16.4/bin"
      export CPPFLAGS="-I/g/programming/libs/libcurl- 7.16.4/include"
      ./configure
      make

      I eventually run into this error:

      c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lcurl
    you probably need some -L option in your LDFLAGS, such as LDFLAGS="-Lg/programming/libs/libcurl- 7.16.4/lib/.libs"
      Apparently mingw cant find the libcurl library. How do I tell libcurl where this file is?
      Or is there something else I am doing wrong?

    Armel

    _______________________________________________
    cURLpp mailing list
    cURLpp_at_rrette.com
    http://www.rrette.com/mailman/listinfo/curlpp

------------------------------------------------------------------------------

  _______________________________________________
  cURLpp mailing list
  cURLpp_at_rrette.com
  http://www.rrette.com/mailman/listinfo/curlpp

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2007-08-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET