Hello Yang,
i followed your advice and downloaded the latest stable version 7.9.17 of 4th of November 2009.
Before i installed the PSDK FEB 2003 to use with MSVC6, SP5.
When comiling without having the PSDK registered before, your defines nicely stop the building process with the intended error indicated.
So after registering the correct pathes the 4 libcurl libraries get nicely generated.
Unfortunately these do not link with my project, although i have incuded the CURL_STATICLIB Flag when trying to link the static lib, as adviced in the FAQ.
Linking...
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_global_cleanup
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_version_info
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_global_init
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_easy_getinfo
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_easy_perform
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_easy_setopt
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_easy_init
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_formadd
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_formfree
MisterXCurllibConnector.obj : error LNK2001: unresolved external symbol __imp__curl_easy_cleanup
Debug/MisterX.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
here are my settings:
Project Options:
/nologo /MDd /W3 /Gm /GX /ZI /Od /I "C:\0_Arbeiten\Anwendung\MisterX\Sourcen\Header" /I "c:\0_Arbeiten\Bausteine\XmlParser\FranksParser" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "CURL_STATICLIB" /FR"Debug/" /Fp"Debug/MisterX.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
linker options:
libcurld.lib ctl3d32.lib comctl32.lib Ximage.lib wsock32.lib MSVCRT.lib Rpcrt4.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/MisterX.pdb" /debug /machine:I386 /nodefaultlib /out:"Debug/MisterX.exe" /pdbtype:sept /libpath:"../../Bausteine/curl-7.19.7\lib\LIB-Debug"
The DLL-Version will link, only there isn't any change in the former problems occuring, meaning the release-version crashes sooner or later. Exactly as it did before installing the PSDK.
> That is an indication that you are still trying to build/use a Win32
> libcurl 7.15.1. Given all the problems you seem to have, I have no
> option but to tell you again to get a CVS snapshot built later than
> October-22-2009 and try again.
>
> 1) Download http://curl.haxx.se/snapshots/curl-7.19.7-20091030.zip and
> extract it to a new folder.
> 2) Edit curl-7.19.7-20091030\lib\config-win32.h go to line number 7
> and replace empty line #7 with the following text:
> #define ALLOW_MSVC6_WITHOUT_PSDK
> 3) Save modified curl-7.19.7-20091030\lib\config-win32.h
> 4) Open curl-7.19.7-20091030\vc6curl.dsw with MSVC6
> 5) From MSVC6 top menu select Build/BatchBuild and on the opening
> dialog box click on 'Build'
>
> This will generate for you four libcurl libraries and four curl
> executables.
>
> It is that easy to get started even without the PSDK installed.
This is where i have ended up when i first downloaded and compiled about a year ago.
> Be nice and and report back. That might get you more help on the future.
Hope there is something i am doing wrong and you can help.
Peter
> --
> -=[Yang]=-
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-25