How to convert Microsoft Visual C++ 6.0 projects which use ErRoRz's OpenGL.h so that they will work in Dev-C++
- Create an empty project
- Get into Dev-C++
Click on the new project button or choose File -> New -> Project.
- Choose "Empty Project"
- Enter a project name
- Make sure that the language is set to C++
- Click OK
- Select a location to save your project
- Add your source and header files to the project using the "Add to project" item in the Project menu.
- Set the project type to Win32 GUI
- Choose "Project Options" from the Project menu.
- Choose "Win32 GUI" from the Type box on the General tab
- (Optional) Click the "Support Windows XP Themes" box.
- Import the necessary libraries
- Click the "Parameters" tab (You did stay in the "Project Options" box, didn't you?)
- Click the "Add Library or Object" button
- Browse to your libraries folder (In a normal install, it will be C:\Dev-Cpp\lib)
- Hold down CTRL and click the following files:
- libopengl32.a
- libglu32.a
- libglaux.a
- Now that they are all selected, click OK and then OK
- Correct the contents of OpenGL.h
Find the line in OpenGL.h that says: #include <gl\glaux.h>
Change it to: #include <gl\glext.h>
- Click the "Save All" Button
- Your program should compile under Dev-C++ now.

