|
From: Markus M. <mar...@gm...> - 2006-12-03 17:21:17
|
Hello I tried to compile the latest simgear-cvs files on mac os x 10.4.8 and encountered some problems but was able to find some changes after which simgear was able to build. 1) screens/extension.hxx When not on windows it is tried to include glx.h but for apple glx.h is not within GL but within AGL. The macro SG_GLX_H defined in compiler.h is already coping with those platform differences. So instead of including <GL/glx.h> include SG_GLX_H. current lines from revision 1.30: #if !defined(WIN32) # include <GL/glx.h> #endif #include <simgear/compiler.h> My changes: #include <simgear/compiler.h> #if !defined(WIN32) // glx.h is platform dependant, so use SG_GLX_H defined in compiler.h # include SG_GLX_H #endif Regards Markus Morawitz mar...@gm... |