upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/linux.md
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:59:12 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:59:12 -0500
commit46e078824d2b7a6ae8a8051d6adc7bf8011595cc (patch)
tree7d1f3d8843baaeaea36bc44fb6eff7723ccffe08 /docs/linux.md
parentd3741102e4760cdff7ebf9ca91510b5d8f5c96f7 (diff)
docs: build the prebuilt XMA2 decoder yourself, from this checkout
Configure checks only that the file passed with -DLEONIDA_XMA2_DECODER_LIB exists, not which source, version or target it was built from. Say so, and give the command that builds the library from this checkout's runtime/xma_decoder for x86_64-pc-windows-msvc, where it lands, that it needs only the Rust target (so it works on Linux), that the option stops CMake from rebuilding the decoder after source changes, and that a relative path given with -D is resolved against the directory CMake runs in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/linux.md')
-rw-r--r--docs/linux.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/linux.md b/docs/linux.md
index 4660f8d53..f051ca84a 100644
--- a/docs/linux.md
+++ b/docs/linux.md
@@ -86,7 +86,8 @@ and what fails there.
86For XMA2 audio, `runtime/CMakeLists.txt` builds `runtime/xma_decoder` for `x86_64-pc-windows-msvc` when `cargo` is on 86For XMA2 audio, `runtime/CMakeLists.txt` builds `runtime/xma_decoder` for `x86_64-pc-windows-msvc` when `cargo` is on
87`PATH`. Distribution Rust packages typically omit the Windows MSVC standard library, which leaves XMA voices silent 87`PATH`. Distribution Rust packages typically omit the Windows MSVC standard library, which leaves XMA voices silent
88unless you add the `x86_64-pc-windows-msvc` Rust target or pass a prebuilt static library with 88unless you add the `x86_64-pc-windows-msvc` Rust target or pass a prebuilt static library with
89`-DLEONIDA_XMA2_DECODER_LIB=<path>` ([runtime/xma_decoder/README.md](../runtime/xma_decoder/README.md)). 89`-DLEONIDA_XMA2_DECODER_LIB=<path>`, built yourself from this checkout's `runtime/xma_decoder` with the command in
90[runtime/xma_decoder/README.md](../runtime/xma_decoder/README.md).
90 91
91### Why there is no native Linux `gta6rt` 92### Why there is no native Linux `gta6rt`
92 93