paulm12
11-10-2006 19:52:59
Sorry to make my first post a help request! When trying to compile any of the nxOgre tutorial's I am getting errors. For example when compiling tutorial 104 i get the following:
Thanks for any help offered...
------ Build started: Project: test, Configuration: Debug Win32 ------
Compiling...
104.cpp
Linking...
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class nxOgre::body * __thiscall nxOgre::scene::createBody(class std::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> >,class nxOgre::shape *,float,class Ogre::Vector3)" (__imp_?createBody@scene@nxOgre@@QAEPAVbody@2@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVshape@2@MVVector3@Ogre@@@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall nxOgre::convexShape::convexShape(class std::vector<class Ogre::Vector3,class std::allocator<class Ogre::Vector3> >,int,class nxOgre::material *,class Ogre::Vector3)" (__imp_??0convexShape@nxOgre@@QAE@V?$vector@VVector3@Ogre@@V?$allocator@VVector3@Ogre@@@std@@@std@@HPAVmaterial@1@VVector3@Ogre@@@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::material::setDynamicFrictionV(float)" (__imp_?setDynamicFrictionV@material@nxOgre@@QAEXM@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::material::setStaticFrictionV(float)" (__imp_?setStaticFrictionV@material@nxOgre@@QAEXM@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class nxOgre::material * __thiscall nxOgre::scene::createMaterial(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,float,float,float)" (__imp_?createMaterial@scene@nxOgre@@QAEPAVmaterial@2@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MMM@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::material::setDynamicFriction(float)" (__imp_?setDynamicFriction@material@nxOgre@@QAEXM@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::material::setStaticFriction(float)" (__imp_?setStaticFriction@material@nxOgre@@QAEXM@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::material::setBounce(float)" (__imp_?setBounce@material@nxOgre@@QAEXM@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::scene::hasFloor(bool)" (__imp_?hasFloor@scene@nxOgre@@QAEX_N@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::scene::hasGravity(class Ogre::Vector3)" (__imp_?hasGravity@scene@nxOgre@@QAEXVVector3@Ogre@@@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class nxOgre::scene * __thiscall nxOgre::world::createScene(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (__imp_?createScene@world@nxOgre@@QAEPAVscene@2@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall nxOgre::world::world(class Ogre::Root *,class Ogre::SceneManager *,bool)" (__imp_??0world@nxOgre@@QAE@PAVRoot@Ogre@@PAVSceneManager@3@_N@Z) referenced in function "public: virtual void __thiscall tutorial::createScene(void)" (?createScene@tutorial@@UAEXXZ)
104.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall nxOgre::world::frameStarted(struct Ogre::FrameEvent const &)" (?frameStarted@world@nxOgre@@UAE_NABUFrameEvent@Ogre@@@Z)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::world::debug(bool)" (__imp_?debug@world@nxOgre@@QAEX_N@Z) referenced in function "public: virtual void __thiscall tutorial::checkInput(void)" (?checkInput@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall nxOgre::body::addForce(class Ogre::Vector3,enum NxForceMode)" (__imp_?addForce@body@nxOgre@@QAEXVVector3@Ogre@@W4NxForceMode@@@Z) referenced in function "public: virtual void __thiscall tutorial::checkInput(void)" (?checkInput@tutorial@@UAEXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall nxOgre::world::~world(void)" (__imp_??1world@nxOgre@@UAE@XZ) referenced in function "public: virtual void * __thiscall nxOgre::world::`scalar deleting destructor'(unsigned int)" (??_Gworld@nxOgre@@UAEPAXI@Z)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall ControllerManager::ControllerManager(void)" (__imp_??0ControllerManager@@QAE@XZ) referenced in function "void __cdecl nxOgre::`dynamic initializer for 'mControlMgr''(void)" (??__EmControlMgr@nxOgre@@YAXXZ)
104.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall ControllerManager::~ControllerManager(void)" (__imp_??1ControllerManager@@QAE@XZ) referenced in function "void __cdecl nxOgre::`dynamic atexit destructor for 'mControlMgr''(void)" (??__FmControlMgr@nxOgre@@YAXXZ)
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
bin\Debug\test.exe : fatal error LNK1120: 19 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Paul\My Documents\Visual Studio 2005\Projects\test\obj\Debug\BuildLog.htm"
test - 20 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks for any help offered...