From bf39eea5b8ea6f5509274f00930b78197c9a0b2b Mon Sep 17 00:00:00 2001 From: liamwhite Date: Wed, 15 Mar 2023 11:59:14 -0400 Subject: [PATCH] Updated Building for macOS (markdown) --- Building-for-macOS.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Building-for-macOS.md b/Building-for-macOS.md index 57798fd..9c617c9 100644 --- a/Building-for-macOS.md +++ b/Building-for-macOS.md @@ -5,17 +5,20 @@ This article was written for developers. yuzu support for macOS is not ready for Install dependencies from Homebrew: ```sh -brew install autoconf automake boost@1.76 ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl qt@5 sdl2 speexdsp zlib zlib zstd +brew install autoconf automake boost@1.76 ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@5 sdl2 speexdsp zlib zlib zstd ``` Build with debug symbols (vcpkg is not currently used due to broken boost-context library): ```sh mkdir build && cd build export Qt5_DIR="/opt/homebrew/opt/qt@5/lib/cmake" -cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF +cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF ninja ``` +TODO: use newer vcpkg. This fixes the boost context library, and allows using the web service +TODO: figure out what's up with libusb + Run the output: ``` bin/yuzu.app/Contents/MacOS/yuzu