abhinandan
16-09-2006 13:37:14
Hi, I am trying to compile ogreode source(version 0.7) I extracted ogreode next to ogrenew(wich has compiled ogre source) I am using MSVS.net2003
when I tried to open solution in vc7.1 I got a warning saying that project cannot be opened but I could open all projects except tinyxml
and when I tried building the solution I got following linker errors
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in ode.lib(convex.obj)
OgreOde_Core_Source error LNK2005: "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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source error LNK2005: "public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::max_size(void)const " (?max_size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ) already defined in ode.lib(convex.obj)
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
OgreOde_Prefab_Source fatal error LNK1104: cannot open file 'tinyxmld.lib'
OgreOde_Core_Source fatal error LNK1169: one or more multiply defined symbols found
OgreOde_Core_Source fatal error LNK1181: cannot open input file 'ode.lib'
OgreOde_Prefab_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
Demo_GranTurismOgre_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
Demo_Landscape_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
Demo_SimpleScenes_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
OgreOde_Core_Source warning LNK4006: "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) already defined in ode.lib(convex.obj); second definition ignored
OgreOde_Core_Source warning LNK4006: "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) already defined in ode.lib(convex.obj); second definition ignored
I have put ODE 0.7 in ode folder in ogreode
can you tell me if any setting to be done before copiling project
when I tried to open solution in vc7.1 I got a warning saying that project cannot be opened but I could open all projects except tinyxml
and when I tried building the solution I got following linker errors
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in ode.lib(convex.obj)
OgreOde_Core_Source error LNK2005: "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) already defined in ode.lib(convex.obj)
OgreOde_Core_Source error LNK2005: "public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::max_size(void)const " (?max_size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ) already defined in ode.lib(convex.obj)
OgreOde_Core_Source 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) already defined in ode.lib(convex.obj)
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
ode fatal error C1033: cannot open program database 'e:\work\ogre\ogreode\ode\build\vs2003\obj\ode\releaselib\vc70.idb'
OgreOde_Prefab_Source fatal error LNK1104: cannot open file 'tinyxmld.lib'
OgreOde_Core_Source fatal error LNK1169: one or more multiply defined symbols found
OgreOde_Core_Source fatal error LNK1181: cannot open input file 'ode.lib'
OgreOde_Prefab_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
Demo_GranTurismOgre_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
Demo_Landscape_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
Demo_SimpleScenes_Source fatal error LNK1181: cannot open input file 'OgreOde_Core.lib'
OgreOde_Core_Source warning LNK4006: "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) already defined in ode.lib(convex.obj); second definition ignored
OgreOde_Core_Source warning LNK4006: "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) already defined in ode.lib(convex.obj); second definition ignored
I have put ODE 0.7 in ode folder in ogreode
can you tell me if any setting to be done before copiling project