The recent-version-off-a-mirror system has no info about your requested package 'win32-ssl-devel-mingw'!:-( This is most likely because there is no up-to-date. Download Curl Devel Mingw 64-bit. Optional, for FLAC support. Optional, for JPEG support. Required for Groovie 2, Starship Titanic and Wintermute. Curl-devel RpmFrom: jason cipriani Date: Sat, 10 Feb 2007 03:59:40 -0500 I wanted to use libcurl with mingw; but for some reason the mingw binary is missing off the download page (use the wizard, the file isn't found). Also I searched quickly and saw that a number of people had problems with libcurl 'not working' under mingw. Here is how I got it to work on mingw using the MSVC version -- it's very simple so I thought I'd share. Do this if you want to use libcurl on mingw and you are having problems. DEVELOPMENT SETUP: 1) Visit the download wizard () and download the Win32 MSVC version of libcurl. See All 372 Rows On Curl.haxx.seI did not need SSL so I got the version without it. This little guide doesn't cover SSL. 2) Visit the zlib download page () and download the current zlib *-bin package for Win32. You'll need to do this even if you have mingw zlib already installed. Bagaimana cara membuat suatu program komputer. If that link is broken, you can access this page by going to the libcurl download page, going all the way to the bottom and clicking on the GnuWin32 project page link, and picking zlib from the list. 3) Install libcurl by hand. They're both easy. For libcurl open up the zip file. Copy the libcurl.dll to somewhere in your static link path (perhaps /usr/local/lib) (you do not need the.lib file). Copy the contents of the include directory to your include path (perhaps /usr/local/include). That's almost it, except. 4) To get applications to compile with curl.h using mingw gcc you have to edit one small thing in curl.h. Open up include_path/curl/curl.h. ![]() There's no such thing as a 'long long' in ISO C++. Go down to around line 94 (where all the curl_off_t typedefs are) and find the 'gcc on windows or watcom' comment: #if (defined(__GNUC__) && defined(WIN32))|| defined(__WATCOMC__) /* gcc on windows or Watcom */ typedef long long curl_off_t; #define CURL_FORMAT_OFF_T '%I64d' I'm guessing, based on the format string, that it wants a 64-bit signed integer, so change that little bit of code to: #if (defined(__GNUC__) && defined(WIN32))|| defined(__WATCOMC__) /* gcc on windows or Watcom */ #include typedef int64_t curl_off_t; #define CURL_FORMAT_OFF_T '%I64d' Note the stdint.h include.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |