The changes should now all be in CVS.  You will need to "cvs update"
both SimGear and FlightGear.  This change allows a clean build
[hopefully] :-) on OSX and should affect any other platform.

the flightgear tests directory build is broken on mac os x (10.3.6)

Making all in tests
source='est-epsilon.c' object='est-epsilon.o' libtool=no \
depfile='.deps/est-epsilon.Po' tmpdepfile='.deps/est-epsilon.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/Users/ima/Desktop/FlightGear/fgdev9.6/include -g -O2 -D_REENTRANT -c `test -f 'est-epsilon.c' || echo './'`est-epsilon.c
est-epsilon.c:13:19: OpenGL/glut.h: No such file or directory
est-epsilon.c: In function `main':
est-epsilon.c:17: error: `GLfloat' undeclared (first use in this function)
est-epsilon.c:17: error: (Each undeclared identifier is reported only once
est-epsilon.c:17: error: for each function it appears in.)
est-epsilon.c:17: error: parse error before "a"
est-epsilon.c:19: error: `a' undeclared (first use in this function)
est-epsilon.c:24: error: `t' undeclared (first use in this function)
make[1]: *** [est-epsilon.o] Error 1


a workaround is to skip the tests by building from the makefile in src/flightgear/src.

The fix is to modify compiler.h in simgear to contain:

#  define SG_GLUT_H <GLUT/glut.h>

for __APPLE__

glut.h is in the GLUT.framework on mac os x, not the opengl.framework. The other apple specific ones are OK.

Thanks!

Ima


_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to