After implementing 'curl' as a git submodule into my project "myproject" I wrote some code to test it out:
#include "curl/curl.h"
int main() {
CURL * curl;
CURLcode res;
curl = curl_easy_init();
//CONTINUE CODING HERE ···
return 0;
}
In Visual Studio 2019 IDE, after pressing the "Local Windows Debugger" button with any configuration and platform, I get the following linking errors in the "Error List" field:
Error LNK1120 1 unresolved externals "myproject\Release\myproject.exe"
Error LNK2001 unresolved external symbol __imp__curl_easy_init "myproject\myproject\main.obj"
The curl include directory has been properly added and installed for all the configurations and platforms though, I get this linking error. Is it possible to do something to fix this using 'curl' as a git submodule?