Re: [Plib-users] Re: [FGFS-Devel] Can't build glut
Brought to you by:
sjbaker
From: Jason E. S. <tam...@ai...> - 2000-04-22 15:56:04
|
Jon Berndt writes: [snip] > Here is the relevent section of config.log: > > configure:2882: GL/gl.h: No such file or directory > configure: failed program was: > #line 2881 "configure" > #include "confdefs.h" > #include <GL/gl.h> > configure:2876: checking for GL/glu.h > configure:2886: gcc -E conftest.c >/dev/null 2>conftest.out > configure:2882: GL/glu.h: No such file or directory > > > I don't know why it is not finding GL/*.h. I am running CygWin, and I have > built plib successfully last year. Any ideas what to check as far as what > might be wrong with my CygWin install? > > Jon > It looks like your GL headers are not in gcc's include file path. According to the GCC 2.95 installation instructions for CygWin, GCC only looks in it's own installation area and in /Cygnus/cygwin-b20/ by default. If you've just re-installed cygwin, you may have lost where your GL headers were added to the compiler search path on your previous install. I'm not sure how you specify it for cygwin (C_INCLUDE_PATH environment variable maybe?), but the path to your GL headers (i.e. the parent directory of GL/*.h) needs to be added to the compilers include search path. Cheers, -Jason |