Welcome to Dream.In.Code
Getting Help is Easy!

Join 95,475 Programmers for FREE!. Ask your question and get quick answers from Dream.In.Code experts. There are 963 online right now! We're the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert

Register to Make This Box Go Away!


OpenGL Headers Installation

 
Reply to this topicStart new topic

OpenGL Headers Installation, Need some help

Delta_Echo
post 20 Apr, 2008 - 05:43 PM
Post #1


D.I.C Regular

***
Joined: 24 Oct, 2007
Posts: 267


My Contributions


I am starting OpenGL and i need to get my hands on the headers and any tools i will need.
I want to install opengl to codeblocks and gcc-c++. (Im running Linux Fedora 8)\

So how do i do this?

Thanks smile.gif

Oh, and know of any good books or tutorials on OpenGL programming?

Ty


--------------------
Live long and Code Strong. And Remember the colour of night.
User is offlineProfile CardPM

Go to the top of the page


Tom9729
post 20 Apr, 2008 - 05:58 PM
Post #2


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 920



Thanked 1 times

Dream Kudos: 300
My Contributions


Everything except for Codeblocks should be installable from the package manager (called "pirut" iirc). Fedora comes with the Eclipse IDE however, which I've used in the past and liked.

I haven't used Fedora in a long time though, so I can't really say much more. Sorry. sad.gif


--------------------
Knowing there is a trap is the first step in evading it.
Dagger3d! Blog Project TTNA
User is offlineProfile CardPM

Go to the top of the page

Delta_Echo
post 20 Apr, 2008 - 07:10 PM
Post #3


D.I.C Regular

***
Joined: 24 Oct, 2007
Posts: 267


My Contributions


I already have codeblocks installed.
I just need whatever headers and files are needed to compile and execute
opengl programs.



--------------------
Live long and Code Strong. And Remember the colour of night.
User is offlineProfile CardPM

Go to the top of the page

MorphiusFaydal
post 20 Apr, 2008 - 09:02 PM
Post #4


D.I.C Addict

Group Icon
Joined: 12 May, 2005
Posts: 912



Thanked 2 times

Expert In: Hardware, Networking

My Contributions


They should already be on your system. Just start a new GLUT project in C::B and go.


--------------------
"Some people have told me they don't think a fat penguin really
embodies the grace of Linux, which tells me they have never seen an
angry penguin charging at them in excess of 100 mph. They'd be a lot
more careful about what they say if they had."
- Linus Torvalds, in the announcement of Linux v2.0.0 on 9 June, 1996
User is offlineProfile CardPM

Go to the top of the page

bobjob
post 20 Apr, 2008 - 11:39 PM
Post #5


New D.I.C Head

*
Joined: 29 Mar, 2008
Posts: 21


My Contributions


in regards to good tutorials, I personally got alot out of the NeHe ones

http://nehe.gamedev.net/


--------------------
User is offlineProfile CardPM

Go to the top of the page

gabehabe
post 21 Apr, 2008 - 04:09 AM
Post #6


T3H R0XX0R!

Group Icon
Joined: 6 Feb, 2008
Posts: 1,019



Thanked 15 times

Dream Kudos: 475

Expert In: C, C++, HTML, CSS

My Contributions


They should already be installed with Code::Blocks
Try something like this:
cpp

#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>


Hope this helps smile.gif


--------------------
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 7/5/08 03:41AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->