LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Scons [configure] cant find GL/gl.h in /usr/include (glob2) (https://www.linuxquestions.org/questions/linux-games-33/scons-%5Bconfigure%5D-cant-find-gl-gl-h-in-usr-include-glob2-628269/)

1veedo 03-15-2008 02:03 PM

Scons [configure] cant find GL/gl.h in /usr/include (glob2)
 
I'm trying to compile the latest version of glob2 but scons doesn't seem to know that all my headers are in /usr/include (where they should be).

Checking for C library GL... no
Checking for C library GL... no
Checking for C library opengl32... no
Could not find libGL or opengl32, or could not find GL/gl.h or OpenGL/gl.h

I have the dev packages installed and the files it says it cant find are in fact there. I am on a 64bit system but glob2 runs on 64 because there's an outdated version in debian's repository. I tried system linking /usr/include/GL and OpenGL to /usr/local/include as well and it didn't work.

1veedo 03-15-2008 05:08 PM

I modified the Sconstruct file and commented all the stuff about libgl. Scons built just fine but I had to copy the maps over into my home folder...

Not sure why it wasn't finding GL/*.h but gnu c/++ is smart enough to always use /usr/include, even if scons wasn't.


All times are GMT -5. The time now is 05:44 AM.