Skip to content

Instantly share code, notes, and snippets.

@Jordach

Jordach/guide.md Secret

Last active Apr 5, 2021
Embed
What would you like to do?

Building Mac Minetest for Dummies:

Brew Requesites:

Install brew if you already haven't and ensure xcode-tools are installed.

https://brew.sh

brew install cmake freetype gettext jpeg libogg libvorbis

If you have an Intel Mac:

brew install luajit

If you have an M1 or ARM64 Mac:

brew install lua@5.1

Downloading and compiling IrrlichtMT:

git clone https://github.com/minetest/irrlicht
cd irrlicht
cmake . -DBUILD_SHARED_LIBS=FALSE
make -j8
cd ..

Downloading and compiling Minetest:

git clone https://github.com/minetest/minetest
cd minetest
cmake . -DRUN_IN_PLACE=FALSE -DIRRLICHT_INCLUDE_DIR=/../irrlicht/include -DIRRLICHT_LIBRARY=/../irrlicht/lib/OSX/libIrrlichtMt.a 
make package -j8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment