How to build on Mac
#1
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.
Reply
Thanks given by:
#2
this wil propably help to get more people involved with MCServer Smile
Reply
Thanks given by:
#3
I'm new to C and want to learn C++ to help mc-server Smile
Reply
Thanks given by:
#4
me toTongue
Reply
Thanks given by:
#5
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?
Reply
Thanks given by:
#6
Ok, I'll do that when I get home and update the build script to remove the removing of salsa and sosmoekthing.
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)