I'm trying to load an image from the same folder my main is and I'm always getting null. I've tried moving the image to the folder my .exe is and it did not help. I'm using windows, by the way. Code excerpt:
bouncer = al_load_bitmap("image.png");
fprintf(stderr, "failed to create bouncer.\n");
If the full code is needed, I will post it here as well.
Also, I'm tring to get the path using
path = al_get_standard_path(ALLEGRO_RESOURCES_PATH);
printf("%s", al_path_cstr(path, '/'));
but the program is crashing.