wmake出现No rule to make target
-
window安装ubuntu,openfoamV8,按照网站(http://dyfluid.com/docs/install.html)进行的安装,参考icoFoam添加温度项进行wmake编译时出现No rule to make target,请教下这是什么问题,有知道怎么解决的嚒,谢谢!
Make/files和option文件内容如下
出错提示
文件结构
-
@cpwpeng 顺利安装了么,icoFoam能运行么?如果wclean原生icoFoam,再wmake原生icoFoam能成功么
-
@李东岳 在 wmake出现No rule to make target 中说:
@cpwpeng 顺利安装了么,icoFoam能运行么?如果wclean原生icoFoam,再wmake原生icoFoam能成功么
顺利安装了,icoFoam可以跑cavity的案例
-
@cpwpeng 你终端切换到applicaitons/solvers/icoFoam,然后输入
wclean
,然后再输入wmake
, 看看能编译么 -
@李东岳 在 wmake出现No rule to make target 中说:
@cpwpeng 你终端切换到applicaitons/solvers/icoFoam,然后输入
wclean
,然后再输入wmake
, 看看能编译么
可以,没问题 -
@cpwpeng 那你把这个求解器拷贝到别的地方,然后wamke试试呢,如果能编译,那你就加温度呗
-
@李东岳 试了下,我应该是在修改icoFoam.C名字的时候将其写成icoFoam.c,后面的C大写更改名字后变成小写c了,我试了几次,发现就是这个问题。多谢多谢李老师
-