2014-10-28 58 views
0

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

回答

0

Python 2.7已經很多年了(儘管仍然被廣泛使用),但是至少3.4版本已經出來了。升級Python(或並行安裝更新的版本),不要忘記提供所需頭文件和庫的相應「-dev」包。

相關問題