I'm new to C++, and I've been struggling for the past 2 days trying to get libcurl to work. I'm on Windows, with VS 2012, and need to use libcurl for a x64 project. I have scoured the internet and SO for a solution that will help me, but not a single one has helped. I especially tried this link, which seemed to be the closest to what I need in the easiest possible instructions, and even that failed.
The error I am getting is a linker error, one for each call to any libcurl function.
error LNK2019: unresolved external symbol curl_global_init referenced in function main
To clarify,
- I have added libcurl/include to VC++ Directories -> Include Directories AND to C/C++ -> Additional Include Directories
- libcurl/lib/static-debug to VC++ Library Directories
- CURL_STATICLIB to C/C++ -> Preprocessor -> Preprocessor Definitions
- libcurl/lib/static-debug to Linker -> Additional Library Directories
- Full path to libcurl\lib\static-debug\libcurl_a_debug.lib to Linker -> Input -> Additional Dependencies.
Can someone please tell me if I'm doing anything wrong here, or if not, what on earth I can do to solve this? It's getting extremely frustrating, and I'm desperate.