fatal error: curl/curl.h: No such file or directory #include <curl/curl.h>

I'm trying to use cURL but every time I try to compile I get the same error above. I am aware of the dozen or so post about similar issues. However most of the solutions I've read so far either don't work, or I can't seem to find an analog for as I'm on a windows 10 OS using mingw32.

I am trying to use the "curl-7.76.1-win32-mingw.zip" i got from the cURL site, and no matter where i try to stick the files i cant get anything off the ground.

Someone please explain your solution ideas to me like I'm 5. My brain has melted.

Here is the actual error:

"In file included from D:\Personal\Projects##############\main.cpp:4: D:\Personal\Projects##############\testapi.hpp:7:10: fatal error: curl/curl.h: No such file or directory #include <curl/curl.h> ^~~~~~~~~~~~~ compilation terminated. [Finished in 0.6s]"



Read more here: https://stackoverflow.com/questions/67394957/fatal-error-curl-curl-h-no-such-file-or-directory-include-curl-curl-h

Content Attribution

This content was originally published by Jake Bullard at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: