I DID put preprocessor definition CURL_STATICLIB, I built curl with some stack overflow tutorial from 2017, I put all libraries and includes where they need to be.
Now, when I'm building a project, I'm getting unresolved external symbol curl_easy_init error and another of the same for cleanup.
The code I'm using:
Button that will perform test call
if (ImGui::Button("Send Example Request"))
{
CURL* curl;
curl = curl_easy_init();
curl_easy_cleanup(curl);
}
includes
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include
#include
#include // i know that i need to put CURL_STATICLIB, if you read text above i already putted them in preprocessor definitions
#define GL_SILENCE_DEPRECATION
#if defined(IMGUI_IMPL_OPENGL_ES2)
#include
#endif
#include
I'm using visual code compiler, not cmake or anything.
0 comments:
Post a Comment
Thanks