I'm a new (hopefully future) user of Ogre! I plan eventually to use it inside a Qt framework, but for now I focus on running Ogre.
It's been quite a week now I've been trying to setup and run an Ogre project starting from CMake up to Xcode, without success.
After having modified the CMakeLists available at the address:
http://www.ogre3d.org/tikiwiki/tiki-ind ... With+CMake
I managed to obtain a compilable project based on the tutorial.
Now I'm stuck when running the code. At some point, the Ogre libraries are loaded and I obtain:
The fact is that in my CMakeLists.txt, no path is supposed to point out such location. Furthermore, it looks like a "/" is missing between "OGRE" and "RenderSystem_GL".Loading library /usr/local/lib/OGRERenderSystem_GL
An exception has occured: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library /usr/local/lib/OGRERenderSystem_GL. System Error: dlopen(/usr/local/lib/OGRERenderSystem_GL.dylib, 9): image not found in DynLib::load at /Users/davidrogers/Documents/Ogre/ogre-v1-8/OgreMain/src/OgreDynLib.cpp (line 91)
So my questions are:
- are the path pointing to libraries /usr/local/lib/OGRE hard-coded ? (by the way why is there such path including davidrogers ??)
- if so, is there anyway to make this path determined by the CMake script instead ?
Thanks a lot for any answer,
repio