You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install on mac os but getting these errors while compiling:
In file included from /Users/xg3401/software/proteus/build/unity_src/kernels_Unity.C:2:
/Users/xg3401/software/proteus/src/kernels/INSADEpsilonDissipation.C:21:13: error: reference member '_C_eps2' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
_C_eps2(getParam<Real>("C_eps2"))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/xg3401/software/proteus/build/header_symlinks/INSADEpsilonDissipation.h:21:18: note: reference member declared here
const ADReal & _C_eps2;
^
In file included from /Users/xg3401/software/proteus/build/unity_src/kernels_Unity.C:3:
/Users/xg3401/software/proteus/src/kernels/INSADEpsilonProduction.C:25:13: error: reference member '_C_eps1' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object
_C_eps1(getParam<Real>("C_eps1"))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/xg3401/software/proteus/build/header_symlinks/INSADEpsilonProduction.h:25:18: note: reference member declared here
const ADReal & _C_eps1;
^
2 errors generated.
make: *** [/Users/xg3401/software/moose/framework/build.mk:150: /Users/xg3401/software/proteus/build/unity_src/kernels_Unity.aarch64-apple-darwin20.0.0.opt.lo] Error 1
make: *** Waiting for unfinished jobs....
I installed the dependencies for MOOSE through conda. The MOOSE test app builds fine and all but a handful of the tests pass. I source the following before trying to compile:
I'm trying to install on mac os but getting these errors while compiling:
I installed the dependencies for MOOSE through conda. The MOOSE test app builds fine and all but a handful of the tests pass. I source the following before trying to compile:
and I believe the clang compiler installed in the conda environment is being used.
Any ideas on how to fix this? Thanks
The text was updated successfully, but these errors were encountered: