From: Vincent Favre-N. <vi...@us...> - 2005-05-03 03:34:02
|
Hi all, There were a few questions related to includes in the list, but I have n= ot=20 found the exact answer. I am recompiling my project (http://objcryst.sourceforge.net/Fox) for=20 =46edoraCore3, which uses freeglut. Small compilation problem, is that I us= e: #include "GL/glut.h" which then includes: #include "freeglut_std.h" The only problem is that this implies to have /usr/include/GL in the incl= ude=20 path, not only the standard /usr/include. When I look at the headers=20 in /usr/include/GL, *all* of them use the syntax #include "GL/header.h" to= =20 include another GL-related header.=20 So wouldn't it be better to use=20 #include "GL/freeglut_std.h" and #include "GL/freeglut_ext.h"=20 in glut.h and freeglut.h ? Adding a -I/usr/include/GL is trivial, but it=20 breaks (although trivially) existing glut code. Anyway, it's good to see a free glut being developped again ! =2D-=20 Vincent Favre-Nicolin Universit=E9 Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net |