1

C++ Allegro 5.0.8 - al_load_bitmap() returning NULL on Linux

view story
linux-howto

http://stackoverflow.com – I'm developing a game in Allegro 5.0.8, and everything was going well, until i tried compiling it and running it on Linux (Mint 14)...so i did sime tests; #include <allegro5/allegro.h> #include <allegro5/allegro_image.h> #include <iostream> int main(void) { al_init(); ALLEGRO_DISPLAY *screen = al_create_display(800, 600); al_init_image_addon(); ALLEGRO_PATH *path = al_get_standard_path(ALLEGRO_RESOURCES_PATH); al_set_path_filename(path, "players.png"); ALLEGRO_BITMAP *img = al_load_bitmap(al_path_cstr(path, '/')); if (img == NULL) std: (HowTos)