Hi all
I have the above library but it won’t compile on Rh9 with SDL-1.2.6 (which did
compile correctly):
[rylan at StefanLinux SDL_ttf-2.0.6]$ make
source=‘SDL_ttf.c’ object=‘SDL_ttf.lo’ libtool=yes
depfile=’.deps/SDL_ttf.Plo’ tmpdepfile=’.deps/SDL_ttf.TPlo’
depmode=gcc3 /bin/sh ./depcomp
/bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=""
-DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING=""
-DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL_ttf” -DVERSION=“2.0.6”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2
-I/usr/include/freetype2 -I/usr/local/include/SDL -D_REENTRANT
-I/usr/X11R6/include -DHAVE_OPENGL -c -o SDL_ttf.lo test -f 'SDL_ttf.c' || echo './'
SDL_ttf.c
mkdir .libs
gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
-DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL_ttf”
-DVERSION=“2.0.6” -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2
-I/usr/include/freetype2 -I/usr/local/include/SDL -D_REENTRANT
-I/usr/X11R6/include -DHAVE_OPENGL -c SDL_ttf.c -MT SDL_ttf.lo -MD -MP -MF
.deps/SDL_ttf.TPlo -fPIC -DPIC -o .libs/SDL_ttf.lo
SDL_ttf.c: In function TTF_OpenFontIndexRW': SDL_ttf.c:276:
ft_open_stream’ undeclared (first use in this function)
SDL_ttf.c:276: (Each undeclared identifier is reported only once
SDL_ttf.c:276: for each function it appears in.)
make: *** [SDL_ttf.lo] Error 1
[rylan at StefanLinux SDL_ttf-2.0.6]$
This very same library compiled perfectly with SDL-1.2.6 on Rh 7.3.
Any idea how I can fix this so I can use it on Rh9? Is this an error caused by
Rh9?
Thanks!–
Stefan Viljoen
Software Support Technician
Polar Design Solutions
Hello.
I just think of one thing. It seems taht there is no problem with SDL_ttf.
By reading :
SDL_ttf.c:276: `ft_open_stream’ undeclared (first use in this function)
I think the problem comes from freetype and not from SDL_ttf.
Doy you have the freetype development libraries ? And di the configure go
from begining to the end, without errors ?
Aurelien
-----Message d’origine-----
De?: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] De la part de Stefan
Viljoen
Envoy??: vendredi 16 avril 2004 01:50
??: sdl at libsdl.org
Objet?: [SDL] SDL_ttf-2.0.6 won’t compile
Hi all
I have the above library but it won’t compile on Rh9 with SDL-1.2.6 (which
did
compile correctly):
[rylan at StefanLinux SDL_ttf-2.0.6]$ make
source=‘SDL_ttf.c’ object=‘SDL_ttf.lo’ libtool=yes
depfile=’.deps/SDL_ttf.Plo’ tmpdepfile=’.deps/SDL_ttf.TPlo’
depmode=gcc3 /bin/sh ./depcomp
/bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=""
-DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING=""
-DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL_ttf” -DVERSION=“2.0.6”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2
-I/usr/include/freetype2 -I/usr/local/include/SDL -D_REENTRANT
-I/usr/X11R6/include -DHAVE_OPENGL -c -o SDL_ttf.lo test -f 'SDL_ttf.c' || echo './'
SDL_ttf.c
mkdir .libs
gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
-DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL_ttf”
-DVERSION=“2.0.6” -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2
-I/usr/include/freetype2 -I/usr/local/include/SDL -D_REENTRANT
-I/usr/X11R6/include -DHAVE_OPENGL -c SDL_ttf.c -MT SDL_ttf.lo -MD -MP -MF
.deps/SDL_ttf.TPlo -fPIC -DPIC -o .libs/SDL_ttf.lo
SDL_ttf.c: In function TTF_OpenFontIndexRW': SDL_ttf.c:276:
ft_open_stream’ undeclared (first use in this function)
SDL_ttf.c:276: (Each undeclared identifier is reported only once
SDL_ttf.c:276: for each function it appears in.)
make: *** [SDL_ttf.lo] Error 1
[rylan at StefanLinux SDL_ttf-2.0.6]$
This very same library compiled perfectly with SDL-1.2.6 on Rh 7.3.
Any idea how I can fix this so I can use it on Rh9? Is this an error caused
by
Rh9?
Thanks!–
Stefan Viljoen
Software Support Technician
Polar Design Solutions
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Hi Vandoorine
How can I determine if I have the freetype development libraries?
Yes, the ./configure went perfectly. I checked and there is a line
checking for freetype-config… /usr/bin/freetype-config
in the ./configure output. Does this mean I do have the freetype development
libraries?
Anybody else got any ideas?
Thanks!–
Stefan Viljoen
Software Support Technician
Polar Design Solutions