Tarek-Aziz / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

gamekit broken on OSX, gamekit should not depend on X11/Xt/Xaw #280

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just checked out latest svn trunk and ran cmake . -G Xcode and it fails:

  -- The following REQUIRED packages could NOT be located on your system.

  -- Please install them before continuing this software installation.

  -- If you are in Windows, try passing -DOGRE_DEPENDENCIES_DIR=<path to
  dependencies>

  -----------------------------------------------------------------------------

  + X11: X Window system <http://www.x.org>

  + Xt: X Toolkit <http://www.x.org>

  + Xaw: X11 Athena widget set <http://www.x.org>

Can we remove this dependency? It was not there before.
Thanks!
Erwin

Original issue reported on code.google.com by erwin.coumans on 19 Oct 2012 at 9:26

GoogleCodeExporter commented 8 years ago

Original comment by erwin.coumans on 19 Oct 2012 at 9:26

GoogleCodeExporter commented 8 years ago
...just read a bit, and it seems that x11 was included until mountain lion (I 
assume you have a mountain lion system!?) One solution seems to be to install 
XQuartz (which includes X11)
We will have to switch to carbon/cocoa (not sure which of these is the current 
one...) but both seem to be supported by ogre. Since I have no osx-system for 
testing anymore else will have to do this...

Original comment by thomas.t...@googlemail.com on 21 Oct 2012 at 12:51

GoogleCodeExporter commented 8 years ago
Thanks for looking into this, Thomas. Mountain Lion indeed.
Installation of XQuartz is not a good option, hopefully the Cocoa version of 
Ogre doesn't require that?

I look forward to a gamekit without requiring Ogre at some stage,
in the meanwhile I'll look into cocoa Ogre.

Thanks,
Erwin

Original comment by erwin.coumans on 21 Oct 2012 at 1:49

GoogleCodeExporter commented 8 years ago
Ok, had a look again and ogre changed its apple-specific depedency-check 
(concerning X11). Try the patch (one-liner). 

If that doesn't work, have a look here:
https://bitbucket.org/sinbad/ogre/src/8bc7edb1a1d359045a77383832e653f946cf92d3/C
Make/Dependencies.cmake?at=default

Original comment by thomas.t...@googlemail.com on 21 Oct 2012 at 5:50

Attachments:

GoogleCodeExporter commented 8 years ago
I commited the patch. Feedback appreciated :D

Original comment by thomas.t...@googlemail.com on 25 Oct 2012 at 7:19