cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compilation in windows

From: Peter <one2001boy_at_yahoo.com>
Date: Sun, 24 Jul 2011 23:17:03 -0700 (PDT)

Hi Gun,

I changed to use openssl-0.9.8r instead of openssl-0.9.8.q, changed vc6 to vc8 in Makefile, "nmake vc-ssl" generates the same error message.

thanks.

Peter

----- Original Message -----
From: Peter <one2001boy_at_yahoo.com>
To: Guenter <lists_at_gknw.net>; libcurl development <curl-library_at_cool.haxx.se>
Cc:
Sent: Sunday, July 24, 2011 7:09 PM
Subject: Re: compilation in windows

Hi Gun,

>1. why do you take an old devel package of gcc (mingw build) if you can 

>get the recent version (my build) from the download page??

Your package is for mingw. I use visual studio.

>2. why dont you build it yourself from source?

>Download the source, read INSTALL in docs folder, and build your own 
>version if you want to seriously develop with MSVC, and to avoid running 
>into trouble sooner or later when you use mingw binaries from MSVC.

I set up OPENSSL_PATH to G:\distribution\openssl-0.9.8q,
then run  nmake vc-ssl. ( I use visual studio 2005).

================================
        cl.exe /O2 /DNDEBUG /MD /DUSE_SSLEAY /I "G:\distribution\openssl-0.9.8q/
inc32" /I "G:\distribution\openssl-0.9.8q/inc32/openssl" /DCURL_STATICLIB /I. /I
../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURR
ENT_VCLIBS_VERSION=1 /Fo"release-ssl\asyn-thread.obj"  .\asyn-thread.c

g:\distribution\src0721\curl-7.21.7\lib\urldata.h(87) : fatal error C1083: Cannotopen include file: 'rsa.h': No such file or directory

====================
It looks strange to me that there is no such a directory:G:\distribution\openssl-0.9.8q/inc32

G:\distribution\openssl-0.9.8q/include is there, but 
G:\distribution\openssl-0.9.8q/include/openssl is an empty directory.
rsa.h can be found in G:\distribution\openssl-0.9.8q/crypto/rsa

Thanks.

Peter

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-25