I’m using opengl and glut-3.7. I am looking to build a custom header. I got some pieces of this from the openGL bible. However, I don’t see anything listed for linux.
// OpenGL header file for my projects.
// windows
#ifdef WIN32
#include <windows.h>
#include <iostream>
#include <math.h>
#include <glee.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <glut.h>
#endif
// Mac Os X
#ifdef _APPLE_
#include <Carbon/Carbon.h>
#include <iostream>
#include <math.h>
#include "glee.h"
#include <GL/gl.h>
#include <GL/glu.h>
#include <Glut/glut.h>
#endif
// Linux
#ifdef // Unsure here
// linux version of carbon or window.h??
#include <iostream>
#include <math.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#ifdef //mirror the top
using namespace std;