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

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

Array question
Does anyone know how to create a program that takes the $ amount for 8 different departments and gi

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

Points for Wiki contribution
Hi everyone,

I want to know how long does it take for the moderator to award points for a

The page should be expire when cilck back button
hi,
i'm new to php world.
i create user registration page.
when i submit it,data goes to my

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

help finding hacking loopholes
i was attacked by a redirect php injection

my pc is clean of viruses

so i figure that

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

Create multiple (n) arrays
Hi there,

I have the following need:

I have 2 arrays (coming from a databases)

Async WSAConnect failed on XP with error code = 2 ("File not found")
Hi all,

I have very strange bug, please help me if you can.

It is reproduced o

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