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@@[EMAIL PROTECTED]@@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@@[EMAIL PROTECTED]@@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



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to