mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-24 03:15:42 +01:00
Page:
Building for macOS
Pages
Bounties
Building For Android
Building for Linux
Building for Windows
Building for macOS
Contributing
Contributor License Agreement Policy
Developer Information
Dumping Decryption Keys from a Switch Console
Dumping Game Cartridges
Dumping Installed Titles
FAQ
Home
How to Install and Use Game Updates
Open Source Page for testers
Overview of Switch Game Formats
Recommended GPU Drivers for Linux
Service Function Usage
Switch Hardware and Software
Switch Homebrew
Switch Mods
Troubleshooting Loader Errors
Typical Git Workflow
User Directory
Using a Controller or Android Phone for Motion or Touch Input
[Deprecated] Building Mesa on Arch Linux
_header
yuzu Web Service
34
Building for macOS
liamwhite edited this page 2023-03-15 11:59:37 -04:00
Please note this article is intended for development, and yuzu on macOS is not currently ready for regular use.
This article was written for developers. yuzu support for macOS is not ready for casual use.
Install dependencies from Homebrew:
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):
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 -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
To run with MoltenVK, install additional dependencies:
brew install molten-vk vulkan-loader
Run with Vulkan loader path:
export LIBVULKAN_PATH=/opt/homebrew/lib/libvulkan.dylib
bin/yuzu.app/Contents/MacOS/yuzu