Compile On Mac

Getting Spring

Follow this guide: http://springrts.com/wiki/Spring_on_MacOSX

Getting dependecies

If you installed Spring from the above guide you should have installed almost all things required for SpringLobby, with the exception of wxWidgets and some optional deps

Getting wxWidgets

The version in Macports does -- at the time of writing -- not even compile, so we need to get a development version from SVN. The latest SVN revision was broken for me, YMMV. r62866 is reported to be working.

mkdir wxWidgets
cd wxWidgets
svn co -r 62866 http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/ .

Since we use the SVN version we need to generate makefiles, and Snow Leopard Requires that we use the Cocoa version:

./autogen.sh
mkdir builddir
cd builddir
../configure --enable-unicode --with-osx_cocoa
make

If all went well you can now run sudo make install to finish of.

Mac OS X includes its own broken version of wx, so we need to rename wx-config and wxrc so that SpringLobby will find our fresh version.

sudo mv /usr/bin/wx-config /usr/bin/wx-config28
sudo rm /usr/bin/wxrc #this is actually a symlink to /usr/bin/wxrc-28

Getting SpringLobby

SpringLobby version 0.63 did not compile on my computer. Unless there is a new version you might want to use the fixed version by BrainDamage.

We're going to get the latest git revision and pull in the fixes made by BrainDamage:

git clone git://springlobby.info/git/buildbot/springlobby.git
cd springlobby
git remote add bd git://springlobby.info/git/BrainDamage/springlobby.git
git pull bd master

Building SpringLobby

Building is nothing special, but often fails, and if it does, you can return to "Getting wxWidgets" and start all over again, changing things like one tiny parameter.
You can try to build with support for torrent, sound and translate on, but I found it very problematic, so left them off.

mkdir builddir
cd builddir
cmake .. -DOPTION_TORRENT_SYSTEM=OFF -DOPTION_TRANSLATION_SUPPORT=OFF -DOPTION_SOUND=OFF
make