ciao a tutti,
non capisco perché il seguente programmino:
mi dà i seguenti errori:codice:#include "allegro.h" #include <stdio.h> int main(void) { allegro_init(); printf("Hello world!"); return 0; } END_OF_MAIN();
Non capisco se ho installato male la libreria o se è il compilatore che ha dei problemi... Scusate lo so che sono cavolate ma davvero non sono molto esperto... grazie a tutti!codice:/home/fabio/tmp/ccYSRSqA.o(.text+0x59): In function `install_allegro': : undefined reference to `_get_allegro_version' /home/fabio/tmp/ccYSRSqA.o(.text+0x70): In function `install_allegro': : undefined reference to `get_config_text' /home/fabio/tmp/ccYSRSqA.o(.text+0x7e): In function `install_allegro': : undefined reference to `allegro_error' /home/fabio/tmp/ccYSRSqA.o(.text+0x83): In function `install_allegro': : undefined reference to `ustrzcpy' /home/fabio/tmp/ccYSRSqA.o(.text+0xa0): In function `install_allegro': : undefined reference to `_install_allegro' collect2: ld returned 1 exit status