From 1871ef3c2dfbdbc88f8af31286989cffb749af3a Mon Sep 17 00:00:00 2001 From: bilibili12433014 <717427401@qq.com> Date: Thu, 16 Apr 2026 16:58:12 +0800 Subject: [PATCH] docs(user-guide): add Linux desktop build prerequisites for Rust builds - add Debian/Ubuntu desktop build prerequisites to the Rust source build guide - document required GTK/WebKit development packages for Linux release builds - add a matching troubleshooting entry for native desktop build dependencies - keep installation and troubleshooting guidance aligned and context-consistent --- docs/user-guide.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/docs/user-guide.md b/docs/user-guide.md index 08a2e5da..08d4939b 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -103,6 +103,20 @@ Example: `docker run -e CSI_SOURCE=esp32 -p 3000:3000 -p 5005:5005/udp ruvnet/wi ### From Source (Rust) +On Debian/Ubuntu-based Linux systems, install the native desktop prerequisites before the first Rust release build: + +```bash +sudo apt update +sudo apt install -y \ + build-essential pkg-config \ + libglib2.0-dev libgtk-3-dev \ + libsoup-3.0-dev \ + libjavascriptcoregtk-4.1-dev \ + libwebkit2gtk-4.1-dev +``` + +This prepares the native GTK/WebKit dependencies used by the desktop/Tauri crates in this workspace. + ```bash git clone https://github.com/ruvnet/RuView.git cd RuView/rust-port/wifi-densepose-rs @@ -1582,6 +1596,28 @@ rustup update stable rustc --version ``` +### Build: Linux native desktop prerequisites + +If you are compiling the Rust workspace on a Debian/Ubuntu-based Linux system, install the native desktop development packages first: + +```bash +sudo apt update +sudo apt install -y \ + build-essential pkg-config \ + libglib2.0-dev libgtk-3-dev \ + libsoup-3.0-dev \ + libjavascriptcoregtk-4.1-dev \ + libwebkit2gtk-4.1-dev +``` + +Then rerun: + +```bash +cargo build --release +``` + +This is the same Linux pre-step referenced in the Rust source build section and covers the common GTK/WebKit `pkg-config` requirements used by the desktop build. + ### Windows: RSSI mode shows no data Run the terminal as Administrator (required for `netsh wlan` access). Verified working on Windows 10 and 11 with Intel AX201 and Intel BE201 adapters.