Make issue
samuel171748 opened this issue · 2 comments
Dear Crane developer.
Hello! I'm Samuel Park
I have a problem when I compile the crane
The problem is
###################################################################################
/home/samuel/CCA-E/crane/src/userobjects/BoltzmannSolverScalar.C:127:16: error: invalid conversion from 'const VariableValue*' {aka 'const MooseArray'} to '__gnu_cxx::__alloc_traits<std::allocator<MooseArray>, MooseArray>::value_type' {aka 'MooseArray'} [-fpermissive]
127 | _args[i] = &coupledScalarValue("mole_fractions", i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const VariableValue* {aka const MooseArray*}
make: *** [/home/samuel/CCA-E/crane/../../projects/moose/framework/build.mk:122: /home/samuel/CCA-E/crane/build/unity_src/userobjects_Unity.x86_64-conda-linux-gnu.opt.lo] Error 1
#############################################################################################
Yesterday I redownload the MOOSE Framework, I didn't change anything in my MOOSE Framework. (I just followed the script)
I think this problem is the first problem, so I can not find the solution in the moose-users group
How can I solve this problem???
Thank you for you guys help!
This error was solved quite a while ago, so I suspect you might be using an older version of crane which is conflicting with your updated Moose version.
Make sure you have the latest version of Crane installed. Check that you are using the proper version (lcpp-org's crane version, specifically) by typing git remote -v. If you cloned this version, lcpp-org/crane should be listed under origin. Then update it by typing
git fetch origin
git pull origin master
If that doesn't work let me know!
Thank you for your help!
It works after following your advice!