I can't compile my own solver: illegal instruction constexpr v1906
Hi everyone, I'm trying to compile my own solver in Windows 10, Ubuntu 18.04 but i can't. The error is " illegal instruction constexpr..." I've seeing this post: OpenFOAM-plus#938 (closed) and when I modify the etc/bashrc file:
[WM_COMPILER_TYPE] - Compiler location:
= system | ThirdParty
export WM_COMPILER_TYPE=system
[WM_COMPILER] - Compiler:
= Gcc | Gcc4[8-9] | Gcc5[1-5] | Gcc6[1-5] | Gcc7[1-4] | Gcc8[12] |
Clang | Clang3[7-9] | Clang[4-6]0 | Icc | Cray | Arm | Pgi
export WM_COMPILER=Gcc (or export WM_COMPILER=Gcc74)
the ubuntu shell says "No completion added for /opt/OpenFOAM/OpenFOAM-v1906/platforms/linux64Gcc73DPInt32Opt/bin ... incorrect platform, or not yet compiled?"
What should I do to fix this?
Thanks,
## Reattaching the author to the issue ticket: @RoderickZ ##