Skip to main content
gamedev.net
🔒 Locked

Setup OpenGL with Dev-C++

Started by armond Oct 28, 2005 at 9:04 PM 2 replies 400+ views
Original Post
armond
armond
Hi guys, could you please point me to a good site where I can learn to setup my Dev-C++ with OpenGL? And I can't seem to find the headers and linkers in OpenGL.Org... Help please... Thanks...
We should never stop learning...
CRACK123
CRACK123
It should have come with the compiler.
The more applications I write, more I find out how less I know
Servant of the Lord
Servant of the Lord
Some one told me when I ask the same, to check in 'New' - 'Project' - 'Multimedia' - 'OpenGL'. That creates a file with all the OpenGL stuff already initaulized. I would try that. [grin]
deavik
deavik
You need to create a new project first. In your main.cpp or whatever,
#include <GL/gl.h> 
. In your project options, click on the parameters tab, and in the 'linker' box:
-lopengl32 
That's it, really. Happy coding! [smile]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.