Skip to content

Instantly share code, notes, and snippets.

@Jordach

Jordach/guide.md Secret

Last active November 12, 2021 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jordach/4f3e933f9be6b09283e30a29ddbcf833 to your computer and use it in GitHub Desktop.
Save Jordach/4f3e933f9be6b09283e30a29ddbcf833 to your computer and use it in GitHub Desktop.

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
@unknownPlayer666
Copy link

this does not really work my dear ppl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment