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

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

Help with ORDER BY
Hello. I would like to order by ascending States, then Cities, then Gyms in the following code, but

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

Combining refCursors and Summing
Given the following DDL:

CREATE TABLE FOODSALESTEST ("WEEKNBR" NUMBER, "ST

Points for Wiki contribution
Hi everyone,

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

Curl & sessions PLS HELP
Hello,

I have a problem with curl and sessions and i will try to explain the best i could.

Is there a way to override built in php functions without APD?
I am trying to use the
rename_function()
override_function()
options that are built into

Need help to identify this error please
:confused:Can anyone help me tell what this error message means? Maybe tell me where to look to fix

How can I uploading Transactional Data from Legacy to New SAP system
Hell Gurus,

I am overwhelmed with questions on how to migrate huge volume of Sales Orders

simple php table loop
Hi all,

I've the following code

<?php // Create category options

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