RE:[DEV-C++] Trouble Compiling OpenGL apps
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Julio L. <ju2...@ya...> - 2001-07-17 19:40:47
|
You can use the tutorials on nehe.gamedev.net for OpenGL and get their sample code to compile perfectly on Dev-C++, I have done it myself. The only thing is that you have to make the smaple code projects yourself, not download the projects they have at the bottom of the page. Try this: 1.Create a new project in Dev-C++ with a source file. 2.Go to the NeHe OpenGL tutorial lessons page and copy all the green lines of code and paste it into your source code file. 3.Go to Project Options and in the first blank line(Further Object Files or linker options) put " -lkernel32 -lopengl32 -lglu32 -lglaux " and compile the project. It should now compile without a problem. ===== Julio __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ |