[SDL] building SDL_ttf
Fausto Carvalho Marques SIlva
fausto at tse.gov.br
Thu Jul 5 07:25:09 PDT 2007
Bob Self wrote:
>I compiled SDL-1.2.11 (from SDL-1.2.11.tar.gz) using the current msys/mingw
>system. That seemed to go OK. I'm now trying to compile SDL_ttf-2.0.8. I ran
>'./configure' and the 'make'. But make gives the following errors.
>
>SDL_ttf.c:51:38: freetype/internal/ftobjs.h: No such file or directory.
>SDL_ttf.c:281: error: dereferencing pointer to incomplete type.
>
>
Thats because freetype internal hearder are no more exported since
version 2.2.0
>I read about commenting out lines 51 and 281 to get it to compile.
>It compiles now but I am wondering if it is ok to comment out line 281.
>Will it cause any memory leaks or uninitialize pointer, eg?
>
>
http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_ttf/SDL_ttf.c?r1=2497&r2=2971
No memory leak, the above patch resolves the bug with no problem.
And here is the bug opened for it:
http://bugzilla.libsdl.org/show_bug.cgi?id=320
I think in the next version of SDL_ttf it come applied.
Fausto Carvalho Marques Silva
More information about the SDL
mailing list