PDA

View Full Version : basic setup information



Diann
02-01-2008, 11:19 AM
Hey...I took opengl many years ago in college. I need to set up everything so that I can program again. I need to find out what version of Microsoft Visual C++ that I should use if I am running Windows XP. I've seen more than one professional version. Also, I need to know how to set up everything for opengl up on my machine. For example, what files do I need to download and settings need to be made. Or if there is documentation on how to do this, could I be directed where to look? Thanks!

babis
02-01-2008, 03:55 PM
Hello,

For Visual C++, you can always get the latest express edition which is free as far as I know. For OpenGL,you could always start with a glut example, you can find many on the internet. One helpful site to get you started is this :

http://www.lighthouse3d.com/opengl/glut/

(For the exit() redefinition problem in GLUT, you can add the preprocessor directive GLUT_BUILDING_LIB in your project properties)

You can also get GLee or GLEW as wrappers for the latest extensions, & of course the latest drivers for your video card

Cheers,
babis

zed
02-01-2008, 06:57 PM
alternatively u can use sdl to set up the window
http://www.libsdl.org/

theres various basic demos there i think for a lot of OS's/IDE's

Y-tension
02-02-2008, 08:58 AM
My personal favorite:
Dev-C++

http://www.bloodshed.net/devcpp.html

it has an openGL template to start with.

ZbuffeR
02-02-2008, 03:37 PM
I second Dev-C++.
It is as simple as download, install, get community packages for freeglut, sdl, whatever, and run one of the program templates.

I found Visual studio is quite a pain to setup to be usable with OpenGL.

songho
02-04-2008, 11:55 AM
One more vote to Dev-C++ !
The project template feature in Dev-C++ is great!