c - Compiling with libcurl and Mingw32 on fedora -


i'm in trouble trying make proper compilation on c program using libcurl. going fine when run

gcc main.c -lcurl -o test.out 

but when try same compilation mingw, using command

i686-w64-mingw32-gcc -lcurl main.c -o test.out 

i error following output :

main.c:7:23: fatal error: curl/curl.h: no such file or directory      #include <curl/curl.h>                        ^ compilation terminated. 

unfortunately cannot understand few documentations managed find online. i'd glad if knew how rid of issue.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -