#183 Mac OS X: Broken Header (Solution Included)

closed-fixed
nobody
critical (31)
5
2012-11-16
2012-09-04
Anonymous
No

/usr/local/include/GL/freeglut_std.h:122:19: error: GL/gl.h: No such file or directory
/usr/local/include/GL/freeglut_std.h:123:20: error: GL/glu.h: No such file or directory

Fixed with

#ifdef __APPLE__
# include <OpenGL/gl.h>
# include <OpenGL/glu.h>
#else
# include <GL/gl.h>
# include <GL/glu.h>
#endif

Discussion

  • Diederick C. Niehorster

    • status: open --> closed-fixed
     
  • Diederick C. Niehorster

    Please note that we do not support OSX natively, or test FreeGLUT in X11 on OSX. Nonetheless, I have added this include in r 1393

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks