Libsdl-ttf2.0

my apology for double mail

gcc showfont.c sdl-config --cflags --libs
/tmp/ccinPL2I.o(.text+0x272): In function main': : undefined reference toTTF_Init’
/tmp/ccinPL2I.o(.text+0x2a7): In function main': : undefined reference toTTF_Quit’
/tmp/ccinPL2I.o(.text+0x4db): In function main': : undefined reference toTTF_OpenFont’
/tmp/ccinPL2I.o(.text+0x533): In function main': : undefined reference toTTF_SetFontStyle’
/tmp/ccinPL2I.o(.text+0x577): In function main': : undefined reference toTTF_RenderText_Solid’
/tmp/ccinPL2I.o(.text+0x59f): In function main': : undefined reference toTTF_RenderText_Shaded’
/tmp/ccinPL2I.o(.text+0x66b): In function main': : undefined reference toTTF_RenderText_Solid’
/tmp/ccinPL2I.o(.text+0x696): In function main': : undefined reference toTTF_RenderText_Shaded’
/tmp/ccinPL2I.o(.text+0x6c3): In function main': : undefined reference toTTF_RenderUTF8_Solid’
/tmp/ccinPL2I.o(.text+0x6ee): In function main': : undefined reference toTTF_RenderUTF8_Shaded’
/tmp/ccinPL2I.o(.text+0x7b4): In function main': : undefined reference toTTF_RenderUNICODE_Solid’
/tmp/ccinPL2I.o(.text+0x7dc): In function main': : undefined reference toTTF_RenderUNICODE_Shaded’
/tmp/ccinPL2I.o(.text+0x817): In function main': : undefined reference toTTF_CloseFont’
/tmp/ccinPL2I.o(.text+0x886): In function main': : undefined reference toTTF_FontHeight’
/tmp/ccinPL2I.o(.text+0x8f0): In function main': : undefined reference toTTF_CloseFont’
/tmp/ccinPL2I.o(.text+0xafa): In function main': : undefined reference toTTF_CloseFont’
collect2: ld returned 1 exit status

Try:

gcc showfont.c sdl-config --cflags --libs -lSDL_ttf

:wink:

-bill!On Sun, Oct 05, 2003 at 11:42:13AM +0200, NighTiger wrote:

my apology for double mail

gcc showfont.c sdl-config --cflags --libs