我正在努力構建剛剛出來的帝國克隆時代,開始爲它編寫代碼。無法找到PythonLibs(要求3.3,但我有2.7.6)
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