FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Compiling the tutorial project

This tutorial shows a complete first-time workflow: clone the tutorial project, configure dependencies, build it, and run a simulation.

Before you start

Make sure you have completed Setup developer environment and have a valid license setup.

1) Clone the tutorial repository

git clone git@gitlab.sintef.no:marine-ict/fhsim/fhsim_tutorial.git
cd fhsim_tutorial

If you do not have SSH access, use your organization-approved HTTPS clone URL.

2) Configure and build

Recommended (Conan 2)

conan install . -s build_type=Debug -o fhsim/*:with_visualization=True --build=missing
conan build .

Alternative (single-command build)

conan build . -o fhsim/*:with_visualization=True -s build_type=Debug -b missing

3) Locate runtime binaries

After a successful build, go to your playpen/bin directory (path depends on layout/config), then verify the executable is available:

FhVis --help

4) Run a first simulation

Use one of the tutorial XML files (for example from input/) and run:

FhVis <path-to-input.xml>

Use FhSim if you want to run without visualization.

For detailed run options, see Running a compiled SimObject and Running simulations.