The system cannot find the file specfied
Well this has been happing for a while now not only with allegro(im just posting my code in case) even with other programs
The system cannot find the file specifild
which is true I looked in the file and its missing the .cpp class and theres not .exe
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#include <allegro5\allegro.h>
#include <allegro5\allegro_native_dialog.h>
int main(void)
{
ALLEGRO_DISPLAY *display = NULL;
if(!al_init())
{
al_show_native_message_box(NULL, NULL, NULL,
"failed to load allegro", NULL, NULL);
return -1;
}
display = al_create_display(640, 480);
if(!display)
{
al_show_native_message_box(NULL, NULL, NULL,
"failed to load allegro", NULL, NULL);
return -1;
}
al_destroy_display(display);
return 0;
}
|
Topic archived. No new replies allowed.