LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 03-15-2008, 03:03 PM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Rep: Reputation: 34
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.
 
Old 03-15-2008, 06:08 PM   #2
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Original Poster
Rep: Reputation: 34
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Differences between /usr/include/* and linux/include/* simopal6 Linux - General 2 08-26-2007 04:41 AM
changing include directories - /usr/local/include quep_fly Linux - Newbie 6 08-12-2007 05:36 PM
which headers usr/include/ or /usr/include/nptl/? Chris.Rector Linux - Enterprise 0 02-02-2007 02:40 PM
./configure --prefix=/usr [default: /usr/local] why??? stevesk Slackware 14 07-03-2006 07:28 AM
kdevelop and /usr/include 0pal_t0ad Programming 1 02-14-2005 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration