LinuxQuestions.org
Review your favorite Linux distribution.
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, 05:56 AM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,670

Rep: Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369
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, 06:48 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 05:31 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,670

Original Poster
Rep: Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369
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 01:42 PM
nvidia nForce (original) glx errors ! tionik06 Linux - Hardware 4 07-22-2005 04:04 PM
need help compiling program that uses glx SciYro Programming 4 05-20-2005 04:30 PM
GLX visual errors while starting a game w0lv3rin3 Linux - Software 0 03-07-2004 12:52 PM
KDE through Xvnx --> GLX errors StormCyko Linux - General 8 08-12-2003 06:37 AM

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

All times are GMT -5. The time now is 09:54 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