Freeglut header declearetion problem

Jan 15, 2016 at 12:47pm
As I'm learning freeglut, I have decleared these header files
1
2
3
4
5
#ifdef_APPLE_
#include<GLUT/glut.h>
#else
#include<GL/glut.h>
#endif 


But when I'm running the pre-downloaded source code, its working fine. But when I'm writing its and then trying to run then the compilar showing me error..
Could you guyz tell me whats the problem here?
Last edited on Jan 15, 2016 at 1:57pm
Jan 17, 2016 at 9:36am
what error? describe more details. Show the full source code as well as the errors.
Topic archived. No new replies allowed.