Building
Hermes builds for Linux. The native mcpp build uses C++26 for the host and was verified on Linux x86-64 with GCC 16.2.1.
Build locally
Clone the repository and its submodules. The submodules provide pinned codec archives, protocol definitions, and GoogleTest.
git clone --recurse-submodules https://github.com/MrOz59/Hermes.git
cd Hermes
Prepare the local toolchain and development inputs
for your distribution. For the Web UI, use the Bun version in src_assets/common/assets/web/package.json and install the locked frontend dependencies
in the checkout before building.
bun install --cwd src_assets/common/assets/web --frozen-lockfile
bun run --cwd src_assets/common/assets/web typecheck
MCPP_HOME="$PWD/.mcpp/local-home" MCPP_TOOLCHAIN="path:$PWD/.toolchain" \
mcpp build --offline --release -p hermes-host --features web-assets
Wayland, X11, DRM, and VA-API are part of the default Linux host build. The migration guide lists the optional KWin, Qt tray, XTest, PyroWave, and CUDA features and shows how to build the session and card brokers separately.
CUDA
Enable cuda for NVFBC capture. The release build uses CUDA 12.9.1 with
GCC 14 for the CUDA translation unit in C++20, the newest dialect supported
by the pinned nvcc. A separate host compiler builds the rest of Hermes. See the local CUDA setup
for the project-local toolkit and compiler paths.
Rust interop
To develop or test a Rust component alongside Hermes's C++26 modules, follow the mcpp interop instructions. The Rust workspace guide covers Cargo, code checks, and browser-targeted WebAssembly.
Packages
The Linux package staging instructions show how to build the host, brokers, and companion tools with their installed asset and library paths. Package CI jobs specify distribution-specific dependencies and artifact assembly. See the build workflow.