[EMAIL PROTECTED] wrote:
I just tried to compile the flightgear cvs version
and get this error:


It seems that the Header file FG_GLUT_H is missing in cvs.
I also used the last SimGear CVS and PLIB CVS versions.

Ok, now i solved that problem by editing the Makefile in source/test/ and commenting everything out that should normally be build in their. (i had those test tools allready compiled from an earlier versions so recompiling them again wasn't a problem).

I also checked the CVS Online log browser and found in source/test
following log entry:
" Rename every instance of GLUT_H to FG_GLUT_H to prevent a freeglut naming clash"


I didnt know that Freeglut is now a requirement for compiling Flightgear.
Maybe we should change those #include FG_GLUT_H commands in
those C source files by using something like:

#ifdef HAVE_FREEGLUT
#  include FG_GLUT_H
#else
#  include GLUT_H
#endif

Not really,
FG_GLUT_H is defined by configure to get glut.h from the proper place. This file can be found in GL/glut.h in some platforms an in GLUT/glut.h on others (if I recall it correctly).


So I guess you should make sure you have at least a fairly recent copy of configure.ac and run autogen.sh and configure again.

Erik


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

Reply via email to