Bon, j'ai des erreurs, malgré l'installation de Allegro5-dev et toute sa suite :
folco@Foch:~/Pasta Crocket$ gcc main.c -o pasta
main.c:171:5: error: conflicting types for ‘random’
int random(int k)
^
In file included from /usr/include/allegro5/base.h:36:0,
from /usr/include/allegro5/allegro.h:26,
from main.c:4:
/usr/include/stdlib.h:321:17: note: previous declaration of ‘random’ was here
extern long int random (void) __THROW;
^
main.c:17:24: error: conflicting types for ‘al_destroy_sample’
#define oslDeleteSound al_destroy_sample
^
main.c:312:6: note: in expansion of macro ‘oslDeleteSound’
void oslDeleteSound(OSL_SOUND sound)
^
In file included from /usr/include/allegro5/base.h:50:0,
from /usr/include/allegro5/allegro.h:26,
from main.c:4:
/usr/include/allegro5/allegro_audio.h:176:1: note: previous declaration of ‘al_destroy_sample’ was here
ALLEGRO_KCM_AUDIO_FUNC(void, al_destroy_sample, (ALLEGRO_SAMPLE *spl));
^
Mais pas de souci, je lancerai sous Windows
