【发布时间】:2014-10-28 05:42:25
【问题描述】:
我正在努力构建刚刚发布的帝国时代克隆,并开始为其编写代码。但是,我在尝试运行配置时不断收到此错误:
CMake Error at /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required
is at least "3.3" (found PYTHON_LIBRARY-NOTFOUND)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:341 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/FindPythonLibs.cmake:197 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cpp/CMakeLists.txt:74 (find_package)
在出现错误之前我运行的命令是这样的:
./configure --mode=debug --cpp-compiler=clang++
这里也是 building.md 的链接,用于实际构建 openage 项目:https://github.com/SFTtech/openage/blob/master/building.md
【问题讨论】: