Hi!

I am trying to compile alpha21 and I have this error :


if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/SDL -D_REENTRANT
-I./../include/  -I/usr/include/SDL -D_REENTRANT  -O3 -MT TrueTypeFont.o -MD
-MP -MF ".deps/TrueTypeFont.Tpo" -c -o TrueTypeFont.o TrueTypeFont.cpp; \
        then mv -f ".deps/TrueTypeFont.Tpo" ".deps/TrueTypeFont.Po"; else rm
-f ".deps/TrueTypeFont.Tpo"; exit 1; fi
TrueTypeFont.cpp: In member function 'bool
GAGCore::TrueTypeFont::load(const char*, unsigned int)':
TrueTypeFont.cpp:80: error: 'TTF_OpenFontRW' was not declared in this scope

Any idea why it does not compile ?

Did you install SDL TTF devel packages? If you have debian, install
libsdl-ttf2.0-dev

Martin


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to