Problems for quickstart tutorial

Hi, everyone. I am trying to run the Quickstart. However, when I proceed to Building the rigid body solver, cmake . is fine but after running make, there is an error:

fatal error: precice/SolverInterface.hpp: No such file or directory
    3 | #include <precice/SolverInterface.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/rigid_body_solver.dir/build.make:76: CMakeFiles/rigid_body_solver.dir/rigid_body_solver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/rigid_body_solver.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
``
Could anyone assist me in troubleshooting this issue?

Hi,
The used tutorial version is still using preCICE v2.
The develop branch has the correct version.

Thank you sir, I’ll give it a try.

You can find compatible combinations of versions in the specifications of the preCICE Distribution: The preCICE distribution | preCICE - The Coupling Library

As @fsimonis wrote, you most probably were using preCICE v3 but the tutorials for preCICE v2. It took us some time to release all components for preCICE v3, that’s why you got such confusing errors.

We have now added a better error message for the case of using an incompatible configuration, and we have edited the Quickstart tutorial documentation to refer to specific released versions, instead of branches. This should allow us in the future to only update all versions at once, without users downloading branches from the repositories.

We are also working on adding more information in the tutorials configuration files to more easily determine which preCICE version some configuration file was written for.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.