Allegro is really easy to build...
Download the file all4118.zip from the allegro site, unzip it, cd to that directory and type in a command prompt:
fix mingw32
set MINGDIR=c:/mingw
mingw32-make
mingw32-make install
Two notes:
MINGDIR above should point to the directory that MinGW is installed on your system. C:\MingW is the default. If you downloaded the full Code::Blocks version which contains MinGW, then set MINGDIR to point to the directory you installed Code::Blocks.
If you don't have "mingw32-make", use "make".
That's it.
If something fails during compiling, study the messages carefully. For example, allegro might need the Directx development files (I wouldn't know, but I saw them at the allegro site ;) ).
:cry: I can't get it to work. I used from the readme:
#include <allegro.h>
int main() {
allegro_int();
allegro_message("Hellow World!");
return 0;
}
END_OF_MAIN();
:cry: I get errors like - 'allegro_init' undeclared (first use this function). What the heck is a matter with this? I built the static linking install (don't know what that is). After I did that I executed "make clean" in the command prompt. I need help. 30 mins later... I can't get anything to work! Why won't this work?