Menu

openGL Linking

2002-08-24
2012-09-26
  • Nobody/Anonymous

    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)

     
    • Nobody/Anonymous

      #include <glut.h>

       
    • Nobody/Anonymous

      That is allready there. What if you want to add the -lglut32 to the project options, but its greyed out ?

       
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.