From: Frank O. Sem-J. <fra...@if...> - 2006-04-01 19:47:40
|
Frederic Bouvier wrote: > > > Hi Vivian, > > try with this version of glut.h : > ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/glut.h.zip > > BTW: doo you download the Platform SDK ? It is mandatory. > > -Fred > > > In my case everything compiles ok (figured out the misnamed config.h), but when the time comes to linking the following happens: Linking... MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fwrite already defined in LIBCMTD.lib(fwrite.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _ferror already defined in LIBCMTD.lib(feoferr.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fread already defined in LIBCMTD.lib(fread.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fclose already defined in LIBCMTD.lib(fclose.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgheap.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: __vsnprintf already defined in LIBCMTD.lib(vsnprint.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fflush already defined in LIBCMTD.lib(fflush.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fseek already defined in LIBCMTD.lib(fseek.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fputc already defined in LIBCMTD.lib(fputc.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgheap.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _strerror already defined in LIBCMTD.lib(strerror.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _ftell already defined in LIBCMTD.lib(ftell.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fprintf already defined in LIBCMTD.lib(fprintf.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fopen already defined in LIBCMTD.lib(fopen.obj) MSVCRT.lib(MSVCR80.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj) MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj) MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj) LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library Debug\FlightGear.exe : fatal error LNK1169: one or more multiply defined symbols found Seems like some sort of lib/dll conflict. I haven't downloaded any platform SDK, but it seems strange that it would solve this. -- Frank Olaf Sem-Jacobsen |