Cuberite Forum
How to build on Mac - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: How to build on Mac (/thread-662.html)



How to build on Mac - Sxw - 12-27-2012

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/source/browse/#git%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.


RE: How to build on Mac - NiLSPACE - 12-27-2012

this wil propably help to get more people involved with MCServer Smile


RE: How to build on Mac - Sxw - 12-27-2012

I'm new to C and want to learn C++ to help mc-server Smile


RE: How to build on Mac - NiLSPACE - 12-27-2012

me toTongue


RE: How to build on Mac - xoft - 12-27-2012

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?


RE: How to build on Mac - Sxw - 12-28-2012

Ok, I'll do that when I get home and update the build script to remove the removing of salsa and sosmoekthing.