Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » tuanhtrng
  • » Profile

Posts

Posts

I will give it a try. By the way, how did you know it was sundial problem? I am new to Linux.

I tried your suggestion and the problem seems to be gone. However, new error pops out.

Code:


[ 99%] Building CXX object Solver/Kinsol/CMakeFiles/OMCppKinsol.dir/KinsolLapack.cpp.o
cd /srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp/Build_dynamic/Solver/Kinsol && /usr/bin/clang++   -DOMC_BUILD -DOMCppKinsol_EXPORTS -DPMC_USE_SUNDIALS -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=7 -DUSE_DGESV -DUSE_LOGGER -DUSE_THREAD -std=c++11 -O2 -g -DNDEBUG -fPIC -I/srv/source/OpenModelica/OMCompiler/3rdParty/CMinpack/build/.. -I/srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp -I/srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp/Build_dynamic -I/srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp/Include -I/srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp/Solver    -o CMakeFiles/OMCppKinsol.dir/KinsolLapack.cpp.o -c /srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp/Solver/Kinsol/KinsolLapack.cpp
/srv/source/OpenModelica/OMCompiler/SimulationRuntime/cpp/Solver/Kinsol/KinsolLapack.cpp:44:22: error: assigning to
      'int (*)(struct KINMemRec *)' from incompatible type 'void (KINMem)': different return type ('int' vs 'void')
        kin_mem->kin_lfree  = KINLapackCompletePivotingFree;
                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I will be back from work, please take a look at the attachment. Thank you.
make-2>1-|-error.out

  • Index
  • » Users
  • » tuanhtrng
  • » Profile
You are here: