Hi Andrew;
7F00,0000,0000> This sounds somewhat familiar (although without knowing the exact errors I
> can't be sure that this is your problem);
> ...
Following the messages link.exe shows:
(translation: "xxx already defined in xxx.lib..." ;)
LIBCMTD.lib(tolower.obj) : error LNK2005: _tolower bereits in
msvcrtd.lib(MSVCRTD.dll) definiert
LIBCMTD.lib(dosmap.obj) : error LNK2005: __errno bereits in
msvcrtd.lib(MSVCRTD.dll) definiert
LIBCMTD.lib(crt0dat.obj) : error LNK2005: _exit bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
LIBCMTD.lib(crt0dat.obj) : error LNK2005: __exit bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _malloc bereits in
msvcrtd.lib(MSVCRTD.dll) definiert
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _realloc bereits in
msvcrtd.lib(MSVCRTD.dll) definiert
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
LIBCMTD.lib(strcat.obj) : error LNK2005: _strcpy bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xc_z bereits in msvcrtd.lib(cinitexe.obj)
definiert
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xc_a bereits in msvcrtd.lib(cinitexe.obj)
definiert
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xi_z bereits in msvcrtd.lib(cinitexe.obj)
definiert
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xi_a bereits in msvcrtd.lib(cinitexe.obj)
definiert
LIBCMTD.lib(strftime.obj) : error LNK2005: _strftime bereits in
msvcrtd.lib(MSVCRTD.dll) definiert
LIBCMTD.lib(atox.obj) : error LNK2005: _atoi bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
LIBCMTD.lib(winxfltr.obj) : error LNK2005: __XcptFilter bereits in
msvcrtd.lib(MSVCRTD.dll) definiert
LIBCMTD.lib(getenv.obj) : error LNK2005: _getenv bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
LIBCMTD.lib(fflush.obj) : error LNK2005: _fflush bereits in msvcrtd.lib(MSVCRTD.dll)
definiert
msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __setmbcp bereits in
LIBCMTD.lib(mbctype.obj) definiert
(translation: "xxx.lib in conflict with other libs; use /NODEFAULT:libname"...)
LINK : warning LNK4098: Standardbibliothek "msvcrtd.lib" steht in Konflikt mit anderen
Bibliotheken; /NODEFAULT:Bibliothek verwenden
LINK : warning LNK4098: Standardbibliothek "LIBCMTD" steht in Konflikt mit anderen
Bibliotheken; /NODEFAULT:Bibliothek verwenden
(translation: "unresolved external symbol /unresolved external link"...)
LIBCMTD.lib(crt0.obj) : error LNK2001: Nichtaufgeloestes externes Symbol _main
Debug/meadow.exe : fatal error LNK1120: 1 unaufgeloeste externe Verweise
----------------------------------------------------------------------------------------------------------------------
If I exclude MSVCRTD (/MSVCRT) link.exe throw only following warnings:
(translation: "local defined symbol xxx imported"...)
LINK : warning LNK4049: Lokal definiertes Symbol "_atoi" importiert
LINK : warning LNK4049: Lokal definiertes Symbol "__itoa" importiert
LINK : warning LNK4049: Lokal definiertes Symbol "_memmove" importiert
LINK : warning LNK4049: Lokal definiertes Symbol "_realloc" importiert
LINK : warning LNK4049: Lokal definiertes Symbol "_strstr" importiert
LINK : warning LNK4049: Lokal definiertes Symbol "__setmbcp" importiert7F00,0000,0000
>...
> What's important here is that libcurl and the project you're linking with
> are compiled with the same options. You can either change your
> project settings or hack around in the curl makefile so that it uses the
> same settings as you do. (Distributing a DLL that uses non-default
> settings is probably a really bad idea, btw :)
Both, libcurl and my app, are compiled with same options.
Unfortunately the app is runnig fine, but I can't make use of several math.h functions
(since the runtime lib is excluded)...
Hmmm......any hints?
Regards
Ron