I added a dummy call to curl_easy_init()
in the “Main.cpp” of the HelloWorld project and I got it compiling and linking after doing the following:
- Add
D:\dev\curl-7.54.1\builds\libcurl-vc-x86-release-static-ipv6-sspi-winssl\include
to “Header search paths” - Add
CURL_STATICLIB
to “Extra Preprocessor Definitions” - Add
libcurl_a.lib
to “External libraries to link” (this contradicts what I said in a precedent post, sorry) - Add
D:\dev\curl-7.54.1\builds\libcurl-vc-x86-release-static-ipv6-sspi-winssl\lib
to “Extra library search paths” - Change “Runtime Library” to “Use DLL runtime”
- Change “Architecture” to “32-bit”
I guess there is some incompatibility between how you are building your VST plugin and how libcurl
was built. Make sure that the Architecture (x86 vs. x64 in curl, 32-bit vs. x64 in Projucer) and the Runtime Library (RTLIBCFG=dll vs. RTLIBCFG=static in curl, DLL runtime vs. static runtime in Projucer) match between your project and libcurl
.