From 3b7d0e7bf5423a667b9657c91b06d92d9660d9fb Mon Sep 17 00:00:00 2001 From: James Kuszmaul Date: Sat, 2 Aug 2025 23:08:58 -0700 Subject: [PATCH] [readme] Mention X11-dev dependency in developer README (#8150) Tested a bazel build of //... on a (relatively) clean Debian system. It feels like there is a more pricnipled list we could provide (e.g., libglfw3-dev), although I think most of those would also end up installing more than necessarily required. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a1a8692d4a..bd372eea9c 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,13 @@ Using Gradle makes building WPILib very straightforward. It only has a few depen - Raspberry Pi toolchain (optional) - Run `./gradlew installArm32Toolchain` after cloning this repository + On macOS ARM, run `softwareupdate --install-rosetta`. This is necessary to be able to use the macOS x86 roboRIO toolchain on ARM. On linux, run `sudo apt install gfortran`. This is necessary to be able to build WPIcal on linux platforms. +On linux, run `sudo apt install libx11-dev libgl-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev` to be able to build things depending on glfw. + ## Setup Clone the WPILib repository and follow the instructions above for installing any required tooling. The build process uses versioning information from git. Downloading the source is not sufficient to run the build.