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);
Did you know?Explore Trending and Topic pages for more stories like this.

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

Amend code to allow multiple attachments
Hi

I have a php page that allows the user to browse to a file (image) then sumbit, the confi

ereg_replace in Wordpress
Heya - so I'm working on this site: http://world-of-smiles.theportlandco.com/new-patients

The

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/chec

Error with Font and imagettfbbox
I keep getting an error that says "Warning: imagettfbbox() [function.imagettfbbox]: Could not f

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

storing video files into mysql in php
hi

i have my video files in my folder ,
i have to store the path of the videos into db an

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

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