In many downloaded examples of OpenGL, whats the alternative to "-lglut32" in the project options. Because when i download them, this option is greyed out.
What is the #include <what here> (for glut)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greyed out?
I know that if you open Dev-C++ and open a .cpp file...it will not allow you to create a project..that stuff is greyed out? Is that what you are saying?
If so, do this, select File, new and create a new project. I like to select empty project. Do this and then the project area will no longer be greyed out. Add your .cpp file to the project. Make sure to add your libraries: I do this.
-lopengl32 -lglu32 -lglut32
Remember to check "Do not create a console" ...this gives me problems.
Regards,
ChuckB
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In many downloaded examples of OpenGL, whats the alternative to "-lglut32" in the project options. Because when i download them, this option is greyed out.
What is the #include <what here> (for glut)
#include <glut.h>
That is allready there. What if you want to add the -lglut32 to the project options, but its greyed out ?
Greyed out?
I know that if you open Dev-C++ and open a .cpp file...it will not allow you to create a project..that stuff is greyed out? Is that what you are saying?
If so, do this, select File, new and create a new project. I like to select empty project. Do this and then the project area will no longer be greyed out. Add your .cpp file to the project. Make sure to add your libraries: I do this.
-lopengl32 -lglu32 -lglut32
Remember to check "Do not create a console" ...this gives me problems.
Regards,
ChuckB