( Bryon - I’m fwd’ing this to the libSDL.org mailing list. )
Hi SDL list, this fellow is having trouble installing Tux Paint thanks
to some parse errors when it hits the “SDL_ttf.h” include.
-bill!On Wed, Jul 24, 2002 at 12:06:14PM -0700, Bryon Gill wrote:
The freetype stuff, version 2.0.9-2, came from the redhat install cd. I
also tried compiling it from source and installing, no luck.
The SDL_ttf stuff came from libsdl.org though. I believe only the mixer
and the core files came from the install cd.
Hope that helps, I’d really like to try this out.
Oh yeah, I tried reinstalling all the font packages, freetype and freetype
devel, sdl_ttf and sdl_ttf-devel.
Finally, the “showfont” demo program works for the sdl_ttf installation.
In fact, I’ve gotten a number of other sdl programs that claim to require
ttf to work.
Bryon Gill (aka abe ferlman)
On Wed, 24 Jul 2002, nbs wrote:
On Wed, Jul 24, 2002 at 10:13:21AM -0700, Bryon Gill wrote:
Product: Tux Paint - 2002.07.19
OS: linux - redhat 7.3
I can’t seem to compile tuxpaint on my redhat 7.3 machine. I’ve doublechecked all the dependencies and they all seem to be there, including the devel packages. I get the following errors when I run make:
/usr/include/SDL/S[bryguy at bryfast tuxpaint-2002.07.19]$ make
cc -O2 -Wall -I/usr/include/SDL -D_REENTRANT -DDATA_PREFIX=\"/usr/local/lib/tuxpaint/\" -D__SOUND -DLANG_EN -DLANG=\“EN\” -DDOC_PREFIX=\"/usr/local/share/doc/tuxpaint/\" -c src/tuxpaint.c -o obj/tuxpaint.o
In file included from src/tuxpaint.c:57:
/usr/include/SDL/SDL_ttf.h:45: parse error before
TTF_Init\' /usr/include/SDL/SDL_ttf.h:45: warning: type defaults toint’ in declaration of `TTF_Init’
/usr/include/SDL/SDL_ttf.h:45: warning: data definition has no type or storage class
Huh - Bizarre. Did FreeType2 get installed when you installed the
If not, make sure to install it and then try again.
(You’d think there’d be a notiable dependency error when trying to
install the SDL_ttf packages. Where did you get the RPMs? From libsdl.org
or from your RedHat install CDs?)