im trying to use allegro and when i typed up a simple program in it, it gave me alot of compiler errors. but the biggest reason to that is this -
alplatf.h: No such file or directory. i have in included all the include files in the options(im using code blocks 8.02, in windows) it leads back to the allegro.h file too. heres the code:
//include header file
#include <allegro.h>
//start program with main function
int main(int argc, char *argv[])
{
//initialize allegro
allegro_init();
//set up input device
intall_keyboard();
//set up screen: auto set graphics mode, width, and height(dont worry about the last 2 zeros for now)
set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);
//stall the program until a key is hit
readkey();
//exit the program
return 0;
}
//special end for allegro
END_OF_MAIN()
anyone run into the same problem? or should i switch compilers?