As I read here in this forum, the allegro 5 and code blocks are perfecty because they are updated.... good...
But i cant run code blocks... very frustating...when i try to compile, even a simple code...
#include <stdio.h> int main() { printf("WORKS"); }
it doesnt compile and says that could not build, maybe the path is not setup correctly....and get worst when i try to install allegro 5...

I tried some tutorials but nothing changed...
Can someone help me???
What does the compiler say exactly ?
Did code::blocks detect your compiler ?
Did you donwload the bundle version with the compiler included or just the IDE?
Didn't you notice that there is a "Installation, Setup & Configuration" section in this forum?
I Download the binary release in codeblocks.org.....(codeblocks-10.05mingw-setup.exe)
After installed i followed this tutorial:
https://sites.google.com/a/liesenberg.biz/cjogos/home/software/ambiente-code-blocks-allegro-5
but only the first part( not installed allegro 5 yet);
The tutorial says to create a variable in system properties with the name
MINGDIR, the value C:\CodeBlocks\MinGW
then in the path variable add to the end of line: ;C:\CodeBlocks\MinGW\bin...
then in cmd write: gcc -v.... Works nicely, it showed me the version 4.1
but when i create a empty project like this...
#include <stdio.h> int main() { printf("WORKS"); }
It doesnt work 
The build log says:
"TESTE - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
Someone could help me or link me a good tutorial??
I use the codeblocks 10.05 in my notebook with windows 7...
thanx
That means that your compiler setup in Code::Blocks isn't setup correctly.
Try going to settings->compiler and debugger. Then open the tab Toolchain executables. What do you get in there?
I'd suggest you download the latest versions of C::B and Mingw.
10.05 is quite old with a ton of bugs, the nighties are generally a lot more stable, plus new/fixed features.
http://sourceforge.net/projects/mingw/files/
http://forums.codeblocks.org/index.php/board,20.0.html
By the time you've installed MinGW, then opened Codeblocks, It'll work fine. (And you'll be up to date)
What is the problem with the official version?: Windows, Code::Blocks 10.05 and Allegro 5.
Tell me if you don't understand something about that tutorial.
Do what J-Gamer suggested, and then press the auto detect compiler button. See if it finds your compiler correctly.