Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

curl/curl.h on Windows

I have the following in my c++ script:

#include "curl/curl.h"

When I try to compile it, I get the following error:

\Users\username\Desktop\Temp\talkbot\main.cpp C:\Users\username\Desktop\Temp\talkbot\C curl.h: No such file or directory.

So I searched around and tried to download cURL for windows. I ended up on http://www.paehl.com/open_source/?CURL_7.21.3 and choose Download without SSL. I downloaded it and I simply got curl.exe.

What am I supposed to do with that file to get curl.h? Thanks in advance.

like image 517
Tech163 Avatar asked Dec 25 '10 16:12

Tech163


1 Answers

Instead of downloading cURL, downloab libcurl. For Windows, you can use these links:

http://curl.haxx.se/download/libcurl-7.19.3-win32-ssl-msvc.zip

http://www.gknw.net/mirror/curl/win32/curl-7.21.3-devel-mingw32.zip

like image 57
Jim Brissom Avatar answered Sep 20 '22 21:09

Jim Brissom