I can’t seem to get libcurl to work. I’ve installed it with the cygwin package installer but when I run it in the cygwin bash shell with:
gcc -Wall -lcurl -g blah.c -o blah
It I get:
curl/curl.h: No such file or directory`,
then following errors that provoked by the #include <curl/curl.h> not working.
if curl.h is found, compile with this:
but do not include ‘curl.h’, just the directory containing it. If you are doing it like this:
then only use the directory that contains the curl directory as the
-Iparameter.man gcc for more info.