Boa noite, alquem já programou em Allegro no Fedora4 ??
Pq eu instalei allegro-4.0.3-13.i386.rpm e não estou conseguinto compilar. Allegro é uma biblioteca para c/c++
Quando eu digito: gcc Jhiad.c `allegro-config --libs` dá o seguinte erro:
bash: allegro-config: command not found
Jhiad.c:1:20: error: allegro.h: Arquivo ou diretório não encontrado
Jhiad.c: In function main:
Jhiad.c:19: error: GFX_AUTODETECT undeclared (first use in this function)
Jhiad.c:19: error: (Each undeclared identifier is reported only once
Jhiad.c:19: error: for each function it appears in.)
Jhiad.c:20: error: screen undeclared (first use in this function)
Jhiad.c:22: error: BITMAP undeclared (first use in this function)
Jhiad.c:22: error: teste undeclared (first use in this function)
Jhiad.c:24: error: NULL undeclared (first use in this function)
Jhiad.c:26: error: key undeclared (first use in this function)
Jhiad.c:26: error: KEY_ESC undeclared (first use in this function)
Jhiad.c:28: error: KEY_RIGHT undeclared (first use in this function)
Jhiad.c:34: error: font undeclared (first use in this function)
Jhiad.c:38: error: KEY_LEFT undeclared (first use in this function)
Jhiad.c:47: error: KEY_DOWN undeclared (first use in this function)
Jhiad.c:56: error: KEY_UP undeclared (first use in this function)
Jhiad.c: At top level:
Jhiad.c:75: warning: data definition has no type or storage class
Eu estou achando que é por causa do bash, pq eu estou usando o Shell. Alguem sabe como eu configuro o shell para "achar" o Allegro??
Muito obrigado, Fábio