Building on MacOS - Windblade-GR01/Ikemen-GO Wiki

Original URL: https://github.com/Windblade-GR01/Ikemen-GO/wiki/Building-on-MacOS

Setup the development environment. (execute only once)

For mac, the easier way is using homebrew. Install homebrew following these instructions
Next, open a terminal and use homebrew to install the dependencies.

brew install caskroom/cask/brew-cask
brew install git go
brew install openal-soft

The following packages are not required but they makes it a lot easier to code.
brew cask install goland visual-studio-code

Get the code:
git clone https://github.com/Windblade-GR01/Ikemen-GO.git

Compiling

Open a terminal, move to downloaded folder:
cd Ikemen-GO

Compile:
make macos

Ikemen can be opened by double clicking Ikemen_GO, or with the terminal:
./Ikemen_GO

PS:
To run the engine you need the data, external, and font folders and a screenpack.
Download the screenpack files:
make elecbyte

Merge engine files:
cp -r Ikemen_GO data external font elecbyte

Run the executable:
cd elecbyte
./Ikemen_GO