OpenFOAM22x编译错误
-
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
之前编译OpenFOAM22x出现错误,后来用这个语句弄好了,给需要的人好了。
https://www.cfd-online.com/Forums/openfoam-installation/163986-building-openfoam-3-0-archlinux.html