I'm trying to make an application in C++, in Windows using VS 2015. I've read in many places that curlpp is a good way to make HTTP requests. So I downloaded curlpp and noticed that it needed libcurl.
I've built curlpp normally, and I've also managed to build libcurl using the instructions inside winbuild/BUILD.WINDOWS.txt and it generated a libcurl_a.lib. I've also added everything to the include paths, preprocessor, additional dependencies, whatnot.
However, when I try to compile my project, here's what I get:
1>curlpp.lib(cURLpp.obj) : error LNK2001: unresolved external symbol __imp__curl_version
I'm not sure how to fix this. I've searched the entire libcurl and curlpp trying to find what __imp__curl_version
is with no luck. I've also spent a lot of time trying to figure it out, but everywhere I look, people just say that libcurl needs to be linked, but I'm already doing that. What is wrong?
If you need any more information, I'll update the post.
Thanks!
EDIT: As @frymode suggested, I used another sln file and compiled using another configuration. That solved my problem.