-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
虚拟机安装deepflame出现问题 #461
Comments
安装无DNN版本的也出现了同样的问题 |
这里提示说std::any是c++17标准才支持的,可以试试编译时加上-std=c++17试试。 |
这个报错我找了很久,我猜测的原因是deepflame更新后用了c++17标准,但原来还是指定了C++14来编译。结合GPT,我的解决步骤如下(我直接下载了zip文件,所以文件名多了个master,请自己更改指令) 还有就是openfoam7的wmake下的rules,这个我也逐一替换了它的默认标准,但感觉不是原因,如果还报错的话,可以更改rules下面的编译器标准。 |
@grabtheNS 的方法確實可行,但是最終還是沒辦法編譯成功 |
After several times of trial & error and asking GPT. Finally, I found a procedure that works for both ubuntu20.04 under windows WSL and ubuntu20.04 on standalone workstation. Original commands on deepflame document (https://deepflame.deepmodeling.com/en/latest/qs/install.html) . configure.sh --use_pytorch Add the commands below
. install.sh If it still fails, try to install again. |
@mactone 变为-std=c++17后遇到了新的报错,请问你有遇到这个问题吗 |
沒有欸,會不會是新版本的關係? 我之前裝的印象中是1.0的版本 |
跟着步骤走的,但是在最后一步. install.sh后,出现了问题,如图
路径什么的没有应该问题,安装中唯一不一样的一步就是在2. 克隆 DeepFlame 存储库时,我下载的源代码zip后解压的,没有使用git命令。
ubuntu版本是20.04,g++是9.4,anaconda是最新版的,openfoam是通过apt安装的,是哪里出了问题吗?
The text was updated successfully, but these errors were encountered: