I am having difficulties compiling curlpp. I am using mingw and msys to compile curlpp. I have downloaded the files libcurl-7.16.4-win32-ssl-sspi.zip and curlpp-0.7.0.tar.gz and zlib-1.2.3-lib.zip.
here are the commands i am using: cd /g/programming/libs/curlpp-0.7.0 export PATH="$PATH:/g/programming/libs/libcurl-7.16.4/bin" export CPPFLAGS="-I/g/programming/libs/libcurl-7.16.4/include" export LDFLAGS="-L/g/programming/libs/libcurl-7.16.4 /lib:-L/g/programming/libs/zlib123/lib" ./configure make I get an error near the end of the output: c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lcurl I also get a few warnings, I dont know if they are meaningfull or not but here they are: *** Warning: linker path does not have real file for library -lcurl. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libcurl but no candidates were found. (...for file magic test) *** Warning: linker path does not have real file for library -lz. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libz and none of the candidates passed a file format test *** using a file magic. Last file checked: c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../libwinmm.a *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. *** Since this library must not contain undefined symbols, *** because either the platform does not support them or *** it was explicitly requested with -no-undefined, *** libtool will only create a static version of it
_______________________________________________ cURLpp mailing list [email protected] http://www.rrette.com/mailman/listinfo/curlpp
