I'm using devcpp and I just can't get allegro to work.
I've installed "allegro-4.2.1-1mol.DevPak" and at project options -> parameters -> linker I wrote "-lalleg".
and umm.. used if I compile the code from this tutorial (or any) http://loomsoft.net/resources/alltut/alltut_lesson1.htm
#include <allegro.h>
int main(int argc, char *argv[])
{
allegro_init(); // Initalize Allegro
install_keyboard();
// set_gfx_mode(GRAPHICS MODE, Width, Height, Virtual Width, Virtual Height);
set_gfx_mode(GFX_AUTODETECT, 640,480,0,0);
readkey(); // wait for input
return 0;
}
END_OF_MAIN() // This must be called right after the closing bracket of your MAIN function.
// It is Allegro specific.