我正在用cmake Gui構建Cairo。 當我打 '配置',CMake的是顯示以下錯誤:找不到Pixman - Cmake錯誤
Could NOT find PIXMAN, try to set the path to PIXMAN root folder in the system variable PIXMAN (missing: PIXMAN_LIBRARIES PIXMAN_INCLUDE_DIRS)
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
CMake Error at C:/cmake-3.7.0-rc1-win32-x86/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
Call Stack (most recent call first):
C:/cmake-3.7.0-rc1-win32-x86/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/cmake-3.7.0-rc1-win32-x86/share/cmake-3.7/Modules/FindPNG.cmake:146 (find_package_handle_standard_args)
CMakeLists.txt:7 (find_package)
我已經下載的zlib,libpng的,Pixman源文件。 在哪裏放置這些文件? 我覺得FindPixaman.cmake文件需要修改:
# PIXMAN_ROOT_DIR - Set this variable to the root installation of PIXMAN
如何設置的PIXMAN_ROOT_DIR
路徑安裝根?