First time here? Checkout the FAQ!
x
0 votes
by (120 points)

I put it in this path: ~/openCARP_v18/physics/limpet/models
Then return to ~/openCARP_v18 and execute the following command:

cmake -S. -B_build -DUPDATE_IMPLIST=ON

cmake --build _build

Then the following error pops up:

/home/dengdd04/software_installed/opencarp_allversion/openCARP_v18/_build/physics/limpet/imps_src/Fibroblast_Maleckar09.cc: In member function ‘virtual uint32_t limpet::Fibroblast_Maleckar09IonType::moddat() const’:

/home/dengdd04/software_installed/opencarp_allversion/openCARP_v18/_build/physics/limpet/imps_src/Fibroblast_Maleckar09.cc:59:3: error: return-statement with no value, in function returning ‘uint32_t’ {aka ‘unsigned int’} [-fpermissive]

   59 |   return Fibroblast_Maleckar09_MODDAT;

      |   ^~~~~~

make[2]: *** [physics/limpet/CMakeFiles/limpet.dir/build.make:1774: physics/limpet/CMakeFiles/limpet.dir/imps_src/Fibroblast_Maleckar09.cc.o] Error 1

make[1]: *** [CMakeFiles/Makefile2:584: physics/limpet/CMakeFiles/limpet.dir/all] Error 2

Has anyone encountered this issue before or knows what might be causing this error?

Thanks in advance for your help!

1 Answer

0 votes
ago by (19.7k points)
It's hard to provide guidance when the .cc/.h/.model files are not attached.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...