LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2004, 09:14 AM   #1
rsingh
Member
 
Registered: May 2003
Posts: 44

Rep: Reputation: 15
how to compile opengl programs


hey,
i have my graphics course starting and i reallly cant figure out how to compile and run OpenGl programs on my REDhat 9 linux m/c.if anyone has any experience in it plz help me out .
Thnx.
 
Old 01-02-2004, 09:59 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
OpenGL heim . The best thing to do is to get Glut. Glut is window independent library. As you know, to start openGL, you've to create a window first, like in ordinary windows programming. More or less like

< all you need to do to initialize the window >

OpenGL stuff goes here <

< update that window >

With Glut you skip that part of creating windows (which are OS dependent) and concentrate directly into OpenGL.

http://www.opengl.org/resources/libr.../glut_faq.html

The very best to do is to get a good book about it, like OpenGL's Redbook. Otherwise you will be stuck with bad commented (yet working) tutorials from the net as nehe's...
 
Old 01-02-2004, 01:23 PM   #3
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
yeah thnx for that link but i wanted to know how do i get some programs running first.is there some already present support for it in rh9 or do i have to download some rpms etc.they say that the mesa library is already present
 
  


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
Sound Sync in OpenGL programs Wingrave Linux - Software 3 09-03-2005 05:22 PM
OpenGL programs freeze Starch Slackware 8 03-19-2005 07:48 PM
Using OpenGL (+SDL) for 2D programs R00ts Programming 4 07-16-2004 12:33 PM
slack 9 with NVidia drivers; cannot compile opengl programs gunter Slackware 5 07-12-2003 11:35 AM
OpenGL programs crash immediately. gbrad Linux - General 1 01-30-2003 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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