LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2004, 02:13 PM   #1
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
opengl version


Hello
My nvidia drivers are about 2 months old, but its(somehow) version 1.1.
Atleast i think it is, because i cant use multisampling, point parameters, doesn't support 3d textures, and GL_VERSION_1_2 isn't defined.
But when i let it print out my opengl version, it says that its 1.4.
I've already updated some headers, but i still can't use point parameters, multisampling etc.
Anyone got an idea how to get the latest OpenGL version?
Hylke
btw, i got a nvidia geforce FX
 
Old 10-03-2004, 04:43 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
I found for some reason when i installed nvidia GL it didn't install the header files or the
libGL.la

But rather i ended up with GL header files in /usr/include/GL as a link to/usr/X11R6/include/GL that went with the stuff in /usr/X11R6/lib that came with X
like Mesa-3D ,GLU, GLUT and OpenGL. (or i had installed later)
so if you want access to the stuff you see running (glxinfo)
using the nvidia library extract the files from the .run
i think it was with an -X argument
the proper header files are in /NVIDIA-Linux-x86-1.0-5336-pkg1/usr/include/GL
copy that GL folder to /usr/include
and get the libGL.la libtool thing from the lib directory and put it in /usr/lib
(might have to build first to get that)

then just make sure you are clear about what headers go with what libs

and i agree with you the whole GL installation thing is a big confusing mess and it's a wonder any of it works at all without conflicts.
 
Old 10-04-2004, 09:46 AM   #3
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by foo_bar_foo
I found for some reason when i installed nvidia GL it didn't install the header files or the
libGL.la

But rather i ended up with GL header files in /usr/include/GL as a link to/usr/X11R6/include/GL that went with the stuff in /usr/X11R6/lib that came with X
like Mesa-3D ,GLU, GLUT and OpenGL. (or i had installed later)
so if you want access to the stuff you see running (glxinfo)
using the nvidia library extract the files from the .run
i think it was with an -X argument
the proper header files are in /NVIDIA-Linux-x86-1.0-5336-pkg1/usr/include/GL
copy that GL folder to /usr/include
and get the libGL.la libtool thing from the lib directory and put it in /usr/lib
(might have to build first to get that)

then just make sure you are clear about what headers go with what libs

and i agree with you the whole GL installation thing is a big confusing mess and it's a wonder any of it works at all without conflicts.
I dont really understand you.
Which directory contains the right header files, /usr/include/GL or /usr/X11R6/include/GL?
And is /usr/X11R6/lib(if im right, i get my libraries from this directory when i compile my programs) the directory with the old headers?
Thanx Hylke
 
Old 10-05-2004, 02:00 PM   #4
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
No body?
 
Old 10-05-2004, 03:00 PM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I think it's safest to only have one set of openGL headers on your system. The correct place to put them is /usr/include/GL but XFree86 and xorg put them in /usr/X11R6/include/GL so the fudge solution I prefer is to make /usr/include/GL a symbolic link pointing at /usr/X11R6/include/GL, which I think the X installer does automatically. If not then

ln -sf /usr/X11R6/include/GL /usr/include/GL

When you run the Nvidia installer it installs the headers in /usr/share/doc/NVIDIA_GLX-1.0/include/GL so copy them from there into /usr/X11R6/include/GL
The current version of the Nvidia installer is available here. Usefull info about Nvidia OpenGL is available here
 
Old 10-07-2004, 01:50 PM   #6
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
Thank you for your reply.
Hylke
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 07:12 AM

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

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration