Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


King of the Boneheads

Member Since 10 Oct 2012
Offline Last Active Oct 24 2012 11:51 PM

Posts I've Made

In Topic: [Allegro 5] Game Crash

24 October 2012 - 06:41 PM

hmmm...

Well, here's my .cbp (Code Blocks Project file) that contains my .cpp file:

- { http://codepad.org/JCrRLUFQ } -

In Topic: [Allegro 5] Game Crash

24 October 2012 - 05:03 PM

After I changed line 41 (49 in the code w/Breakpoints&and the new #include by shaquil) to that, the program got compiled & ran just fine, but it still crashed at line 59. (73 in my code)

In Topic: [Allegro 5] Game Crash

24 October 2012 - 04:03 PM

Nope, still crashes at line 59.

In Topic: [Allegro 5] Game Crash

24 October 2012 - 03:31 PM

"allegro5/image.h: No such file or directory".
:/

In Topic: [Allegro 5] Game Crash

24 October 2012 - 01:13 PM

First things first, yes, in fact this .cpp file is IN a Code::Blocks project file, linked to all allegro things necessary. I have followed that Allegro 5 tutorial, and it's not the projects fault (I think).

So I set some breakpoints (well, I printed at various points in code)

And tracked it down to which line it crashes on, and:

http://codepad.org/kOFCWkA5

It seems to crash at line 59. "al_set_target_bitmap(al_get_backbuffer(display));"

I really need someone who's advanced to help me out, because the answer is not exactly obvious as to why it crashed.

PARTNERS