I had no problem with Allegro while using Linux, but I can't figure out how to include the library on OS X. I built it from source originally, but I uninstalled it to try the MacPorts version. The headers are currently in /opt/local/include/allegro5/
.
I can't use #include <allegro5/allegro.h>
or
#include "/opt/local/include/allegro5/allegro.h"
.
Based on the compile errors, I think the Allegro headers reference each other by
#include <allegro5/other_header.h>
.
So how do I add the allegro5 directory to the include path for gcc/g++?
Thanks!