I am having a hard time linking cURL to my project on vs12 ...
I opted for the .msi solution that I picked here: http://www.confusedbycode.com/curl/
and tried to link that to my project... However I am still getting some errors after doing what I thought was right:
1>main.obj : error LNK2019: unresolved external symbol _curl_easy_init referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _curl_easy_setopt referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _curl_easy_perform referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _curl_easy_cleanup referenced in function _main
My configuration in my project vs12 is the following:
- I included the include folder and the the lib folder in the vc++ directories
- I added CURL_STATICLIB to the Preprocessor definition in C/C++ section as well as adding the proper include folder
- I added the lib folder to the Linker sectio as well as libcurl.lib
Eventually I just included "curl.h" to the relevant .cpp file...
Is there something that I am missing?
Thank you a lot