garmanger
08-04-2011 10:05:15
Hey can anyone help me out? I just installed physX and NxOgre for my project on VS 2008 and i have the nxogre solution building properly but when i include nxOgre.h to my project it fails and has the following linker errors
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Path::Path(char const *)" (__imp_??0Path@NxOgre@@QAE@PBD@Z) referenced in function "void __cdecl NxOgre::`dynamic initializer for 'MEMORY_PATH''(void)" (??__EMEMORY_PATH@NxOgre@@YAXXZ) CarSim01.obj CarSim01
Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Vec3::Vec3(float const &,float const &,float const &)" (__imp_??0Vec3@NxOgre@@QAE@ABM00@Z) referenced in function "void __cdecl NxOgre::Constants::`dynamic initializer for 'MEAN_EARTH_GRAVITY''(void)" (??__EMEAN_EARTH_GRAVITY@Constants@NxOgre@@YAXXZ) CarSim01.obj CarSim01
Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Path::~Path(void)" (__imp_??1Path@NxOgre@@QAE@XZ) referenced in function "void __cdecl NxOgre::`dynamic atexit destructor for 'MEMORY_PATH''(void)" (??__FMEMORY_PATH@NxOgre@@YAXXZ) CarSim01.obj CarSim01
I havent a clue whats up. I followed the tutorials, have the recommended directories, the environmental variables set, the right additional directory and includes in the project and the dlls in my app debug folder. However with regards to the NxOgre.lib, am i right in putting that into the Additional dependencies in the Custom Build Step section? well any help or suggestion would be appreciated
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Path::Path(char const *)" (__imp_??0Path@NxOgre@@QAE@PBD@Z) referenced in function "void __cdecl NxOgre::`dynamic initializer for 'MEMORY_PATH''(void)" (??__EMEMORY_PATH@NxOgre@@YAXXZ) CarSim01.obj CarSim01
Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Vec3::Vec3(float const &,float const &,float const &)" (__imp_??0Vec3@NxOgre@@QAE@ABM00@Z) referenced in function "void __cdecl NxOgre::Constants::`dynamic initializer for 'MEAN_EARTH_GRAVITY''(void)" (??__EMEAN_EARTH_GRAVITY@Constants@NxOgre@@YAXXZ) CarSim01.obj CarSim01
Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Path::~Path(void)" (__imp_??1Path@NxOgre@@QAE@XZ) referenced in function "void __cdecl NxOgre::`dynamic atexit destructor for 'MEMORY_PATH''(void)" (??__FMEMORY_PATH@NxOgre@@YAXXZ) CarSim01.obj CarSim01
I havent a clue whats up. I followed the tutorials, have the recommended directories, the environmental variables set, the right additional directory and includes in the project and the dlls in my app debug folder. However with regards to the NxOgre.lib, am i right in putting that into the Additional dependencies in the Custom Build Step section? well any help or suggestion would be appreciated