[tlbuild] ATSUGetAttribute not found

David Carter-Hitchin david at carter-hitchin.clara.co.uk
Fri Apr 15 23:12:03 CEST 2011


Hi,

I'm trying to build latest TL (rsync'd as of a few days ago) on a modern iMac (10.7.0) , and running into this error:

g++ -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c  -I/Users/david/tex/texlive/source/Work/texk -I/Users/david/tex/texlive/source/texk -I../../../texk/web2c/xetexdir -DU_STATIC_IMPLEMENTATION -I/Users/david/tex/texlive/source/Work/libs/icu/include `cat /Users/david/tex/texlive/source/Work/libs/freetype2/ft-includes` -I/Users/david/tex/texlive/source/Work/libs/teckit/include -DXETEX_MAC  -DXETEX_GRAPHITE -I/Users/david/tex/texlive/source/Work/libs/graphite/include -I/Users/david/tex/texlive/source/Work/libs/zlib/include   -g -O2 -MT libxetex_a-XeTeXLayoutInterface.o -MD -MP -MF .deps/libxetex_a-XeTeXLayoutInterface.Tpo -c -o libxetex_a-XeTeXLayoutInterface.o `test -f 'xetexdir/XeTeXLayoutInterface.cpp' || echo '../../../texk/web2c/'`xetexdir/XeTeXLayoutInterface.cpp
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp: In function 'int GetFontCharRange_AAT(OpaqueATSUStyle*, int)':
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:867: error: 'ATSUGetAttribute' was not declared in this scope
../../../texk/web2c/xetexdir/XeTeXLayoutInterface.cpp:869: error: 'FMGetATSFontRefFromFont' was not declared in this scope
make[5]: *** [libxetex_a-XeTeXLayoutInterface.o] Error 1

Poking around I found the function in the .deps file:

#if !__LP64__
/*
 *  ATSUGetAttribute()   *** DEPRECATED ***
 *
 *  Deprecated:
 *    Use CTFontDescriptorCopyAttribute instead.

So, what is the plan here? Is someone working on this, does anyone need help with converting the code over?

Thanks,
David.





More information about the tlbuild mailing list