Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
请问 有人编译遇到过这个问题?先谢谢了
你没有opt文件下面的写入权限。https://askubuntu.com/questions/642744/read-write-permissions-in-opt-directory
opt
估计你的源代码是用apt下载的,或者是哪位大佬的祖传代码,所以默认安装位置改成了/opt。
各种教程的编译安装位置基本都在$HOME\OpenFOAM,不会有权限问题。 调整 OpenFOAM 的安装位置还是挺麻烦的。
$HOME\OpenFOAM
@东岳 @bestucan 谢谢两位老师,我把自己打算编译的东西添加到$FOAM_USER_APPBIN路径下了。下次安装openfoam的时候再注意这个问题吧。