i want to start

Hello friends

i want to start to code some things with OpenGL on linux but i’am some kind
confused wath i need.

i have RH8 and i think i have alredy installed Mesa librerys when, and
i can install Mesa-devel

i have glut’s RedHat and a diestro that
have a glut-devel.rpm

i have a c compiler (gcc), freind do i need
somthing more to develop a simple OpenGl app

Alfonso, the defalt RH8 install should give you the OpenGL drivers you need – unless you have an unsupported card, like an nVidia, in which case you’ll need to download the drivers separately from nVidia.

Once you install the two glut rpms (glut and glut-devel) you should be good-to-go. They may already be there. Try:

rpm -qa | grep glut

to see.

You very likely should have nothing to do with any Mesa rpms. If you’ve installed them manually, you probably should remove them.

In the future, you might also post what sort of video card you have, and what you’ve already tried to solve your problem, in order to make it easier for folks to help you.

Once you have the two glut rpms installed, search around for a glut “hello world” program and try building it. You should be in business. You’ll probably need to tell g++ something like:

g++ -o my_test main.cpp -lGL -lGLU -lglut -L/usr/X11R6/lib -lXi -lXmu

Also, your post was a little difficult to read; are you a native english speaker?

[This message has been edited by jmg (edited 04-08-2003).]

I am running RedHat 8.0 with the KDE desktop, I use the KDE/QT IDE with gcc.

I am working on getting a openGL setup under linux posted on my website.

I have be able to get a few of my glut demos to run on Linux, with only a few changes.

With RadHat 8.0, the openGL/mesa drivers are already installed with X-video drivers, now you may need to check if your video card has hardware support under the linux, not all video cards do.

You only need to download from Redhat the GLUT RPM files, to get the GLUT functionns library, also there is a GLUT dev RPM. You may need both, I just download both and installed them.

Drop me an e-mail and I can send it to you.

My website is: www.angelfire.com/linux/nexusone/
Note as I stated the I have not posted the linux setup yet, but have example programs.

Originally posted by Alfonso:
[b]Hello friends

i want to start to code some things with OpenGL on linux but i’am some kind
confused wath i need.

i have RH8 and i think i have alredy installed Mesa librerys when, and
i can install Mesa-devel

i have glut’s RedHat and a diestro that
have a glut-devel.rpm

i have a c compiler (gcc), freind do i need
somthing more to develop a simple OpenGl app

[/b]

[This message has been edited by nexusone (edited 04-08-2003).]

Thak you for your help, i’am runing my linux
box with 24 bit color at 1027 x 800 or somting like that, it’s a SiS630 video card
(shared memory) so i think i have a video card suported

now i know i have the librerys(glut and built-in Xfree86-mesalibs)

and now i have a line of commad to compile
(g++ -lglut …)

now i will search for a “hello world” exameple

thank you friends

If you send me an e-mail I will send you back a base GLUT program to get you started(Sort of a hello world).

Originally posted by Alfonso:
[b]Thak you for your help, i’am runing my linux
box with 24 bit color at 1027 x 800 or somting like that, it’s a SiS630 video card
(shared memory) so i think i have a video card suported

now i know i have the librerys(glut and built-in Xfree86-mesalibs)

and now i have a line of commad to compile
(g++ -lglut …)

now i will search for a “hello world” exameple

thank you friends
[/b]

Hello friend i’m back, i found some material where to start i download
JPOT (java personal opengl tutorial)
i think it going to be helpfull.

one thing happend when i try to compile my “hello world” with something like this

gcc -o my_test main.c -lGL -lGLU -lglut -L/usr/X11R6/lib -lXi -lXmu

but complier says to me that don’t recognice
-lXmu and when i compile with out “-lXi” and
“-lXmu”, there is no problem

does anybody know what is “-lXi” and “-lXmu” parameters?