Hello,
I'm currentl trying to integrate OIS in a wizard generated ogre application (Win XP, VC8 express),
and I'm encountering a link problem very similar to the one razor had.
Compile works fine, but linking ends up with the following error output.
InputManager.obj : error LNK2019: unresolved external symbol "public: static void __cdecl
OIS::InputManager::destroyInputSystem(void)" (?destroyInputSystem@InputManager@OIS@@SAXXZ) referenced
in function "public: virtual __thiscall InputManager::~InputManager(void)" (??1InputManager@@UAE@XZ)
InputManager.obj : error LNK2019: unresolved external symbol "public: static class OIS::InputManager
* __cdecl OIS::InputManager::createInputSystem...
Linking to the DLL (modifying oisconfig.h) I end up with even more link errors :
unresolved external symbol "__declspec(dllimport)...
- const OIS::KeyListener::`vftable'
- public: virtual __thiscall OIS::MouseListener::~MouseListener(void)
- public: virtual __thiscall OIS::KeyListener::~KeyListener(void)
- const OIS::MouseListener::`vftable'
and so on... createinputsystem and destroyinputsystem missing as well.
I have tried to change the include/references order without any success.
Commenting createinputsytem and destroy inputsystem (compiled against what I guess is static lib)
permits to successfully generate the solution without any error.
I must confess, I don't really know what I should try now...any idea is definitely welcome
Thanks for your help.