Cuberite Forum

Full Version: How to build on Mac
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I had a little trouble with CryptoPP not supporting the xCode compiler so here are my instructions.

1. Download xCode, make sure you install the command line tools.

2. Grab MCServer source with the command "svn checkout http://mc-server.googlecode.com/svn/trunk/ mc-server-read-only" (Without quotes)


EDIT: This step is no longer needed. You can safely skip it.
3. Delete the following files:
'CryptoPP/sosemanuk.h'
'CryptoPP/salsa.h'
'CryptoPP/salsa.cpp'
'CryptoPP/sosemanuk.cpp'

4. Go to the mc-server directory in terminal, and type "make release=1" This may take awhile depending on your computer. Once its done, ta-da, you have compiled MCServer!

EDIT: Get the build scripts here: https://code.google.com/p/mac-builds/sou...2Fmcserver
Once you have build with the auto script, do not use it again unless you want to lose your worlds. Use the update script which is coming in a minute.
this wil propably help to get more people involved with MCServer Smile
I'm new to C and want to learn C++ to help mc-server Smile
me toTongue
This could have gone into the wiki as well, make a new subpage inside Compiling, name it "Compiling on a Mac". Or if it's similar enough, squeeze it into the Linux / gcc part?
Ok, I'll do that when I get home and update the build script to remove the removing of salsa and sosmoekthing.