opatut
21-04-2011 16:45:16
Hello everyone.
I wanted to check if any widget is kurrently selected for keyboard input (mainly Edits
) so I found
g++ output:
Of course the rest works, so it should not be a wrong setup (or is there something else I have to link except libMyGUIEngine.so and libMyGUI.OgrePlatform.a ??
Thanks!
I wanted to check if any widget is kurrently selected for keyboard input (mainly Edits

InputManager::getKeyFocusWidget()
to be a good idea. To get the InputManager instance I wanted to use InputManager::getInstance(); // or
InputManager::getInstancePtr();
but they are both "undefined references".g++ output:
CMakeFiles/server.dir/src/common/gamestate/GameState.cpp.o: In function `GameState::IsGUIFocused()':
/home/***/src/games/chars/src/common/gamestate/GameState.cpp:113: undefined reference to `MyGUI::InputManager::getInstance()'
Of course the rest works, so it should not be a wrong setup (or is there something else I have to link except libMyGUIEngine.so and libMyGUI.OgrePlatform.a ??
Thanks!