I have some sort of Tool class for my in-game editor which requires access to the mouse. I'm using Ogre 1.4, so initially the FrameListener has a pointer to OIS::Mouse which is created on start-up. I tried passing this pointer to the Tool class constructor, and using it in the Tool class methods. However:
const OIS::MouseState &state = mMouse->getMouseState()
That line of code is causing a linker error. Any ideas? How do I acess the mouse from anywhere in my game?