Author Topic: Error running Allegro (Help! ><)  (Read 6087 times)

Offline DarkChocobo

  • Single posting newcomer
  • *
  • Posts: 2
Error running Allegro (Help! ><)
« on: October 24, 2010, 08:47:28 pm »
(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.
« Last Edit: October 24, 2010, 09:43:33 pm by DarkChocobo »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Error running Allegro (Help! ><)
« Reply #1 on: October 25, 2010, 12:49:29 am »
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.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline DarkChocobo

  • Single posting newcomer
  • *
  • Posts: 2
Re: Error running Allegro (Help! ><)
« Reply #2 on: October 25, 2010, 04:59:01 pm »
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


(i'm sorry for post in wrong section, hope someone can move it to the right place)
« Last Edit: October 25, 2010, 06:46:48 pm by DarkChocobo »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Error running Allegro (Help! ><)
« Reply #3 on: October 25, 2010, 05:20:25 pm »
You did not post the build log, but the build messages.
The build log contains the "real" commandline used to invoke the compiler.