Can't compile Nestopia core on OS X

I wanted to play the FDS with nestopia but it seems that change disk (with R button), isn’t working in the pre-made OS X build libretropack. So i’ve tried compiling a newer version from github (9 Aug 2013) and can’t do it.

OS X 10.8.4 - GCC 4.8.1

$ make Compiling source/unix/main.cpp… source/unix/main.cpp:51:20: fatal error: GL/glu.h: No such file or directory #include “GL/glu.h” ^ compilation terminated. make: *** [objs/unix/main.o] Error 1

You need to use the libretro makefile, rather than the top-level one. Also, I don’t think FDS disk swapping is hooked up.

Whoops. Disc changing works sweet though now, with “Square” button.

Thanks.