LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2006, 06:56 AM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,580

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
compiling programs + gl.h and glx.h errors


Hi Guys, I've been recompiling stuff here and there and like my previous post about mplayer I have the latest nvidia drivers installed and working fine on all GL apps but when ever I complie programs that check for GL with the nvidia drivers installed I get errors like this

checking for glBegin in -lGL... yes
checking GL/gl.h usability... no
checking GL/gl.h presence... yes
configure: WARNING: GL/gl.h: present but cannot be compiled
configure: WARNING: GL/gl.h: check for missing prerequisite headers?
configure: WARNING: GL/gl.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for GL/gl.h... yes
checking GL/glx.h usability... no
checking GL/glx.h presence... yes
configure: WARNING: GL/glx.h: present but cannot be compiled
configure: WARNING: GL/glx.h: check for missing prerequisite headers?
configure: WARNING: GL/glx.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for GL/glx.h... yes
checking for inflate in -lz... yes
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.8... yes
checking for esd_get_latency in -lesd... yes
checking for libmikmod-config... /usr/bin/libmikmod-config


Does anyone know whats going on here? Because if I uninstall the nvidia drivers it finds and compiles GL just fine.


Thanks.
 
Old 12-01-2006, 07:48 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
From the nvidia faq:
Quote:
Where can I get gl.h or glx.hso I can compile OpenGL programs?


Most systems come with these header files preinstalled. However, NVIDIA provides its own gl.h and glx.h files, which get installed by default as part of driver installation. If you prefer that the NVIDIA-distributed OpenGL header files not be installed, you can pass the --no-opengl-headers option to the NVIDIA-Linux-x86_64-1.0-9629-pkg1.run file during installation.
 
Old 12-01-2006, 06:31 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,580

Original Poster
Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Ah, FAQ's are a beautiful thing. That worked perfectly.

THANK YOU!
 
  


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
Errors on Compiling Lua and other programs. Dralnu Linux - Software 1 04-19-2006 02:42 PM
nvidia nForce (original) glx errors ! tionik06 Linux - Hardware 4 07-22-2005 05:04 PM
need help compiling program that uses glx SciYro Programming 4 05-20-2005 05:30 PM
GLX visual errors while starting a game w0lv3rin3 Linux - Software 0 03-07-2004 01:52 PM
KDE through Xvnx --> GLX errors StormCyko Linux - General 8 08-12-2003 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration