cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Build Curl Library with Visual Studio 2005 *short version*;)

From: <Surfman19_at_gmx.at>
Date: Sat, 12 Aug 2006 21:47:43 +0200

hi,
i downloaded curl-7.15.6-20060812!

i want to build libcurl with SSL with visual studio 2005:

1.)
changes in lib/config-win32.h
#define HAVE_SSL_H 1 <--- because i want to use ssl

2.)
Project Settings:

Preprocessor Definitions:
WIN32
_DEBUG
_WINDOWS
_USRDLL
BUILDING_LIBCURL
USE_SSLEAY <--- only needed for ssl
USE_OPENSSL <--- only needed for ssl
DCURL_STATICLIB

Additional Dependencies: "ws2_32.lib winmm.lib libeay32.lib ssleay32.lib

Runtime library: Multi-thread DLL

3.)
the output:

Creating library...
winmm.lib(WINMM.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in ws2_32.lib(WS2_32.dll); second definition ignored
winmm.lib(WINMM.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
libeay32.lib(LIBEAY32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in ws2_32.lib(WS2_32.dll); second definition ignored
libeay32.lib(LIBEAY32.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
ssleay32.lib(SSLEAY32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in ws2_32.lib(WS2_32.dll); second definition ignored
ssleay32.lib(SSLEAY32.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\curl-7.15.6-20060812\lib\Debug\BuildLog.htm"
curllib - 0 error(s), 6 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

somthing is not working, because the size of my curllib is just about 2,18MB! last time it was about ~5MB! last time i didnt get this crazy warnings...

i used the current lib and now the demo sample wants to have a SSLEAY32.dll!! but i added to the Preprocessor in the test project: CURL_STATICLIB

any idea?

cu

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Received on 2006-08-12