#include <simgear/compiler.h> followed by
#include SG_GL_H #include SG_GLU_H #include SG_GLUT_H #include SG_GLEX_H
(defined in compiler.h) as required. This will ensure that the necessary OpenGL or GLUT file is included in a portable fashion. (Apple broke portability with non-standard OpenGL include directory names)
Currently Cockpit/hud_rwy.cxx does not use the above compiler.h strategy and breaks mac os x builds
the line in hud_rwy.cxx
#include <GL/glu.h>
needs to be replaced by:
#include <simgear/compiler.h> #include SG_GLU_H
Thanks!
Ima
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d