RE: [Flightgear-devel] FlightGear not compiling for me
Hi Fred, That worked. FlightGear is now compiling and more importantly linking for me. Thanks again. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic Bouvier Sent: 19 November 2004 17:19 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me I prefer 'Multi-thread' but 'Multi-thread dll' can do it too. It is important if you want to enable the threaded scenery loader and weather fetcher. Release is way faster than Debug. ( 10x at least ) -Fred -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] FlightGear not compiling for me
hi all, i am using WinXP and MS Visual C++ .NET to compile the project. When i go to compile it i get: fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) I have all the prerequisites and they build. Any help would be greatful. S Greene -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] FlightGear not compiling for me
Quoting Stephen Greene: hi all, i am using WinXP and MS Visual C++ .NET to compile the project. When i go to compile it i get: fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) I have all the prerequisites and they build. Any help would be greatful. Do you link with glut32.lib and what is your version of glut. Mine is 3.7.6 -Fred ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] FlightGear not compiling for me
Stephen Greene writes: Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include these into the flightGear VS project. fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It appears that you have an older version of Glut try this one http://www.xmission.com/~nate/glut.html Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] FlightGear not compiling for me
That just mean that the version you got doesn't include those functions. Try to find another one. You didn't answered about the glut version. -Fred Quoting Stephen Greene: Hi Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include these into the flightGear VS project. I tried to compile glut myself but i couldn't get to work. I must add that FlightGear compiles with no errors, it is the linking that throws all the errors. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic Bouvier Sent: 19 November 2004 14:48 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] FlightGear not compiling for me Quoting Stephen Greene: hi all, i am using WinXP and MS Visual C++ .NET to compile the project. When i go to compile it i get: fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function void __cdecl fgOSOpenWindow(int,int,int,bool,bool,bool) (?fgOSOpenWindow@@[EMAIL PROTECTED]) I have all the prerequisites and they build. Any help would be greatful. Do you link with glut32.lib and what is your version of glut. Mine is 3.7.6 -Fred ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] FlightGear not compiling for me
Brillant. That worked. thanks For your help. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norman Vine Sent: 19 November 2004 15:13 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Stephen Greene writes: Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include these into the flightGear VS project. fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It appears that you have an older version of Glut try this one http://www.xmission.com/~nate/glut.html Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] FlightGear not compiling for me
hi all Now that the unresolved external symbol problem is solved - thanks again for that. I have another problem with linking (133 to be eaxct), that of already defined symbols A small snippet: libcpmtd.lib(xdebug.obj) : error LNK2005: void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const ,char *,int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::clear(int,bool) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: virtual __thiscall std::ios_base::~ios_base(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::_Addstd(void) ([EMAIL PROTECTED]@std@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: protected: void __thiscall std::ios_base::_Init(void) ([EMAIL PROTECTED]@std@@IAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(cerr.obj) : error LNK2005: public: int __thiscall std::ios_base::setf(int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::locale::locale(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: void __thiscall std::locale::facet::_Register(void) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::_Locinfo(char const *) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::~_Locinfo(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::_Lockit(int) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::~_Lockit(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __stricmp already defined in LIBCMTD.lib(stricmp.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __strdup already defined in LIBCMTD.lib(strdup.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __write already defined in LIBCMTD.lib(write.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __open already defined in LIBCMTD.lib(open.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __read already defined in LIBCMTD.lib(read.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __lseek already defined in LIBCMTD.lib(lseek.obj) Any ideas S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Greene Sent: 19 November 2004 15:18 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Brillant. That worked. thanks For your help. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norman Vine Sent: 19 November 2004 15:13 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Stephen Greene writes: Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include these into the flightGear VS project. fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It appears that you have an older version of Glut try this one http://www.xmission.com/~nate/glut.html Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version
RE: [Flightgear-devel] FlightGear not compiling for me
You mixed different 'Code Generation' options among your different libraries. You have to choose between 'Single Thread', 'Multi-thread' or 'Multi-thread DLL' and between 'Debug' and 'Release' (not Debug), and stay consistent. -Fred Quoting Stephen Greene: hi all Now that the unresolved external symbol problem is solved - thanks again for that. I have another problem with linking (133 to be eaxct), that of already defined symbols A small snippet: libcpmtd.lib(xdebug.obj) : error LNK2005: void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const ,char *,int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::clear(int,bool) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: virtual __thiscall std::ios_base::~ios_base(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::_Addstd(void) ([EMAIL PROTECTED]@std@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: protected: void __thiscall std::ios_base::_Init(void) ([EMAIL PROTECTED]@std@@IAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(cerr.obj) : error LNK2005: public: int __thiscall std::ios_base::setf(int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::locale::locale(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: void __thiscall std::locale::facet::_Register(void) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::_Locinfo(char const *) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::~_Locinfo(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::_Lockit(int) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::~_Lockit(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __stricmp already defined in LIBCMTD.lib(stricmp.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __strdup already defined in LIBCMTD.lib(strdup.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __write already defined in LIBCMTD.lib(write.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __open already defined in LIBCMTD.lib(open.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __read already defined in LIBCMTD.lib(read.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __lseek already defined in LIBCMTD.lib(lseek.obj) Any ideas S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Greene Sent: 19 November 2004 15:18 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Brillant. That worked. thanks For your help. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norman Vine Sent: 19 November 2004 15:13 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Stephen Greene writes: Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include these into the flightGear VS project. fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It appears that you have an older version of Glut try this one http://www.xmission.com/~nate/glut.html Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004
RE: [Flightgear-devel] FlightGear not compiling for me
Hi Fred, For FlightGear which do i use: 'Single Thread', 'Multi-thread' or 'Multi-thread DLL'. or does it matter aslong as the libs all use the same? S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic Bouvier Sent: 19 November 2004 16:50 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me You mixed different 'Code Generation' options among your different libraries. You have to choose between 'Single Thread', 'Multi-thread' or 'Multi-thread DLL' and between 'Debug' and 'Release' (not Debug), and stay consistent. -Fred Quoting Stephen Greene: hi all Now that the unresolved external symbol problem is solved - thanks again for that. I have another problem with linking (133 to be eaxct), that of already defined symbols A small snippet: libcpmtd.lib(xdebug.obj) : error LNK2005: void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const ,char *,int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::clear(int,bool) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: virtual __thiscall std::ios_base::~ios_base(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::_Addstd(void) ([EMAIL PROTECTED]@std@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: protected: void __thiscall std::ios_base::_Init(void) ([EMAIL PROTECTED]@std@@IAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(cerr.obj) : error LNK2005: public: int __thiscall std::ios_base::setf(int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::locale::locale(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: void __thiscall std::locale::facet::_Register(void) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::_Locinfo(char const *) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::~_Locinfo(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::_Lockit(int) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::~_Lockit(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __stricmp already defined in LIBCMTD.lib(stricmp.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __strdup already defined in LIBCMTD.lib(strdup.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __write already defined in LIBCMTD.lib(write.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __open already defined in LIBCMTD.lib(open.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __read already defined in LIBCMTD.lib(read.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __lseek already defined in LIBCMTD.lib(lseek.obj) Any ideas S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Greene Sent: 19 November 2004 15:18 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Brillant. That worked. thanks For your help. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norman Vine Sent: 19 November 2004 15:13 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Stephen Greene writes: Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include these into the flightGear VS project. fg_os.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It appears that you have an older version of Glut try this one http://www.xmission.com/~nate/glut.html Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http
RE: [Flightgear-devel] FlightGear not compiling for me
I prefer 'Multi-thread' but 'Multi-thread dll' can do it too. It is important if you want to enable the threaded scenery loader and weather fetcher. Release is way faster than Debug. ( 10x at least ) -Fred Quoting Stephen Greene [EMAIL PROTECTED]: Hi Fred, For FlightGear which do i use: 'Single Thread', 'Multi-thread' or 'Multi-thread DLL'. or does it matter aslong as the libs all use the same? S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic Bouvier Sent: 19 November 2004 16:50 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me You mixed different 'Code Generation' options among your different libraries. You have to choose between 'Single Thread', 'Multi-thread' or 'Multi-thread DLL' and between 'Debug' and 'Release' (not Debug), and stay consistent. -Fred Quoting Stephen Greene: hi all Now that the unresolved external symbol problem is solved - thanks again for that. I have another problem with linking (133 to be eaxct), that of already defined symbols A small snippet: libcpmtd.lib(xdebug.obj) : error LNK2005: void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const ,char *,int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::clear(int,bool) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: virtual __thiscall std::ios_base::~ios_base(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: public: void __thiscall std::ios_base::_Addstd(void) ([EMAIL PROTECTED]@std@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(ios.obj) : error LNK2005: protected: void __thiscall std::ios_base::_Init(void) ([EMAIL PROTECTED]@std@@IAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(cerr.obj) : error LNK2005: public: int __thiscall std::ios_base::setf(int) ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::locale::locale(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: void __thiscall std::locale::facet::_Register(void) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@QAEXXZ) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::_Locinfo(char const *) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(locale0.obj) : error LNK2005: public: __thiscall std::_Locinfo::~_Locinfo(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::_Lockit(int) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already defined in msvcprtd.lib(MSVCP71D.dll) libcpmtd.lib(xlock.obj) : error LNK2005: public: __thiscall std::_Lockit::~_Lockit(void) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already defined in msvcprtd.lib(MSVCP71D.dll) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __stricmp already defined in LIBCMTD.lib(stricmp.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __strdup already defined in LIBCMTD.lib(strdup.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __write already defined in LIBCMTD.lib(write.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __open already defined in LIBCMTD.lib(open.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __read already defined in LIBCMTD.lib(read.obj) MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __lseek already defined in LIBCMTD.lib(lseek.obj) Any ideas S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Greene Sent: 19 November 2004 15:18 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Brillant. That worked. thanks For your help. S Greene -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norman Vine Sent: 19 November 2004 15:13 To: FlightGear developers discussions Subject: RE: [Flightgear-devel] FlightGear not compiling for me Stephen Greene writes: Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I include