Allegro crashes when running load_bitmap. Why?


Posted on 16th Feb 2014 07:03 pm by admin

I can not get Allegro to load any BMP images. Here is a section of test code. The picture is in the working directory:

BITMAP *my_pic;
my_pic = load_bitmap("kirby.bmp", NULL);

if(!my_pic)
{
allegro_message("ERROR lol");
return EXIT_FAILURE;
}

I always get the error message. Why would the image not be found?

Allegro does work. I can draw pictures with it.

No comments posted yet

Your Answer:

Login to answer
54 Like 30 Dislike
Previous forums Next forums
Other forums

Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h

Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.

FTP issues
Hi all,


I am currently facing some serious problems with a script and really need some ad

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

mail()
Hi all. I have a problem with emails. I am trying to set up a mail system where customers can subscr

Mysql query, two times?
Hello to all,

I'm new to php coding and i like it alot. I need help with some noob stuff.

$_FILES array
Ok,

I just started experimenting with PHP today. My goal right now is to have people be able

! = ''
In the following 'IF' statement if v_ompcat = PU for example then Oracle equates that 'IF' statement

update the selected existing records of database
Hi frndz,
I am new to php and get stuck....

Edit.php > Update.php > Updatea

DOMDocument parsing
Hello, I am parsing an xml file from an API which I have converted into a DOMDocument in php. This i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash