Compiling GLUT in Linux

This is just a quick supplement to my post on OpenGL on OSX. To get the same code running under Linux, I simply changed the includes to the following: ...and compiled the code using the following line in the terminal: (Note that I'm using gcc because I'm now compiling a .c file. If it were … Continue reading Compiling GLUT in Linux

Advertisements

OpenGL on OSX with GLUT and G++

There's no doubt that programming with an IDE saves you loads of time with convenience, and ease-of-use. As programmers, we don't always have the luxury of having a program do all the nasty bits for us, so it's always good to learn how to program in a text editor (Emacs is a great choice) and … Continue reading OpenGL on OSX with GLUT and G++