lcpp-org / crane

A MOOSE application dedicated to general Chemical ReAction NEtworks for plasma chemistry and thermochemistry problems.
https://crane-plasma-chemistry.readthedocs.io/
GNU Lesser General Public License v2.1
21 stars 20 forks source link

Make issue #76

Closed samuel171748 closed 3 years ago

samuel171748 commented 3 years ago

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!

keniley1 commented 3 years ago

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!

samuel171748 commented 3 years ago

Thank you for your help!

It works after following your advice!