Menu

Compiling GLUT programs in DEVC++(workaround)

2001-06-05
2012-09-26
  • Nobody/Anonymous

    I've managed to successfully compile and run GLUT programs. Here's what I did:

    #define GLUT_DISABLE_ATEXIT_HACK
    #include <windows.h>
    #include <gl/gl.h>
    #include <gl/glu.h>
    #include <gl/glut.h>

    Everything is working fine so far, with the standard GLUT distribution.

     
    • Nobody/Anonymous

      you deserve a medal mate - I've been pulling my hair out over this all night.. wait, it's actually now 4:38am. Thank You!!

       
    • Nobody/Anonymous

      legend

       
    • Nobody/Anonymous

      wierd i didn't need to do that ..... and yet a small glut app worked .... the app included just some texture mapping and moving around with keys and view with the mouse ..... what were ur'll running?

      dinesh.

       

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.