curl-library
Not able to build curl on Windows using VS2008.
Date: Tue, 9 Dec 2014 10:49:35 +0530
Hello Guenter,
Thanks for taking time and responding.
I am on Visual Studio 2008 , though I am on Windows87 64 bit . I want
binaries for 32 bit because my app is 32 bit. I did try building myself.
1. I downloaded the latest code from tarbal( earlier I had downloaded from
GIT but soon realized that should not be done), navigated to WindBuild
folder and read the
2. I then downloaded zlib and openssl from
http://windows.php.net/downloads/php-sdk/deps/vc9/x86/
3. created a folder 'deps' (as sibling of winbuild) extracted the two
downloaded libs there as
desktop\curl7.39
|_src
|_winbuild
|
|_deps
|_openssl-0.9.8zb-vc9-x86
| |_ lib
| |_ include
| |_ bin
|_zlib-1.2.7-vc9-x86
|_ lib
|_ include
|_ bin
4. I executed following command
C:\Users\arifs\Desktop\curl-7.39.0\winbuild>nmake /f Makefile.vc mode=dll
VC=9 W
ITH_SSL=dll WITH_ZLIB=dll ENABLE_WINSSL=yes
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
configuration name:
libcurl-vc9-x86-release-dll-ssl-dll-zlib-dll-ipv6-sspi-winss
l
Could Not Find C:\Users\arifs\Desktop\curl-7.39.0\winbuild\LIBCURL_OBJS.inc
Could Not Find C:\Users\arifs\Desktop\curl-7.39.0\winbuild\CURL_OBJS.inc
cl.exe /O2 /DNDEBUG /MD /I. /I ../lib /I../include /nologo /W3
/EHsc /DW
IN32 /FD /c /DBUILDING_LIBCURL /I"../../deps/include" /DUSE_SSLEAY
/I"../../deps
/include/openssl" /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /DUSE_WIN32_IDN
/DWANT_
IDN_PROTOTYPES /DUSE_IPV6 /DUSE_WINDOWS_SSPI /DUSE_SCHANNEL
/Fo"..\builds\libc
url-vc9-x86-release-dll-ssl-dll-zlib-dll-ipv6-sspi-winssl-obj-lib/file.obj"
..\
lib\file.c
file.c
c:\users\arifs\desktop\curl-7.39.0\lib\urldata.h(97) : fatal error C1083:
Cannot
open include file: 'rsa.h': No such file or directory
NMAKE : fatal error U1077: '"e:\Program Files (x86)\Microsoft Visual Studio
9.0\
VC\BIN\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"e:\Program Files (x86)\Microsoft Visual Studio
9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.
C:\Users\arifs\Desktop\curl-7.39.0\winbuild>
5) For trouble shooting I even placed "deps" on desktop , but even then it
did not work.
-Arif
-Arif
On Tue, Dec 9, 2014 at 2:44 AM, Guenter <lists_at_gknw.net> wrote:
> Hi Arif,
> On 08.12.2014 07:31, Arif Ali wrote:
>
>> Hello Guenter, I downloaded these binaries , but I also need the
>> libcurl.lib inorder to link it with my visual studio project. Are those
>> filea also posted somewhere?
>>
> yes, but unfortunately the devel packages are *not* build with WinSSL
> which is what you want in order to use the Windows cert store ...
> please tell a bit more what OS (32/64 bit) and what compiler you intend to
> use and I or someone else can probably build a devel package for ya ...
>
> just a note: my binary packages are build with the MinGW compiler, and if
> you want to use them then you should also use that compiler; if you instead
> want to use a MSVC compiler then you are more or less on your own and its
> best that you build it yourself since there are too many different versions
> out, and usually in order to have lesser trouble its recommended that
> everything is build with the same compiler and linked against same runtime
> libs ...
>
> Günter.
>
>
>
>
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-09