问题描述
我正在安装以下程序: THERMUS ,据我所知应该安装得很好.我通过ubuntu控制台安装此程序.但是当我运行make all
时,我收到了以下消息:
I was installing this program: THERMUS, that, as i know should install fine. I/m installing this program through ubuntu console. But when i run make all
i got this message:
我知道这可能是由于/main/中不存在文件TTMParticle.h引起的,但是我检查了-它在那里.
I know that it could be caused by the fact that file TTMParticle.h doesn't exist in /main/, but i checked - it's there.
推荐答案
您的环境变量THERMUS
设置不正确. 构建说明提及:
Your environment variable THERMUS
is not properly set. The build instructions mention:
它没有提到您必须执行export THERMUS
将该变量提供给其他进程(例如make
)使用,因此您可能已经忘记了这一点,或者根本没有设置THERMUS
.在没有实际尝试的情况下,我认为摆脱此消息的最快方法是按以下方式运行make
:
It does not mention that you have to do export THERMUS
to make that variable available to other processes, like make
, so you might have forgotten that -- or not have set THERMUS
at all. Without actually having tried it, I think the fastest way to get rid of this message is to run make
as follows:
THERMUS=.. make all
要找出问题所在,请签出出现问题的文件functions/makefile
.它提到:
To track down the issue, check out the file functions/makefile
where you problem occurs. It mentions:
SEP_CLASSESH = $(THERMUS)/main/TTMParticle.h \
并随后包含依赖项
$(FNCSO): $(FNCSS) $(SEP_CLASSESH)
这是导致实际错误的行,因为
which is the line that causes the actual error, because
FNCSO = BQConstrainQ.o \
这篇关于没有规则就没有目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!