[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Install problems with RedHat 7.3---> Help pls!



Hugues Belanger wrote:
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -D_REENTRANT 
> -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.2 -c 
> src/font.c -o build/temp.linux-i686-2.2/font.o
> In file included from src/font.h:24,
>                 from src/font.c:29:
> /usr/include/SDL/SDL_ttf.h:45: parse error before `TTF_Init'
> /usr/include/SDL/SDL_ttf.h:45: warning: type defaults to `int' in 
> declaration of `TTF_Init'
> /usr/include/SDL/SDL_ttf.h:45: warning: data definition has no type or 
> storage class


hmm, i've never seen anything like this before. it sure seems like 
there is a problem with the SDL_ttf header. looking at the header 
and the warnings all i can think is maybe the "DECLSPEC" is not 
being set right?

before we eliminate pygame as the problem, have you been able to 
compile any other programs that use SDL_ttf? even the little test 
program "showfont" that comes with SDL_ttf should be a good test?


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org