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

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

Help with PHP Calendar code...
Hello, I'm new to this forum and I'm glad I found it.
I wrote this code for a PHP calendar as an

SQl num_rows problem
when i try to count rows from an SQL select i get an warning

Code: [Select]$countviews = mysq

Display Database
I need to create a shopping cart. I found this code online: http://conceptlogic.com/jcart/
Unfort

Is this possible? If one file assigned to an ID...
I have a page that lists property listings assigned to a specific user (a manage page), with brief t

Impact of movement type 412 E on MAP
Hi

Usage of movement type 412 E is causing huge change in MAP .

Is there any r

Is it possible to put an entire 500-page book in a database with PHP?
I am working on an intranet and I was wondering if its possible to code php with mysql to enter a fu

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

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