docs: list all required build dependencies and clang version in BUILDING.md - #119
docs: list all required build dependencies and clang version in BUILDING.md#119CEnnisgit wants to merge 1 commit into
Conversation
…ING.md On a fresh Ubuntu 24.04 install, following BUILDING.md fails at configure time: Vulkan-Loader requires pkg-config and hidapi requires libudev-dev. Without the X11/Wayland dev headers, Vulkan-Loader and GLFW silently build without window-system support. CI already installs all of these (.github/workflows/rpcsx.yml); this brings the docs in line with it. Also document the clang toolchain requirements: clang >= 19 for C++23 relaxed constexpr (P2448) — clang 18 fails in rx/StaticString.hpp and gcn-shader/src/eval.cpp — plus clang-tools for the clang-scan-deps binary CMake needs for dependency scanning. Verified: g++-14 and clang-20 build commit e8ae148 clean; clang-18 does not. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WyB6A1ZejZwDLADJ9J525Y
|
Noting the overlap with #100, which flagged the missing It also answers the WSL question raised in #100's thread: on WSL2 Ubuntu 24.04, current master (e8ae148) configures and builds clean with both g++-14 and clang-20 + clang-tools-20 once the packages listed here are installed, and |
Following BUILDING.md on a fresh Ubuntu 24.04 install currently fails at configure time:
Could NOT find PkgConfig— 3rdparty/Vulkan-Loader hard-requirespkg-config(GitHub CI runners preinstall it, which is why CI never sees this)libudevpkg-config module → needslibudev-devThis PR updates the Debian dependency line to match what
.github/workflows/rpcsx.ymlalready installs, and adds a short clang section documenting that clang ≥ 20 plus the matchingclang-toolspackage (forclang-scan-deps) are required.Verified on commit e8ae148, fresh Ubuntu 24.04 x86_64:
rx/StaticString.hppandrpcsx/gpu/lib/gcn-shader/src/eval.cpprx/format.hpp(-Wenum-constexpr-conversionnot SFINAE-friendly until clang 20)🤖 Generated with Claude Code
https://claude.ai/code/session_01WyB6A1ZejZwDLADJ9J525Y