robindegen
15-04-2009 20:12:35
Hey,
I'm trying to implement nxogre into my game. All the initialisation with the scene etc. compiled just fine. However now then i'm actually trying to load my shapes i'm running into problems. I have tried searching but i found nothing usefull. I have the simple line of code:
However this gives linker errors in my visual studio 2008:
looks like it cant find the constructor and destructor of ArchiveResourceIdentifier. I tried linking nxogre both static and not static, and the problem stayed.
I'm trying to implement nxogre into my game. All the initialisation with the scene etc. compiled just fine. However now then i'm actually trying to load my shapes i'm running into problems. I have tried searching but i found nothing usefull. I have the simple line of code:
NxOgre::ResourcePtr r = NxOgre::ResourceSystem::getSingleton()->open("data/levels/testmap1conv.nxs");
However this gives linker errors in my visual studio 2008:
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::ArchiveResourceIdentifier::~ArchiveResourceIdentifier(void)" (__imp_??1ArchiveResourceIdentifier@NxOgre@@QAE@XZ) referenced in function "private: void __thiscall Engine::initPhysics(void)" (?initPhysics@Engine@@AAEXXZ) engine.obj AeonEngine
Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::ArchiveResourceIdentifier::ArchiveResourceIdentifier(char const *)" (__imp_??0ArchiveResourceIdentifier@NxOgre@@QAE@PBD@Z) referenced in function "private: void __thiscall Engine::initPhysics(void)" (?initPhysics@Engine@@AAEXXZ) engine.obj AeonEngine
Error 3 fatal error LNK1120: 2 unresolved externals ..\bin\haxinids_d.exe AeonEngine
looks like it cant find the constructor and destructor of ArchiveResourceIdentifier. I tried linking nxogre both static and not static, and the problem stayed.