Citra を macOS でビルド

mac

Nintendo 3DS エミュレーターを macOS (Big Sur)上でビルドしてみます。

Citra – Nintendo 3DS Emulator
https://citra-emu.org

ソースコードはこちら

citra – github
https://github.com/citra-emu/citra

macOS上でのビルド方法

how to build on macOS
https://citra-emu.org/wiki/building-for-macos

簡潔に書くと以下を実行すればビルドできました。

前準備
% brew install pkgconfig
% brew install sdl2
% brew install qt5
% brew install cmake
% brew install openssl
% export Qt5_DIR=$(brew --prefix)/opt/qt5
ソースダウンロード
% git clone --recursive https://github.com/citra-emu/citra
ビルド

makefile 作成

% cd citra
% cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release

コンパイル
% make -j4

私の macBook Early 2015 で 3時間くらいかかりました。

コメント

タイトルとURLをコピーしました