Cross-platform builds with OGRE3D via CMake. Any tips?

Posted by frarees on Game Development See other posts from Game Development or by frarees
Published on 2011-11-28T01:26:03Z Indexed on 2011/11/28 2:04 UTC
Read the original article Hit count: 176

Filed under:
|

I've been trying to compile a simple project for both OSX and Windows platforms, using OGRE3D, but I've got some problems on the way.

I'm using CMake to create my platform specific project files (VS solution & Xcode project). Some problems I found are:

  • OGRE3D source is distributed in 2 flavors, Windows sources and UNIX/OSX sources.
  • In OSX, compiling dependencies (freetype, FreeImage and specially OIS) is such a pain.
  • I don't know how to handle precompiled dependencies (they exist for both Win & Mac).

May sound like a noob question, but I would appreciate some tips on this. Resources, forum posts, anything. There exists any "cross-platform base project for OGRE3D" on the net? Would be really helpful if someone who already managed to do this can bring some light.

Btw, I'm not basing the project on OGRE3D, it's just that is the biggest library I'm probably using, so I depend a lot on it.

Thanks in advantage!

© Game Development or respective owner

Related posts about ogre

Related posts about cross-platform