在过去的一天和一点时间里,我一直在尝试按照他们的自述文件(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并回避您尝试从源代码构建包时遇到的所有问题。