curl-library
Re: Not able to build curl on Windows using VS2008.
Date: Tue, 09 Dec 2014 10:07:03 +0100
Hi Arif,
On 09.12.2014 06:19, Arif Ali wrote:
> 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
I'm not familar with the MSVC stuff, but I think you have to run a batch
file which creates these *.inc files before you can nmake ...
> 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
here you see that you use an include path "../../deps/include/openssl"
which of course is wrong; either fix the directory structure, or fix the
makefile ...
> 5) For trouble shooting I even placed "deps" on desktop , but even then
> it did not work.
sorry, no offend to ya, but you really need to become familar with both
the OS you use and the toolchain (aka VS2008) you use; developing is not
just a few mouse clicks as those fancy GUI toolchains might lead to
believe; you must become familar with the error messages you get back,
understand them, and then you're also able to easily fix them ;-)
Greetz, Gün.
BTW. zlib is already since April 2013 at 1.2.8 and you should therefore
consider to build that self too ;-)
http://www.zlib.net/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-09