A front-end to the CircAdapt_Library
- Real-time simulation and visualisation of cardiovascular biomechanics.
- git (to clone this repository)
- C++ compiler
- Supported compilers: g++, MSVC
- CMake 3.29 or higher
- Qt6
To be able to resolve the dependencies an ssh server needs to be started and set-up.
- Windows:
-
Open Services from the start menu
-
Scroll down to
OpenSSH Authentication Agent> right click > properties -
Change the Startup type from Disabled to any of the other 3 options, eg.
Automatic (Delayed Start) -
Run
ssh-addin cmd to add your ssh key to the agent. If you're using more than one ssh key, make sure that you append the path to the key you're using for authentication with gitlab.maastrichtuniversity.nl.
- Linux:
-
open terminal and run
systemctl start ssh-agent --user -
Run
ssh-add.
Clone the repository:
git clone https://gitlab.maastrichtuniversity.nl/circadapt/CircAdaptUI.gitor
git clone git@gitlab.maastrichtuniversity.nl:circadapt/CircAdaptUI.gitif you have SSH keys set up.
NOTE: In order to resolve dependencies from protected gitlab server, your SSH key needs to be added to a running ssh-agent.
cd CircAdaptUI
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DQT_DIR=/path/to/Qt/lib/cmake/Qt6 -DCMAKE_PREFIX_PATH=/path/to/Qt/lib/cmake
cmake --build . --target CircAdaptUI --config ReleaseIn order to run the executable, all the necessary Qt libraries need to be packed with the executable.
path/to/Qt/bin/windeployqt --dir path/to/deployment/dir path/to/CircAdaptUI.exeCopy the CircAdaptLib.dll (Windows) or CircAdaptLib.so (Linux) to the deployment directory.