Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-17-04, 12:25 PM   #1
sijp
Registered User
 
Join Date: Aug 2004
Posts: 8
Question setting up openGL

Hi everyone.
I want to start programming in openGL on linux and I have a question.
in a tutorial I have read I understood I need to get the "nVidia's hardware accelerated OpenGL drivers from www.nvidia.com"

I made a few searches on nvidia.com and did not realy understand if I already have these...
I know I downloaded drivers for Linux ("NVIDIA-Linux-x86-1.0-6106-pkg1.run").

What I found on nvidia was something very similar: a manual talking about "NVIDIA_kernel.i386.rpm" and "NVIDIA_GLX.i386.rpm" but it had been a very old document..

In conclusion, what should I download to start programming with openGL on linux???

thanks in advance,
Shlomi
sijp is offline   Reply With Quote
Old 08-17-04, 04:04 PM   #2
sijp
Registered User
 
Join Date: Aug 2004
Posts: 8
Default Re: setting up openGL

Anyone?
sijp is offline   Reply With Quote
Old 08-17-04, 07:14 PM   #3
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: setting up openGL

Hi,

first, you have to know, which distribution you are using. For most, it is save to read the README and follow the instructions, but for some distributions, this is not true.

SuSE needs some special attention, but there are READMES about SuSE (short, use rpms, instead of the installer).
gentoo, where you MUST NOT use the installer and emerge nvidia-glx instead.
some other distributions, where users had bad/weired experiences.

so, which distribution?
energyman76b is offline   Reply With Quote
Old 08-18-04, 02:59 AM   #4
sijp
Registered User
 
Join Date: Aug 2004
Posts: 8
Default Re: setting up openGL

thank you for your reply.

my distro is fedora core 1.

I have installed the NVIDIA-Linux-x86-1.0-6106-pkg1.run driver and it works well with games.

My problem is I am not sure if that is what they meant by "nVidia's hardware accelerated OpenGL drivers". because my compiler still cannot find the headers when I try to use them in my apps.
sijp is offline   Reply With Quote
Old 08-18-04, 07:45 AM   #5
sijp
Registered User
 
Join Date: Aug 2004
Posts: 8
Default Re: setting up openGL

Here is some more information:

I have GeForce 4 MX 440 and the driver I downloaded installed.
I looked at this tutorial http://cone3d.gamedev.net/cgi-bin/in...s/ogladv/tut1b
which sais I need
Quote:
nVidia's hardware accelerated OpenGL drivers
so I could compile my own apps using the following command:
Code:
gcc somefile.cpp somefile2.cpp -lGL -lGLU -lSDL -lpthread -o someprogram
I already have SDL and SDL-Devel installed (I checked using "rpm -q SDL")
the problem is it won't compile because it can't find the headers. so I don't know if I need to download anything else and if so- what?

thanks,
shlomi
sijp is offline   Reply With Quote
Old 08-18-04, 12:25 PM   #6
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: setting up openGL

Hi,

if you want the nvidia-headers you have to force the installer to install them. Default is, to use the headers supplied by glut/mesa/X etc.

If you run the installer with the help-option, it should show you, which option forces header installation, but fedora should have some dev-rpms, where opengl headers are included.
energyman76b is offline   Reply With Quote
Old 08-19-04, 07:20 AM   #7
sijp
Registered User
 
Join Date: Aug 2004
Posts: 8
Default Re: setting up openGL

Thank you... I found the included headers you were mentioning
sijp is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL book Airstrip1 Software Development 2 08-12-12 08:55 AM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM
Major WineX prob... I think it has to do with the vidcard... Linewbie NVIDIA Linux 20 10-09-02 09:58 PM
Option "NvAGP" "0" causes crash w/ OpenGL. mujtaba NVIDIA Linux 5 08-25-02 12:16 PM
Slow OpenGL on 7.3 kl899 NVIDIA Linux 1 08-04-02 07:58 PM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.