User forums > Help
Error running Allegro (Help! ><)
(1/1)
DarkChocobo:
(At first of all, sorry for my bad English =[ )
Hi, i'm new to Allegro, so i have followed the guide "Setting up Allegro for Code::Blocks with MinGW on Windows XP/Vista" in the Allegro Wiki, but I got some trouble to running my project and decided to ask for help here. EDIT: I'm using Windows XP
I have download and install MinGW and changed the variable Path.(command 'gcc' in cmd.exe is working well). I also downloaded Allegro folder and unziped it in C:\ and directX in MinGW folder. The 'Compiler and debugger' of Code::Blocks is exactly like the image in the guide:
So I started a new project selecting Console Aplication and write my code, but when I try to compile it, it gives an error.(screenshots bellow)
-
-
The exemple projects that follows with Allegro folder I downloaded in the wiki page gives the same error.
I also tried to compile my code with MinGW in IDE Dev-C++ but it also gives a similar error with 'ld.exe' file. T.T
I don't know what to do since I already have followed a lot of guides and tutorials to install Allegro and can't run it yet ¬¬
Rope someone can help.
stahta01:
Learn to Copy and Paste the error messages instead on using images!!!
Turn on Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Ask NON Code::Blocks questions somewhere other than here.
Tim S.
DarkChocobo:
Hi. I'm sorry for the images, I was afraid to miss something so I posted it with images.. will post in text next time.
I turned Compiler Logging to Full command line but stills giving errors with ld.exe file =(
follows the error log:
--- Code: ---File Line Message
ld.exe cannot find crtbegin.o: No such file or directory
ld.exe cannot find -lstdc++
ld.exe cannot find -lgcc
ld.exe cannot find -lgcc
ld.exe cannot find crtend.o: No such file or directory
--- End code ---
(i'm sorry for post in wrong section, hope someone can move it to the right place)
Jenna:
You did not post the build log, but the build messages.
The build log contains the "real" commandline used to invoke the compiler.
Navigation
[0] Message Index
Go to full version