Ants, Bees, Genomes & Evolution @ Queen Mary University London
This tip works on os 10.1.x, but on jaguar, you systematically get a bus error
The machines we use at school are linux machines and we do all our c+ projects using emacs and gcc. OSX being a unix this stuff should work, right?
It doesn't compile" Why? Because we use glut and our #include GL/glut.h calls don't work since GL is not defined on macos.
This is how I ended up getting my code to compile. I'm sure this can be done much more elegantly... if you have something in mind please send me an email
in your makefile, change your x11/glut linked libs from
LDLIBS = -lglut -lGL -lGL to
LDLIBS = -framework Foundation -framework OpenGL -framework GLUT