Recompile all projects using multithreaded apartment (of sigle threaded if you would like) but you sannot combine them. All means SimGear, Plib, Metakit, FlightGear...
Richard Kis -----Original Message----- From: Christian Stock [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 9:53 AM To: [EMAIL PROTECTED] Subject: [Flightgear-devel] still not able to compile I just had a big compiling session (once again, VC6.0). I tried the default workspace and the one I've been sent yesterday from Jonathan. Everything compiles (SimGear, plib, etc...) until Flightgear tries to link. Here's what I get: MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in LIBCMTD.lib(strchr.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in LIBCMTD.lib(memmove.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strrchr already defined in LIBCMTD.lib(strrchr.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strpbrk already defined in LIBCMTD.lib(strpbrk.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strstr already defined in LIBCMTD.lib(strstr.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strcspn already defined in LIBCMTD.lib(strcspn.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgheap.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in LIBCMTD.lib(dbgheap.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgheap.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strdup already defined in LIBCMT.lib(strdup.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fclose already defined in LIBCMTD.lib(fclose.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fread already defined in LIBCMTD.lib(fread.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fwrite already defined in LIBCMTD.lib(fwrite.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fseek already defined in LIBCMTD.lib(fseek.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _ftell already defined in LIBCMTD.lib(ftell.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _time already defined in LIBCMTD.lib(time.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: __get_osfhandle already defined in LIBCMTD.lib(osfinfo.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: __fdopen already defined in LIBCMTD.lib(fdopen.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: __open already defined in LIBCMTD.lib(open.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in LIBCMTD.lib(fflush.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in LIBCMTD.lib(stricmp.obj) LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library Release/FlightGear.exe : fatal error LNK1169: one or more multiply defined symbols found This looks really silly to me. Why are LIBCMT and MSVCRT both default libs, when they conflict?!? I'm sure the mistake is somewhere else though... BTW, disabling the default libs won't help... Any help? Cheers, Christian _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel