C++ · Installation

Installation

#include <ucall/types.hpp> 1.0.0-rc.1 · b7577426

Ask your coding agent about this page, or add the docs server to it

curl -s 'https://www.unum.cloud/docs/ucall/cpp/installation.md' | claude -p "How would this fit my code?"

Build the static library from a checkout; the C++ headers sit over it and need nothing else:

cmake -B build_release -D CMAKE_BUILD_TYPE=Release
cmake --build build_release --target ucall_static

The C++ interface is header-only over the C one: cpp/ucall/*.hpp include only c/ucall/*.h and the standard library, and a program links ucall_static. In CMake, link ucall::cpp, which carries the C headers of ucall::abi and the archive ucall::static, and which find_package(ucall) names once installed, or add the repository as a subdirectory. It needs a C++23 compiler: GCC 15, Clang 22 with libstdc++ 15 or libc++ 22, Xcode 26 or VS 2026. It throws nothing. The library picks its I/O backend and CPU kernels when a server or client starts, so one build adapts to the kernel and CPU it runs on.

API

Functions

version_nameThe linked library's version, a release-candidate suffix included.
types.hpp:337 ↗
std::string_view version_name() noexcept;