Monday, May 28, 2007

freetype internals

there are some ugly issues with freetype exposing internals and those being used by different projects.
if you get an error about ftobjs.h when compiling SDL_ttf just comment out the include and change the stream->memory = library->memory; to
stream->memory = NULL; somewhere around line 280
just as in this patch: http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/SDL_ttf/SDL_ttf-2.0.8-noftinternals.patch?revision=1.1

should compile fine then.

0 Comments:

Post a Comment

<< Home