[AD] One problem fixed, new(old?) problem encountered

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


staticclear-2.diff fixed my problem.


But I had to change to

[use run-time library: multithreaded dll]

when using

ALLEGRO_STATICLINK .


As mentioned in the [AL] list by another user:

[use run-time library: multithreaded]

Linking...
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in
LIBCMT.lib(free.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in
LIBCMT.lib(realloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in
LIBCMT.lib(malloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in
LIBCMT.lib(crt0dat.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __errno already defined in
LIBCMT.lib(dosmap.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in
LIBCMT.lib(fflush.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fopen already defined in
LIBCMT.lib(fopen.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _getenv already defined in
LIBCMT.lib(getenv.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in
LIBCMT.lib(sprintf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fclose already defined in
LIBCMT.lib(fclose.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fwrite already defined in
LIBCMT.lib(fwrite.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in
LIBCMT.lib(memmove.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _rand already defined in
LIBCMT.lib(rand.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _calloc already defined in
LIBCMT.lib(calloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in
LIBCMT.lib(strncpy.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _atoi already defined in
LIBCMT.lib(atox.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __open already defined in
LIBCMT.lib(open.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __close already defined in
LIBCMT.lib(close.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __lseek already defined in
LIBCMT.lib(lseek.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __read already defined in
LIBCMT.lib(read.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __write already defined in
LIBCMT.lib(write.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strdup already defined in
LIBCMT.lib(strdup.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in
LIBCMT.lib(stricmp.obj)
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
libs; use /NODEFAULTLIB:library
blahblah.exe : fatal error LNK1169: one or more multiply defined symbols
found
Error executing link.exe.

blahblah.exe - 24 error(s), 1 warning(s)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/