cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Combining Curllib - openSSL issues

From: Ranu Gontia <ranu_gontia_at_persistent.co.in>
Date: Mon, 23 Feb 2009 15:00:54 +0530

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Mikael Nilsson
Sent: Monday, February 23, 2009 1:58 PM
To: curl-library_at_cool.haxx.se
Subject: Combining Curllib - openSSL issues

Hi,

I also faced the same problem while building Libcurl with open SSL.

Steps which I followed are :-

1. Download the openssl and follow the instruction given in the link to
build openSSL
http://www.devside.net/guides/windows/openssl

2. In project properties add,
        a) C/C++ -> preprocessor -> preprocessor definations Add ->
USE_SSLEAY;USE_OPENSSL
        b) Linker -> Input -> Additional dependencies -> libeay32.lib
ssleay32.lib

3. By following step 1 you will create "C:\www\openssl" folder
        a) Add " C:\www\openssl\include" path in the include directories.
        b) Add"C:\www\openssl\lib" path in the library files path.
        c) Copy "libeay32.dll" and "ssleay32.dll" from " C:\www\openssl\bin"
and paste them in the path where your exe that is using Libcurl is kept.

May be this can help you.

Thanks,
Ranu
Received on 2009-02-23