Norman, <GL/glut.h> seems more proper than "GL/glut.h" so I will make the change in the configure.ac files.
Thanks for catching this, Curt. Norman Vine writes: > Jon Berndt writes: > > > > I've tried building the latest flightgear from CVS. I've updated to the > > latest version both plib and simgear and they build. However, when trying > > to build flightgear I get an error right away when trying to build the > > applications in test: > > > gcc -L/usr/X11R6/lib -o gl-info.exe > > gl-info.o -lglut32 -lglu32 -lopengl32 -luser32 -lgdi32 > > gl-info.o(.text+0x19):gl-info.c: undefined reference to `_glGetString' > > gl-info.o(.text+0x58):gl-info.c: undefined reference to `_glGetFloatv' > > gl-info.o(.text+0x9c):gl-info.c: undefined reference to `_glGetFloatv' > > gl-info.o(.text+0xdc):gl-info.c: undefined reference to `_glGetIntegerv' > > gl-info.o(.text+0x120):gl-info.c: undefined reference to `_glGetIntegerv' > > I had the same problem working in a Cygwin bash shell > ended up making sure that the GLUT_H check in both SimGear's > and FlightGear's configure.ac read as below > > dnl check for glut location > AC_CHECK_HEADER(GL/glut.h) > if test "x$ac_cv_header_GL_glut_h" = "xyes"; then > AC_DEFINE([GLUT_H], <GL/glut.h>, [Define as glut.h include location]) > else > AC_CHECK_HEADER(GLUT/glut.h) > if test "x$ac_cv_header_GLUT_glut_h" = "xyes"; then > AC_DEFINE([GLUT_H], <GLUT/glut.h>, [Define as glut.h include location]) > else > echo "Neither GL/glut.h nor GLUT/glut.h found. Cannot continue" > exit > fi > fi > > > NOTE the use of <> and not "" surrounding GL/glut.h > > I think that this is an appropriate fix for all systems but .... YMMV > > Norman > > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities curt 'at' me.umn.edu curt 'at' flightgear.org Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
