ROBAST软件安装问题

其它类软件,非上述版软件
回复
Ye2019
帖子: 1
注册时间: 2021-04-16 16:15
系统: Ubuntu20.04

ROBAST软件安装问题

#1

帖子 Ye2019 » 2021-04-16 16:21

我在尝试安装ROBAST软件,是一个linux下的照明光学软件,http://robast.github.io/user_guide.html#,这个软件依赖于root.cern包,https://root.cern/.
现在root可以呈现出想要的效果,但是测试robast,就会提示找不到头文件。我怀疑是路径问题。

ROBAST depends on only ROOT libraries. If you have already installed ROOT on your Linux or Mac, please check whether environmental variables ROOTSYS, LD_LIBRARY_PATH, and PATH are properly set in your shell. If ROOTSYS points to /usr/local/root for example, LD_LIBRARY_PATH and PATH are usually set to /usr/local/root/lib and /usr/local/root/bin, respectively.

这一段提示里,ROOTSYS 指的是什么,以及
In addition, you must add the ROBAST include directory to the ROOT search path. Add the following line to your existing $HOME/.rootlogon.C

gInterpreter->AddIncludePath("YOUR_ROBAST_DIRECTORY/include");

这个,应该加在哪里?
求助,孩子装了一个星期了。。。
onlylove
论坛版主
帖子: 5234
注册时间: 2007-01-14 16:23

Re: ROBAST软件安装问题

#2

帖子 onlylove » 2021-04-16 23:09

一个星期啊,翻字典也该查明白了吧?
ROOTSYS是environmental variables,那句话让你检查ROOTSYS, LD_LIBRARY_PATH,和 PATH 配置对了没
下面这两句让你改个文件,文件里加上下面那一行
In addition, you must add the ROBAST include directory to the ROOT search path.

Add the following line to your existing $HOME/.rootlogon.C
回复