Eldarion
10-07-2007 13:09:34
Hi
i'm just trying to compile OgreODE with shoggoth.
i just took a look to this thread:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4517
and added this line to all classes which has this problem.
but than i get a lot of linker errors:
i know that are german errors, but i think you can even understand it.
what could i do? if i set the NODEFAULTLIB option to yes, i get about 650 linker errors
and before you ask, i really need shoggoth (want to use RBGui)
Eldarion
i'm just trying to compile OgreODE with shoggoth.
i just took a look to this thread:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4517
and added this line to all classes which has this problem.
but than i get a lot of linker errors:
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) ist bereits in ode.lib(convex.obj) definiert.
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) ist bereits in ode.lib(convex.obj) definiert.
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) ist bereits in ode.lib(convex.obj) definiert.
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::size(void)const " (?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ) ist bereits in ode.lib(convex.obj) definiert.
1>LIBCMT.lib(crt0dat.obj) : error LNK2005: __amsg_exit ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(crt0dat.obj) : error LNK2005: __initterm_e ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(fflush.obj) : error LNK2005: _fflush ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(realloc.obj) : error LNK2005: _realloc ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a ist bereits in MSVCRTD.lib(cinitexe.obj) definiert.
1>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z ist bereits in MSVCRTD.lib(cinitexe.obj) definiert.
1>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a ist bereits in MSVCRTD.lib(cinitexe.obj) definiert.
1>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z ist bereits in MSVCRTD.lib(cinitexe.obj) definiert.
1>LIBCMT.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(winxfltr.obj) : error LNK2005: ___CppXcptFilter ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(mlock.obj) : error LNK2005: __unlock ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1>LIBCMT.lib(mlock.obj) : error LNK2005: __lock ist bereits in MSVCRTD.lib(MSVCR80D.dll) definiert.
1> Bibliothek "..\..\lib\Debug/OgreOde_Core_d.lib" und Objekt "..\..\lib\Debug/OgreOde_Core_d.exp" werden erstellt.
1>LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>LINK : warning LNK4098: Standardbibliothek "LIBCMT" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>ode.lib(convex.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)" in Funktion ""public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)".
1>ode.lib(convex.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)" in Funktion ""protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAE_NI_N@Z)".
1>LIBCMT.lib(crt0.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_main" in Funktion "___tmainCRTStartup". i know that are german errors, but i think you can even understand it.
what could i do? if i set the NODEFAULTLIB option to yes, i get about 650 linker errors
and before you ask, i really need shoggoth (want to use RBGui)
Eldarion