Allegro 5.0 library woes T_T
Hello All,
I'm on Arch Linux and if you don't know about Arch, it has a wicked awesome package manager so all I did was type "pacman -S allegro" and voila, allegro was installed.
So, this code works :
Code:
ALLEGRO_DISPLAY *display = NULL;
if (!al_init()) {
fprintf(stderr, "failed to initialize allegro!\n");
return 1;
}
but if I try to use install_keyboard() or anything else, the compiler tells me that it can't find what I want it to.
Here's my compilation line :
Code:
gcc -g -O3 -Wall -Wextra `pkg-config --cflags --libs allegro-5.0 allegro_monolith-5.0` -std=c11
The monolith one was tacked on because I thought it might matter but it doesn't. How do I get this code to work because this is driving me nuts.