mcpp Package Index
Modular C++23 packages for the mcpp build tool
216 packages
23 namespaces
397 versions
167 with examples
Install mcpp
xlings install mcpp -y
Don't have xlings yet?
Linux / macOS
curl -fsSL https://d2learn.org/xlings-install.sh | bash
Windows · PowerShell
irm https://d2learn.org/xlings-install.ps1.txt | iex
History line
-
09-05 21:13
mcpplibs.rules-cudaupdated SPeak -
09-05 21:13
mcpp.pluginsadded SPeak -
09-05 21:13
compat.eui-neoupdated SPeak -
09-05 21:13
compat.vulkanupdated SPeak -
09-05 21:13
compat.vulkan-runtimeupdated SPeak -
09-05 21:13
compat.opencladded SPeak -
09-05 21:13
compat.opencl-runtimeadded SPeak -
09-05 21:13
compat.opencl-headersadded SPeak
show
how you use it
namespace
aimol.tensorvia-cpu
0.2.3 — CPU backend of Tensorvia, ported to C++23 modules
import …;
boost-ext.ut
2.3.1 — [Boost::ext].UT — C++20 single-header unit testing framework, exposed as the C++23 module boost.ut
import boost.ut;
chriskohlhoff.asio
1.38.1 — Standalone asio exposed as the C++23 module `asio` (separate compilation)
import asio;#include "absl/strings/str_cat.h"
compat.boost-align
1.92.0 — Boost.Align 1.92.0 — aligned allocation functions, allocators and traits
#include <boost/align/align_down.hpp>
compat.boost-asio
1.92.0 — Boost.Asio 1.92.0 — networking/async I/O; the boostorg tree consumed by Boost.Beast
#include <boost/asio.hpp>
compat.boost-assert
1.92.0 — Boost.Assert 1.92.0 — configurable assert macros with source-location support
#include <boost/assert.hpp>
compat.boost-beast
1.92.0 — Boost.Beast 1.92.0 — HTTP and WebSocket networking on Boost.Asio (header-only)
#include <boost/beast.hpp>#include <boost/align/align_down.hpp>
compat.boost-compat
1.92.0 — Boost.Compat 1.92.0 — C++11-17 backports of newer standard facilities (invoke, to_chars)
#include <boost/align/align_down.hpp>
compat.boost-config
1.92.0 — Boost.Config 1.92.0 — platform/compiler/stdlib detection macros; root of the modular-boost header family
#include <boost/version.hpp>
compat.boost-container
1.92.0 — Boost.Container 1.92.0 — STL-compatible containers; Beast consumes allocator_traits
#include <boost/align/align_down.hpp>
compat.boost-container-hash
1.92.0 — Boost.ContainerHash 1.92.0 — hash_value and hash range combinators
#include <boost/align/align_down.hpp>
compat.boost-core
1.92.0 — Boost.Core 1.92.0 — core utilities: addressof, empty_value, ref, type.hpp shims
#include <boost/align/align_down.hpp>
compat.boost-describe
1.92.0 — Boost.Describe 1.92.0 — macro-based enum/class descriptions (feeds ContainerHash)
#include <boost/align/align_down.hpp>#include <boost/align/align_down.hpp>
compat.boost-intrusive
1.92.0 — Boost.Intrusive 1.92.0 — intrusive list/set hooks (Beast buffers and http::fields)
#include <boost/align/align_down.hpp>
compat.boost-io
1.92.0 — Boost.IO 1.92.0 — stream flag helpers (ios_state, ostream_put) and boost/io_fwd.hpp
#include <boost/align/align_down.hpp>#include <boost/align/align_down.hpp>#include <boost/align/align_down.hpp>#include <boost/align/align_down.hpp>
compat.boost-optional
1.92.0 — Boost.Optional 1.92.0 — optional values (Beast buffers_prefix uses in_place_init)
#include <boost/align/align_down.hpp>
compat.boost-predef
1.92.0 — Boost.Predef 1.92.0 — compiler/architecture/OS detection macros (feeds WinAPI)
#include <boost/align/align_down.hpp>
compat.boost-preprocessor
1.92.0 — Boost.Preprocessor 1.92.0 — preprocessor metaprogramming (feeds Utility/TypeTraits)
#include <boost/align/align_down.hpp>
compat.boost-smart-ptr
1.92.0 — Boost.SmartPtr 1.92.0 — shared/weak/scoped pointers plus boost/shared_ptr.hpp shims
#include <boost/align/align_down.hpp>
compat.boost-static-string
1.92.0 — Boost.StaticString 1.92.0 — fixed-capacity string behind beast::static_string
#include <boost/align/align_down.hpp>
compat.boost-system
1.92.0 — Boost.System 1.92.0 — error_code/system_error and the boost/cerrno.hpp shim
#include <boost/align/align_down.hpp>
compat.boost-throw-exception
1.92.0 — Boost.ThrowException 1.92.0 — common exception-raising infrastructure for Boost libraries
#include <boost/throw_exception.hpp>
compat.boost-type-index
1.92.0 — Boost.TypeIndex 1.92.0 — runtime type information with RTTI-free fallback
#include <boost/align/align_down.hpp>#include <boost/type_traits/is_same.hpp>
compat.boost-utility
1.92.0 — Boost.Utility 1.92.0 — result_of, compressed_pair, call_traits, in_place factories
#include <boost/align/align_down.hpp>#include <boost/uuid/uuid.hpp>
compat.boost-variant2
1.92.0 — Boost.Variant2 1.92.0 — never-empty variant (feeds Boost.System's result)
#include <boost/align/align_down.hpp>
compat.boost-winapi
1.92.0 — Boost.WinAPI 1.92.0 — WinAPI wrappers; owns boost/detail/winapi/* shims too
#include <boost/align/align_down.hpp>#include <catch2/catch_all.hpp>#include <c_api/concurrentqueue.h>#include <…>#include <…>#include <…>#include <…>#include <…>#include <curand.h>#include <curl/curl.h>
compat.cusolver
11.7.5.82 — cuSOLVER: dense and sparse direct solvers on the device (from the xim payload)
#include <…>#include <…>#include <eui_neo.h>#include <expat.h>
compat.ffmpeg
8.1.2 — FFmpeg 8.1.2 multimedia libraries, full source build (LGPL profile, multi-platform)
#include <libavformat/avformat.h>#include <ft2build.h>
compat.fribidi
1.0.16 — GNU FriBidi 1.0.16 — the Unicode bidirectional algorithm (UAX #9), the dependency pango needs for right-to-left text
#include <fribidi.h>import ftxui;#include "glad/glad.h"#include <GLFW/glfw3.h>
compat.glx-runtime
2026.08.08 — GLVND/GLX/OpenGL runtime for mcpp Linux window applications, from the xlings graphics stack
#include <…>
compat.gmp
6.3.0 — GMP -- GNU multiple precision arithmetic library (portable C kernels, built by mcpp)
#include <gmpxx.h>
compat.godot-cpp
10.0.0-rc1 — C++ bindings for the Godot GDExtension API (pre-generated bindings, no Python/SCons needed)
#include <godot_cpp/classes/editor_dock.hpp>
compat.gtl
1.2.0 — Greg's Template Library — C++20 hash maps, btrees, bit vectors and utilities (header-only)
#include <gtl/phmap.hpp>#include <…>#include <…>#include "../../../fixtures/httplib_compression_case.hpp"
compat.jwt-cpp
0.7.2 — jwt-cpp 0.7.2 — header-only JSON Web Token (JWT) library for C++, backed by OpenSSL
#include <jwt-cpp/jwt.h>#include <KHR/khrplatform.h>#include <…>#include <ffi.h>
compat.libgbm
25.0.7 — GBM buffer management API (Mesa), bound to the ecosystem's xim:mesa — zero host dependency
#include <gbm.h>
compat.libinput
1.31.3 — libinput 1.31.3 — touchpad, mouse, tablet and keyboard input handling for compositors
#include <libinput.h>#include "png.h"
compat.libseat
0.9.3 — libseat 0.9.3 — session and device handover for compositors, with the seatd and builtin backends
#include <libseat.h>
compat.libudev
1.0.5 — libudev-zero 1.0.5 — the libudev ABI without systemd or a daemon, for libinput
#include <libudev.h>#include <…>#include <webp/decode.h>#include <lua.h>
compat.mbedtls
3.6.1 — An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API
#include <mbedtls/sha256.h>#include <mimalloc.h>
compat.miniaudio
0.11.25 — Single-file audio playback and capture library with native backends and WAV/FLAC/MP3 decoding
#include <miniaudio.h>
compat.msdfgen
1.13 — msdfgen — multi-channel signed distance field generator (core + FreeType import)
#include <msdfgen/msdfgen.h>#include <mtdev.h>#include <mysql/jdbc.h>
compat.nanosvg
2026.07.09 — NanoSVG — small SVG parser that flattens paths to beziers, with an optional rasterizer
#include <nanosvg.h>
compat.openblas
0.3.33 — OpenBLAS — optimized BLAS, built from source (BLAS-only, no Fortran/LAPACK)
#include <cblas.h>#include <CL/cl.h>#include <…>#include <openssl/ssl.h>
compat.pcre2
10.44 — PCRE2 10.44 — 8-bit Perl-compatible regular expressions with Unicode properties, the dependency glib's GRegex is written against
#include <pcre2.h>
compat.pixman
0.46.4 — pixman 0.46.4 — low-level pixel manipulation, with runtime-dispatched x86 SIMD
#include <pixman.h>
compat.plf-hive
2026.07.31 — plf::hive — reference implementation of the proposed std::hive (header-only)
#include <plf_hive.h>
compat.protobuf
35.1 — Protocol Buffers — Google's data interchange format, C++ runtime (libprotobuf 35.1, static)
#include "google/protobuf/io/coded_stream.h"#include "re2/re2.h"
compat.recastnavigation
1.6.0 — Recast Navigation — navmesh generation (Recast) and runtime pathfinding (Detour); optional crowd simulation, tile cache and debug draw
#include <recastnavigation/Recast.h>
compat.redis-plus-plus
1.3.13 — C++ client for Redis (sync API; built from source, depends on compat.hiredis)
#include <…>#include <…>
compat.spdlog
1.17.0 — Fast C++ logging library (header-only by default, compiled via the `compiled` feature)
#include <spdlog/spdlog.h>
compat.spirv-reflect
1.4.357.0 — Khronos SPIRV-Reflect — reflection of descriptor bindings and interfaces from SPIR-V modules
#include <spirv_reflect.h>#include <sqlite3.h>#include <SQLiteCpp/SQLiteCpp.h>
compat.unixodbc
2.3.14 — unixODBC driver manager (libodbc with libodbcinst folded in), full source build
#include <…>
compat.usockets
0.8.8 — uSockets: eventing and networking layer under uWebSockets (libuv backend, no SSL)
#include <libusockets.h>
compat.uwebsockets
20.79.0 — uWebSockets: header-only HTTP/WebSocket server (libuv backend, no SSL, no zlib)
#include <…>#include <vulkan/vulkan.h>
compat.vulkan-memory-allocator
3.4.0 — AMD Vulkan Memory Allocator — device memory sub-allocation for Vulkan
#include <…>#include <…>
compat.wamr
2.4.5 — WebAssembly Micro Runtime — small-footprint WebAssembly interpreter from the Bytecode Alliance
#include <…>
compat.websocket
12.0.1 — IXWebSocket — pure C++ WebSocket client (RFC 6455), client-only, zero deps
#include <ixwebsocket/IXConnectionState.h>
compat.wil
1.0.260126.7 — Windows Implementation Library: header-only RAII for Win32 handles, COM and HRESULT
#include <wil/com.h>#include <X11/Xlib.h>#include <X11/Xcursor/Xcursor.h>#include <X11/extensions/Xext.h>#include <X11/extensions/Xfixes.h>#include <X11/extensions/Xinerama.h>#include <X11/extensions/Xinerama.h>#include <X11/extensions/Xrandr.h>#include <X11/extensions/Xrender.h>#include <xxhash.h>#include "yyjson.h"
ffmpeg.ffmpeg
8.1.2 — FFmpeg 8.1.2 C++ modules for mcpp (import ffmpeg.av;) on top of the compat.ffmpeg source build
import ffmpeg.av;
freedesktop.cairo
1.18.2 — cairo 1.18.2 — 2D vector drawing, backends as features with X11 off by default
import freedesktop.cairo;
freedesktop.egl
1.7.0 — libEGL — GLVND's vendor-neutral EGL dispatch, built from source, with a C++23 module
import khronos.egl;
freedesktop.fontconfig
2.15.0 — fontconfig 2.15.0 — font discovery and matching, every generated file produced by build.mcpp
import freedesktop.fontconfig;
freedesktop.glesv1
1.7.0 — libGLESv1_CM.so.1 — OpenGL ES 1.x (common profile) through GLVND, built from source, with a C++23 module
import khronos.glesv1;
freedesktop.glesv2
1.7.0 — libGLESv2.so.2 — OpenGL ES 2.0/3.x through GLVND, built from source, with a C++23 module
import khronos.glesv2;
freedesktop.libdisplay-info
0.2.0 — libdisplay-info 0.2.0 — EDID and DisplayID parsing, with the PNP vendor table pre-generated from a pinned hwdata
import displayinfo;
freedesktop.libevdev
1.13.7 — libevdev 1.13.7 — a wrapper for the Linux evdev input interface, event-name tables pre-generated
#include <libevdev.h>
freedesktop.libxkbcommon
1.13.2 — libxkbcommon 1.13.2 — keymap compilation and keyboard state, xkbcomp parser pre-generated
#include <xkbcommon/xkbcommon.h>
freedesktop.opengl
1.7.0 — libOpenGL.so.0 — version-neutral OpenGL through GLVND, built from source, with a C++23 module
import khronos.opengl;
freedesktop.wayland
1.26.0 — libwayland-client — the client side of the Wayland protocol, with a C++23 module wrapper
import freedesktop.wayland.client;
freedesktop.wayland-cursor
1.26.0 — libwayland-cursor 1.26.0 — load an XCursor theme into a wl_buffer, for clients that set their own pointer
#include <wayland-cursor.h>
freedesktop.wayland-egl
1.26.0 — libwayland-egl 1.26.0 — wl_egl_window, the bridge from a wl_surface to an EGL window surface
#include <wayland-egl.h>
freedesktop.wayland-protocols-stable
1.49.1 — wayland-protocols stable — xdg-shell, linux-dmabuf-v1, tablet-v2, viewporter, presentation-time
import …;
freedesktop.wayland-protocols-staging
1.49.1 — wayland-protocols staging — the tier upstream expects to stabilise unchanged
#include <wayland-protocols/xdg-shell-enum.h>
freedesktop.wayland-protocols-unstable
1.49.1 — wayland-protocols unstable — the zwp_*/zxdg_* protocols still in flux
import …;
freedesktop.wayland-scanner
1.26.0 — wayland-scanner — the Wayland protocol code generator, built from source
$ wayland-scanner
freedesktop.wayland-server
1.26.0 — libwayland-server — the compositor side of the Wayland protocol, with a C++23 module wrapper
import freedesktop.wayland.server;
freedesktop.wayland-util
1.26.0 — wayland's macros as a C++23 module — constants, container_of, list/array ranges
import freedesktop.wayland.util;import llamacpp;import gnome.gio;import gnome.glib;import gnome.gmodule;
gnome.gobject
2.82.5 — GObject 2.82.5 — the GLib type system: GType, signals, properties, closures and GValue
import gnome.gobject;
gnome.pango
1.56.1 — Pango 1.56.1 — international text layout: itemisation, shaping, bidi and line breaking
import gnome.pango;
gnome.pangocairo
1.56.1 — PangoCairo 1.56.1 — pango's cairo rendering backend, the usual entry point
import gnome.pangocairo;import gnome.pangoft2;
godotengine.godot-cpp-m
10.0.0-rc1 — C++23 module package for godot-cpp (import godot_cpp) — Godot GDExtension API, C++ API unchanged
import godot_cpp;
grpc.grpc
1.83.0 — gRPC 1.83.0 — vendored upstream source build with import grpc; (abseil/protobuf/re2/c-ares/OpenSSL come from this index)
import grpc;
grpc.grpc-plugin
1.83.0 — grpc_cpp_plugin 1.83.0 — the gRPC C++ code generator, buildable as an mcpp host tool
$ grpc_cpp_plugin
gzj-creator.galay
5.0.2 — C++23 coroutine networking and protocol framework with named Galay modules
import galay.utils;
llvm.compiler-rt-builtins
22.1.8.2 — The compiler-rt builtins as a source package: LLVM's replacement for libgcc — the routines a compiler emits calls to — compiled with the consuming program's own flags
import …;
marzer.tomlplusplus
3.4.0 — TOML config file parser and serializer for C++, exposed as C++23 module tomlplusplus
import tomlplusplus;
mcpp.plugins
0.1.0 — Official mcpp build plugins: rule packages under mcpp.rules.*, build-time utilities under mcpp.tools.*, each member selected by a feature (host-module)
import mcpp.plugins;
mcpplibs.aarch64-virt-rt
0.2.1 — Board support for QEMU's aarch64 virt machine — memory layout, startup, console and runner, on the zero-libc tier
import …;import mcpplibs.capi.lua;import clangtidy;import mcpplibs.cmdline;import mcpplibs.cmp;
mcpplibs.cortex-m-rt
0.2.5 — Board support for Cortex-M: startup, memory layout, semihosting console, and the runners that reach an emulator or a debug probe
import mcpplibs.cortex_m_rt;
mcpplibs.ffmpeg
0.0.3 — C++23 module package for FFmpeg (import ffmpeg.av) — full source build via compat.ffmpeg, C API unchanged
import ffmpeg.av;
mcpplibs.grpcgen
1.83.0 — protoc + grpc_cpp_plugin codegen as an importable mcpp build rule (host-module)
import grpcgen;import imgui.core;import mcpplibs.llmapi;
mcpplibs.openarch
0.9.0 — openarch: the architecture-mechanism layer — execution contexts, traps and address spaces, as one interface over several instruction sets
import mcpplibs.openarch;
mcpplibs.openkal
0.12.0 — openkal: a portable kernel ABI specification, and the C++ modules that declare it
import …;
mcpplibs.openkal-kit
0.2.0 — Facilities composed from openkal's interfaces, and not part of the specification
import …;
mcpplibs.openkal-libc
0.2.0 — A C library above openkal rather than above a kernel, written to test the claim that porting one library suffices
import …;
mcpplibs.openkal-linux
0.12.0 — The reference implementation of openkal for Linux, maintained as a worked example
import …;
mcpplibs.openkal-llvm-runtime
0.9.1 — LLVM's C++ runtime libraries -- libc++, libc++abi and libunwind -- configured for openkal-musl rather than for a host C library
import …;
mcpplibs.openkal-macos
0.9.0 — An implementation of openkal for macOS, which exists as much to test the specification as to be used
import …;
mcpplibs.openkal-musl
0.13.1 — musl 1.2.5 redirected onto openkal: one C library, ported once, above every implementation of the specification rather than above one kernel
import …;
mcpplibs.openkal-opensbi
0.6.0 — An implementation of openkal on the RISC-V Supervisor Binary Interface, portable across every machine whose firmware provides one
import …;
mcpplibs.openkal-uefi
0.6.0 — An implementation of openkal on UEFI Boot Services, for applications the firmware loads before an operating system exists
import …;
mcpplibs.openkal-windows
0.7.0 — An implementation of openkal for Windows, on the Win32 interfaces and the object manager beneath them, using no C runtime symbol
import …;
mcpplibs.riscv-virt-rt
0.7.1 — Board support for QEMU's RISC-V virt machine — picolibc, startup, memory layout and the emulator
import …;
mcpplibs.rules-cuda
0.1.0 — Compile CUDA device translation units as an importable mcpp build rule (host-module)
import mcpplibs.rules.cuda;
mcpplibs.sbase
0.1.3 — The suckless base utilities recompiled above openkal-musl: ninety-seven tools, sources unmodified, on Linux, macOS and Windows
$ basename
mcpplibs.std-freestanding
0.5.2 — The freestanding subset of the C++ standard library as one module — import mcpplibs.std.freestanding
import …;
mcpplibs.std-freestanding-alloc-kal
0.1.5 — The replaceable allocation functions for the freestanding subset, forwarded to openkal
import …;
mcpplibs.std-freestanding-alloc-libc
0.1.0 — The replaceable allocation functions for the freestanding subset, forwarded to the target's C library
import …;
mcpplibs.std-freestanding-nolibc
0.2.0 — memcpy, memmove, memset, memcmp and strlen for targets with no C library
import …;import mcpplibs.tinyhttps;import mcpplibs.xpkg;
neargye.magic_enum
0.9.8 — Header-only C++17 library for static reflection of enums, exposed as C++23 module magic_enum
import magic_enum;import nlohmann.json;
ocornut.imgui
1.92.8 — Dear ImGui 1.92.8 core and GLFW/OpenGL3 backend modules for mcpp (import imgui.core;)
import imgui.core;
opencv.opencv
5.0.0 — OpenCV 5.0.0 vendored + C++23 module layer — import opencv.cv; (single repo, no compat.opencv dependency)
import opencv.cv;
picolibc.picolibc
1.8.12.3 — picolibc as a source package: a freestanding C library compiled with the consuming program's own flags, so there is no multilib and no ABI convention to match
import …;
wlroots.wlroots
0.20.2 — wlroots 0.20.2 — modular Wayland compositor library, with DRM/libinput/session/GLES2/pixman/GBM built and X11 left out
import wlroots;No package matches.