futnuh
01-03-2007 19:48:30
Trying to compile the cvs version of ogreode, I was getting the following linking problem.
OgreOdeDebugContact.cpp needs to be added to the source files in the OgreOde_Core project ...
------ Build started: Project: OgreOde_Core, Configuration: Release Win32 ------
...
Linking...
Creating library ..\..\lib\Release/OgreOde_Core.lib and object ..\..\lib\Release/OgreOde_Core.exp
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreOde::DebugContact::update(class OgreOde::Contact * const)" (?update@DebugContact@OgreOde@@QAEXQAVContact@2@@Z)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreOde::DebugContact::setEnabled(bool)" (?setEnabled@DebugContact@OgreOde@@QAEX_N@Z)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OgreOde::DebugContact::isEnabled(void)const " (?isEnabled@DebugContact@OgreOde@@QBE_NXZ)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreOde::DebugContact::~DebugContact(void)" (??1DebugContact@OgreOde@@QAE@XZ)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreOde::DebugContact::DebugContact(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class OgreOde::World *)" (??0DebugContact@OgreOde@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVWorld@1@@Z)
..\..\lib\Release/OgreOde_Core.dll : fatal error LNK1120: 5 unresolved externals
OgreOdeDebugContact.cpp needs to be added to the source files in the OgreOde_Core project ...