For Debian/Ubuntu distributions:
sudo apt install -y curl zip unzip tar pkg-config cmake ninja-build libvtk9-dev libxmu-dev libxi-dev libgl-dev libxt-dev libglvnd-dev libopengl-dev libglx-dev libegl-devfmt and cxxopts are fetched automatically by CMake when not installed.
VTK must be available on the system so find_package(VTK) can resolve it.
Choose the appropriate preset for your platform and configuration (e.g., macos-debug, macos-release, linux-debug, linux-release, win-x64-debug, win-x64-release).
PRESET=your-preset
cmake --preset=$PRESET
cmake --build --preset=$PRESET -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cp build/compile_commands.json . # Needed for C/C++ autocompletion and symbol search in VSCodeThe project builds a single Qt-based executable: vv.
Required UI dependencies are Qt6 Widgets and VTK::GUISupportQt.
To analyze your code for common issues and style problems, use:
cppcheck --check-level=exhaustive --enable=warning,style,performance,portability,unusedFunction --project=build/compile_commands.jsonNo need to build (already done in install script).
./install.shMake sure ~/.local/bin is in your PATH.