使用windows和cmake进行Poppler编译时出错



我想用Cmake和VS2008为windows编译poppler。但是当我想用cmake配置它时,会产生以下错误:

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindFreetype.cmake:83 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:72 (find_package)

如何解决此问题?实际上,我该如何为windows编译它。

我相信您将不得不为windows安装FreeType包。

http://gnuwin32.sourceforge.net/packages/freetype.htm

相关内容

  • 没有找到相关文章