用homebrew安装:
pkg-config
SDL2
Qt5
CMake
下载citra-emu:
git clone --recursive https://github.com/citra-emu/citra
cd citra
git submodule update --init --recursive
使用CMake:
设置Qt5的位置:export Qt5_DIR=$(brew --prefix)/opt/qt5
export MACOSX_DEPLOYMENT_TARGET=10.9
mkdir build
cd build
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release
网友评论