So 'libogre-1.9-dev' just does not contain all the files necessary?
Either way, I now removed it and instead cloned the bitbucket (again) this time downgrading it to 1.9 using
I had to again update the 'SdkTrays.h' file because it did not properly link the Overlay folder. Doing so resulted in the following error when trying to set up the basic tutorial application:
Code: Select all
/usr/bin/ld: OgreApp-BaseApplication.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
//usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0: error adding symbols: DSO missing from command line
and none of what I found helped (
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=71037).
I went ahead and installed 1.10 again. Made sure I updated the basic tutorial files and had still to update 'SdkTrays.h' because it still does not properly link the Overlay folder. I came back to the error I had previously with 1.10:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -pthread -I/usr/local/include -I/usr/local/include/OGRE -I/usr/include/ois -g -O2 -MT OgreApp-BaseApplication.o -MD -MP -MF .deps/OgreApp-BaseApplication.Tpo -c -o OgreApp-BaseApplication.o `test -f 'BaseApplication.cpp' || echo './'`BaseApplication.cpp
BaseApplication.cpp: In member function ‘virtual bool BaseApplication::mouseMoved(const OIS::MouseEvent&)’:
BaseApplication.cpp:409:19: error: ‘class OgreBites::SdkTrayManager’ has no member named ‘injectMouseMove’
if (mTrayMgr->injectMouseMove(arg)) return true;
^
BaseApplication.cpp:410:17: error: ‘class OgreBites::SdkCameraMan’ has no member named ‘injectMouseMove’
mCameraMan->injectMouseMove(arg);
^
BaseApplication.cpp: In member function ‘virtual bool BaseApplication::mousePressed(const OIS::MouseEvent&, OIS::MouseButtonID)’:
BaseApplication.cpp:416:19: error: ‘class OgreBites::SdkTrayManager’ has no member named ‘injectMouseDown’
if (mTrayMgr->injectMouseDown(arg, id)) return true;
^
BaseApplication.cpp:417:17: error: ‘class OgreBites::SdkCameraMan’ has no member named ‘injectMouseDown’
mCameraMan->injectMouseDown(arg, id);
^
BaseApplication.cpp: In member function ‘virtual bool BaseApplication::mouseReleased(const OIS::MouseEvent&, OIS::MouseButtonID)’:
BaseApplication.cpp:423:19: error: ‘class OgreBites::SdkTrayManager’ has no member named ‘injectMouseUp’
if (mTrayMgr->injectMouseUp(arg, id)) return true;
^
BaseApplication.cpp:424:17: error: ‘class OgreBites::SdkCameraMan’ has no member named ‘injectMouseUp’
mCameraMan->injectMouseUp(arg, id);
^
Makefile:476: recipe for target 'OgreApp-BaseApplication.o' failed
I fixed this by going into 'BaseApplication.cpp' and changing
Code: Select all
409 if (mTrayMgr->injectMouseMove(arg)) return true;
410 mCameraMan->injectMouseMove(arg);
to
Code: Select all
409 if (mTrayMgr->injectPointerMove(arg)) return true;
410 mCameraMan->injectPointerMove(arg);
and also for the other cases 'Down' and 'Up'. This seems to have worked, however...
.. now I am at the same problem I had with 1.9:
Code: Select all
/usr/bin/ld: OgreApp-BaseApplication.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
//usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0: error adding symbols: DSO missing from command line
Most are saying I have to add '-lboost_system' in the Makefile but I don't know where I can add it since the Makefile is created automatically.
Any help?