
在過去的一天和一點時間裡,我一直在嘗試按照他們的自述文件(https://github.com/root-project/root/blob/master/README.md)。
我正在我的主資料夾中執行所有操作(我希望這不是問題),但是當我輸入:
$ cmake ../root
cmake 運行約一分鐘後,將傳回以下錯誤:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_LIBRARY (ADVANCED)
linked by target "PyROOT" in directory /home/MYNAME/root/bindings/pyroot
答案1
我建議您使用以下提供的預先建置包https://root.cern/content/release-61206並迴避您嘗試從原始程式碼建立套件時遇到的所有問題。