I'm having some unknown issue trying to use the curl library in my c++ application.
This is what I have done so far:
- Download latest version of curl
Build curl "nmake /f Makefile.vc mode=dll VC=12" - i get the following folders and files:
bin -> libcurl.dll
include -> curl -> bunch of .h files
lib -> libcurl.lib
Next I open Visual Studio 2015 Update 3 and go to Configuration Properties:
C/C++ -> General -> Additional include directories -> ..\curl\include
and
Linker-->Input->Additional Dependencies--> ..\curl\lib\libcurl.lib
and then copy the .dll to the debug folder.
This procedure has worked for me for another library but for CURL i am getting the error message:
"Error LNK1104 cannot open file '..\curl\libcurl.lib'"
I can #include "curl\curl.h" without any errors. Problem seems to be with the lib file. I have been looking all over the web for 6 hours, I'm totally lost.