C++ adding static libcurl, wont compile -
im using eclipse , mingw32. problem when add -static
flag linker options, receive error message:mingw32/bin/ld.exe: cannot find -llibcurl
without -static
flag, combines fine , works. compiled libcurl using mingw32. copied header files mingw include folder, , files libcurl lib folder mingw lib folder. i'm doing wrong, dont know what.
-static means "do not link against shared libraries." when not use options linker links binary shared version (libcurl.so on linux/libcurl.dll on windows). not have static version of libcurl on development enviroment or not give right path of file (libcurl.lib).
Comments
Post a Comment