5 # FREETYPE2_INCLUDE_DIR - the Freetype2 include directory6 # FREETYPE2_LIBRARIES - Link these to use Freetype226 endif (FREETYPE2_FOUND) FIND_PATH(_FREETYPE2_INCLUD
计划是使用FreeType by the Servo team的绑定。然而,我很难弄清楚它到底是如何使用的。我刚接触FreeType,所以我在关注他们的tutorial。我确实尝试了(诚然很可笑)来创建库句柄,例如: use freetype::freetype;
let library: freetype::FT_Library; 不出所料,这是行不通的。
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 Could NOT find Freetype(missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) /usr/share
/configure --host=aarch64-linux-android --prefix=/home/freetype-arm64 --without-zlib --without-harfbuzz这是库的文件夹结构: |---${ANDROID_ABI} |---freetype2|---freetype
---|Bunch of he