Line 125 below is causing me some issues. The rectangle is not being drawn and I'm not sure why. No errors are thrown. Any help would be appreciated.
al_map_rgb (or any other Allegro functions) cannot work before al_init was called.
Ah, thanks Elias.
I also wasn't including allegro5/allegro_primitives.h