MonoGame Development on Mac M1 using .net 6 arm64

bartron on 4/19/2022

Currently MonoGame (as of version 3.8) doesn't provide native libraries for SDL or OpenAL-Soft.  You can compile your own so they get included when you build locally on a Mac.

SDL

cd ~/code
git clone https://github.com/libsdl-org/SDL
cd SDL
mkdir build
cd build
../configure
make
sudo make install

 

OpenAL-Soft

cd ~/code
git clone https://github.com/kcat/openal-soft
cd openal-soft
cd build
cmake ..
make
sudo make install

 

After both are compiled, when you build your MonoGame game using .net 6 arm64 on a Mac, it'll run with native libraries.

Tags