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

Multiple upload and Resize
I would like some help on my script I have the for my index.php

////

<html&

Get keys and values from an array
Hellow,

I have an array $Data with keys and values. With a foreach I can display all the valu

SHOW TABLES Help
Hi all

I have the following

Code: [Select]<?php
$sql = "SHOW TABLES&quo

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

Creating a unique 'control panel' for each user
Hi there,

I'm thinking of designing a site that will allow users to sign up and have their ow

All possible combinations of Strings from table in PL/SQL
Hi,

I am trying to figure out how to build a list of all possible string combinations fro

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

InternetOpenUrl() Invalid cert
Hi all,

Does anyone know how to prevent calls to InternetOpenUrl() from failing with erro

Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order t

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

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