diff --git a/docs/Caveats.md b/docs/Caveats.md index 107352b009..e7d62d33bf 100644 --- a/docs/Caveats.md +++ b/docs/Caveats.md @@ -65,7 +65,7 @@ export LIBGL_ALWAYS_SOFTWARE=1 ## OmniOS -Install `developer/gcc14` on OmniOS using pkgsrc. +Install `developer/gcc15` on OmniOS using pkgsrc. Since so many dependencies are missing on `OmniOS`, you may wish to use `-DCPMUTIL_FORCE_BUNDLED=ON` and `-DYUZU_USE_BUNDLED_OPENSSL=OFF`. @@ -74,21 +74,15 @@ For OmniOS you are required to build glslang yourself: sudo pkg install python-313 git clone --depth=1 https://github.com/KhronosGroup/glslang.git cd glslang -python3.13 ./update_glslang_sources.py +python3 ./update_glslang_sources.py cmake -B build -DCMAKE_BUILD_TYPE=Release -cmake --build build -- -j `nproc` +cmake --build build -- -j`nproc` cmake --install build ``` -It may be tempting to specify `-t glslang`, but this will cause installation to fail. So don't. +Use `gmake` to properly build all utilities. You require an X11 server, [this guide](https://web.archive.org/web/20260424200928/https://geekblood.wordpress.com/2017/10/26/installing-x11-and-a-desktop-environment-on-omnios/) details how to attain one, the links to pkgsrc on said guide [are better found here](https://pkgsrc.smartos.org/install-on-illumos/). -Using `--parallel` on CMake incorrectly passes `dmake ... -jn` instead of `dmake ... -j n`, this is a bug with OmniOS's CMake, it's recommended to not use this option until it's fixed. - -You may also need to install `gmake` in order to properly build FFmpeg, this is provided by the `build-essential` package. - -If it wasn't obvious already, you require a X11 server to properly run the emulator within OmniOS, [this guide](https://web.archive.org/web/20260424200928/https://geekblood.wordpress.com/2017/10/26/installing-x11-and-a-desktop-environment-on-omnios/) is a great starting point for that, the links to pkgsrc are outdated so follow [this exemplar](https://pkgsrc.smartos.org/install-on-illumos/) as well. - -For Solaris based OSes, `${CMAKE_SYSTEM_NAME}` isn't properly set on CMake (it's set to i686 on AMD64), you may find issues when building OpenSSL from `openssl-cmake`. +For Solaris based OSes, `${CMAKE_SYSTEM_PROCESSOR}` isn't properly set on CMake (it's set to i686 on AMD64, must be `amd64`), you may find issues when building OpenSSL from `openssl-cmake`. ## HaikuOS diff --git a/docs/Deps.md b/docs/Deps.md index 175704ceeb..b006b87812 100644 --- a/docs/Deps.md +++ b/docs/Deps.md @@ -316,7 +316,7 @@ sudo pkg install git cmake qt6 boost glslang libzip library/lz4 libusb-1 nlohman OmniOS ```sh -sudo pkgin install git cmake autoconf build-essential libusb-1 nasm gcc13 +sudo pkg install git cmake autoconf build-essential libusb-1 nasm gcc15 ffmpeg lz4 pkg-config unzip bash jq xsvc ``` [Caveats](./Caveats.md#omnios).