PiCroft
08-05-2008 00:34:38
Been looking through the wiki as well as the forums, but I cannot make heads or tails of the information.
Here's the situation:
Using Visual Studio 2005
Using Ogre version Eihort 1.4.7
I've downloaded the latest versions of ODE and OgreODE from CVS. I've also downloaded and installed the prebuilt OgreODE SDK (October 2007 version from here) for completeness sake.
I've made sure my project is able to see the .h files from both ODE and OgreODE. When I try to compile my project I get the following linker errors:
I've tried using the .h files from both the CVS version and the SDK version. The SDK files date back to 2005 while the CVS are from May 01 or something, so I'm pretty sure the files I want are from the CVS version.
Where am I going wrong?
Here's the situation:
Using Visual Studio 2005
Using Ogre version Eihort 1.4.7
I've downloaded the latest versions of ODE and OgreODE from CVS. I've also downloaded and installed the prebuilt OgreODE SDK (October 2007 version from here) for completeness sake.
I've made sure my project is able to see the .h files from both ODE and OgreODE. When I try to compile my project I get the following linker errors:
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OgreOde::World::setAutoSleepAverageSamplesCount(unsigned int)" (__imp_?setAutoSleepAverageSamplesCount@World@OgreOde@@QAEXI@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OgreOde::World::setAutoSleep(bool)" (__imp_?setAutoSleep@World@OgreOde@@QAEX_N@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OgreOde::World::setContactCorrectionVelocity(float)" (__imp_?setContactCorrectionVelocity@World@OgreOde@@QAEXM@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OgreOde::World::setCFM(float)" (__imp_?setCFM@World@OgreOde@@QAEXM@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OgreOde::World::setERP(float)" (__imp_?setERP@World@OgreOde@@QAEXM@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall OgreOde::World::setGravity(class Ogre::Vector3 const &)" (__imp_?setGravity@World@OgreOde@@QAEXABVVector3@Ogre@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class OgreOde::Space * __thiscall OgreOde::World::getDefaultSpace(void)" (__imp_?getDefaultSpace@World@OgreOde@@QAEPAVSpace@2@XZ)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall OgreOde::World::World(class Ogre::SceneManager *)" (__imp_??0World@OgreOde@@QAE@PAVSceneManager@Ogre@@@Z)
1>bin\Release\GameProjBase.exe : fatal error LNK1120: 8 unresolved externals
I've tried using the .h files from both the CVS version and the SDK version. The SDK files date back to 2005 while the CVS are from May 01 or something, so I'm pretty sure the files I want are from the CVS version.
Where am I going wrong?