|
Difficulties to installing Code Blocks and allegro 5 |
Gabriel Campos
Member #12,034
June 2010
|
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...
|
William Labbett
Member #4,486
March 2004
|
What does the compiler say exactly ? Did code::blocks detect your compiler ?
|
Paul whoknows
Member #5,081
September 2004
|
Did you donwload the bundle version with the compiler included or just the IDE? ____ "The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner. |
AMCerasoli
Member #11,955
May 2010
|
Didn't you notice that there is a "Installation, Setup & Configuration" section in this forum?
|
Gabriel Campos
Member #12,034
June 2010
|
I Download the binary release in codeblocks.org.....(codeblocks-10.05mingw-setup.exe) After installed i followed this tutorial: but only the first part( not installed allegro 5 yet); 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: Someone could help me or link me a good tutorial??
|
J-Gamer
Member #12,491
January 2011
|
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? " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
Turbine
Member #13,178
August 2011
|
I'd suggest you download the latest versions of C::B and Mingw. http://sourceforge.net/projects/mingw/files/ By the time you've installed MinGW, then opened Codeblocks, It'll work fine. (And you'll be up to date) |
AMCerasoli
Member #11,955
May 2010
|
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.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Do what J-Gamer suggested, and then press the auto detect compiler button. See if it finds your compiler correctly. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|