JoshPendergrass
27-11-2007 06:24:21
Trying to change from a container class I made to the NxOgre Container.
Using:
When I add the line:
I get these errors:
The error in the NxOgre.log file
I'm fairly certain it has something to do with the way my project is set up, but can't seem to find whats missing, any ideas?
Thanks in advance
Using:
NxOgre (NxOgre 0.9-38.Debug) Started, working with:
- PhysX => 2.7.2
- Ogre => 1.4.2 'Eihort'
- Platform => Windows Debug
When I add the line:
NxOgre::Container<NxOgre::NxString, mech *> mMechList;
I get these errors:
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Container<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class mech *>::~Container<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class mech *>(void)" (__imp_??1?$Container@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVmech@@@NxOgre@@QAE@XZ) referenced in function __unwindfunclet$??0game@@QAE@PAVmain_ogre@@PAVmain_sound@@@Z$0
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::Container<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class mech *>::Container<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class mech *>(void)" (__imp_??0?$Container@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVmech@@@NxOgre@@QAE@XZ) referenced in function "public: __thiscall game::game(class main_ogre *,class main_sound *)" (??0game@@QAE@PAVmain_ogre@@PAVmain_sound@@@Z)
1>Mecha Lord.exe : fatal error LNK1120: 2 unresolved externals
The error in the NxOgre.log file
NxOgre::Error::reportError#78T0 F0
PhysX Error (NXE_DB_WARNING) 'createActor: Dynamic triangle mesh instantiated!' in line 1108 of g:\scm\release\PhysX_2.7.2\novodex\SDKs\Physics\src\Actor.cpp
I'm fairly certain it has something to do with the way my project is set up, but can't seem to find whats missing, any ideas?
Thanks in advance