<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daftalx</id>
	<title>Spring - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Daftalx"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Daftalx"/>
	<updated>2026-11-10T00:30:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17660</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17660"/>
		<updated>2011-10-18T08:04:12Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Important notice: as of the next engine release, this tutorial will be discontinued, as Spring will be available as a standalone Mac OS X .app bundle (so will SpringLobby).&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Last page update: 2011/08/01 by daftalx (updated SpringLobby to 0.135)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.135&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserve.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts binutils&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
the binutils are required for finding the source of a crash of spring, the utility addr2line is used.&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;games&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player games (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
As for the engine, installing SpringLobby comes down to a simple command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and [[SpringSettings]]) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.so&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Add bot in a game opens a tiny (one-pixel wide) window. Clicking it restores its size, but be precise !&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17658</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17658"/>
		<updated>2011-08-01T12:39:33Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Known bugs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/08/01 by daftalx (updated SpringLobby to 0.135)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.135&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserve.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts binutils&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
the binutils are required for finding the source of a crash of spring, the utility addr2line is used.&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;games&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player games (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
As for the engine, installing SpringLobby comes down to a simple command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.so&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Add bot in a game opens a tiny (one-pixel wide) window. Clicking it restores its size, but be precise !&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17657</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17657"/>
		<updated>2011-08-01T12:38:20Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Configure MacPorts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/08/01 by daftalx (updated SpringLobby to 0.135)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.135&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserve.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts binutils&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
the binutils are required for finding the source of a crash of spring, the utility addr2line is used.&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;games&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player games (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
As for the engine, installing SpringLobby comes down to a simple command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.so&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17656</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17656"/>
		<updated>2011-08-01T12:37:51Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: updated SL to 0.135&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/08/01 by daftalx (updated SpringLobby to 0.135)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.135&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://81.57.111.4/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts binutils&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
the binutils are required for finding the source of a crash of spring, the utility addr2line is used.&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;games&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player games (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
As for the engine, installing SpringLobby comes down to a simple command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.so&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17655</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17655"/>
		<updated>2011-07-12T22:47:28Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Install SpringLobby */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/07/13 by daftalx (updated SpringLobby)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.131&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://81.57.111.4/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts binutils&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
the binutils are required for finding the source of a crash of spring, the utility addr2line is used.&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;games&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player games (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
As for the engine, installing SpringLobby comes down to a simple command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.so&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17654</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17654"/>
		<updated>2011-07-12T22:47:01Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: updated SL to 0.131 and cleanup page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/07/13 by daftalx (updated SpringLobby)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.131&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://81.57.111.4/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts binutils&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
the binutils are required for finding the source of a crash of spring, the utility addr2line is used.&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;games&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player games (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
As for the engine, installing SpringLobby comes down to a simple command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.so&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17649</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17649"/>
		<updated>2011-06-07T21:53:03Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Sync MacPorts regularly */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/06/07 by daftalx (updated Spring version; changed MacPorts repo; removed qtlobby)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://81.57.111.4/macports/&lt;br /&gt;
&lt;br /&gt;
==Keep MacPorts up-to-date==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
and upgrade any outdated ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
With the latest upgrade of the Qt framework, and since QtLobby is now an unmaintained project, non-backwards compatibility have pushed qtlobby out of the game. So long for a promising lobby which died a bit too prematurely.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17648</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17648"/>
		<updated>2011-06-07T21:51:02Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Install MacPorts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/06/07 by daftalx (updated Spring version; changed MacPorts repo; removed qtlobby)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://81.57.111.4/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2011/06/01 11:40 PM: spring: added &amp;quot;freetype&amp;quot; &amp;amp; &amp;quot;py27-libxml2&amp;quot; dependencies (ver. 0.82.7.1)&lt;br /&gt;
*2011/04/15 11:27 AM: spring: Port updated (ver. 0.82.7.1)&lt;br /&gt;
*2010/10/21 02:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
With the latest upgrade of the Qt framework, and since QtLobby is now an unmaintained project, non-backwards compatibility have pushed qtlobby out of the game. So long for a promising lobby which died a bit too prematurely.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17647</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17647"/>
		<updated>2011-06-07T21:49:14Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: Updated MacPorts repository and Spring version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2011/06/07 by daftalx (updated Spring version; changed MacPorts repo; removed qtlobby)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.82.7.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
and upgrade your ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://81.57.111.4/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2011/06/01 11:40 PM: spring: added &amp;quot;freetype&amp;quot; &amp;amp; &amp;quot;py27-libxml2&amp;quot; dependencies (ver. 0.82.7.1)&lt;br /&gt;
*2011/04/15 11:27 AM: spring: Port updated (ver. 0.82.7.1)&lt;br /&gt;
*2010/10/21 02:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
With the latest upgrade of the Qt framework, and since QtLobby is now an unmaintained project, non-backwards compatibility have pushed qtlobby out of the game. So long for a promising lobby which died a bit too prematurely.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17646</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17646"/>
		<updated>2010-12-19T22:44:58Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2010/12/19 by daftalx (changed MacPorts repo; added Java Developer Package requirement)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.81.2.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
* QtLobby: 1.0 alpha rev. 597&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
and upgrade your ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserver.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2010/10/21 14:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
Although QtLobby is now an unmaintained project, it had acquired the reputation of being a both fast and stable alternative to TASclient and SpringLobby. Here is how it compares to the Mac port of SpringLobby:&lt;br /&gt;
*Interface is faster and more responsive&lt;br /&gt;
*Great IRC chat management&lt;br /&gt;
*Bots &amp;amp; Replays not supported (at all)&lt;br /&gt;
&lt;br /&gt;
Again, installing is as simple as&lt;br /&gt;
&lt;br /&gt;
     sudo port install qtlobby&lt;br /&gt;
&lt;br /&gt;
and launching is as simple as hitting&lt;br /&gt;
&lt;br /&gt;
     qtlobby&lt;br /&gt;
&lt;br /&gt;
As for SpringLobby, upon first run you will have to point to spring executable, unitsync library and data folder manually.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17645</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17645"/>
		<updated>2010-12-19T22:43:28Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: Added Java Developer Package requirement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2010/10/21 by daftalx (migrated the tutorial from the forum)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.81.2.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
* QtLobby: 1.0 alpha rev. 597&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install the Java developer packages==&lt;br /&gt;
&lt;br /&gt;
As of Apple&#039;s &amp;quot;Java for Mac OS X 10.6 Update 3&amp;quot;, headers for JNI (among other stuff) are no longer provided by default. In order to build spring AIs but also various dependencies, you should download and install the Java Developer package available on Apple&#039;s support site [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719 here] (NOTE: you must have an Apple ID to access this page. Feel free to post any public hard link in the forum to be added here instead).&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
and upgrade your ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserver.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2010/10/21 14:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
Although QtLobby is now an unmaintained project, it had acquired the reputation of being a both fast and stable alternative to TASclient and SpringLobby. Here is how it compares to the Mac port of SpringLobby:&lt;br /&gt;
*Interface is faster and more responsive&lt;br /&gt;
*Great IRC chat management&lt;br /&gt;
*Bots &amp;amp; Replays not supported (at all)&lt;br /&gt;
&lt;br /&gt;
Again, installing is as simple as&lt;br /&gt;
&lt;br /&gt;
     sudo port install qtlobby&lt;br /&gt;
&lt;br /&gt;
and launching is as simple as hitting&lt;br /&gt;
&lt;br /&gt;
     qtlobby&lt;br /&gt;
&lt;br /&gt;
As for SpringLobby, upon first run you will have to point to spring executable, unitsync library and data folder manually.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17644</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17644"/>
		<updated>2010-12-18T23:12:55Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Configure MacPorts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2010/10/21 by daftalx (migrated the tutorial from the forum)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.81.2.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
* QtLobby: 1.0 alpha rev. 597&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
and upgrade your ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line &#039;&#039;&#039;before&#039;&#039;&#039; the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserver.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2010/10/21 14:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
Although QtLobby is now an unmaintained project, it had acquired the reputation of being a both fast and stable alternative to TASclient and SpringLobby. Here is how it compares to the Mac port of SpringLobby:&lt;br /&gt;
*Interface is faster and more responsive&lt;br /&gt;
*Great IRC chat management&lt;br /&gt;
*Bots &amp;amp; Replays not supported (at all)&lt;br /&gt;
&lt;br /&gt;
Again, installing is as simple as&lt;br /&gt;
&lt;br /&gt;
     sudo port install qtlobby&lt;br /&gt;
&lt;br /&gt;
and launching is as simple as hitting&lt;br /&gt;
&lt;br /&gt;
     qtlobby&lt;br /&gt;
&lt;br /&gt;
As for SpringLobby, upon first run you will have to point to spring executable, unitsync library and data folder manually.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17643</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17643"/>
		<updated>2010-12-18T23:05:09Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: updated MacPorts repository address&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2010/10/21 by daftalx (migrated the tutorial from the forum)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.81.2.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
* QtLobby: 1.0 alpha rev. 597&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
and upgrade your ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line before the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserver.dyndns.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2010/10/21 14:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
Although QtLobby is now an unmaintained project, it had acquired the reputation of being a both fast and stable alternative to TASclient and SpringLobby. Here is how it compares to the Mac port of SpringLobby:&lt;br /&gt;
*Interface is faster and more responsive&lt;br /&gt;
*Great IRC chat management&lt;br /&gt;
*Bots &amp;amp; Replays not supported (at all)&lt;br /&gt;
&lt;br /&gt;
Again, installing is as simple as&lt;br /&gt;
&lt;br /&gt;
     sudo port install qtlobby&lt;br /&gt;
&lt;br /&gt;
and launching is as simple as hitting&lt;br /&gt;
&lt;br /&gt;
     qtlobby&lt;br /&gt;
&lt;br /&gt;
As for SpringLobby, upon first run you will have to point to spring executable, unitsync library and data folder manually.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3446</id>
		<title>Building Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_MacOSX&amp;diff=3446"/>
		<updated>2010-10-21T13:28:33Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: /* Duplicate and missing information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Building_spring|Building Spring]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
= Outdated information =&lt;br /&gt;
&lt;br /&gt;
This page now outdated and has been replaced by a more recent tutorial at [[Spring_on_MacOSX]].&lt;br /&gt;
&lt;br /&gt;
It is kept here for history and archiving purposes.&lt;br /&gt;
&lt;br /&gt;
=Build from source on MacOSX=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Guide is for x86/Intel based OSX installs&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I am hoping that with our efforts on the forum that we can have an .app bundle released everytime spring is updated and that will save most people needing to go through the headache of compiling from source code. But if you must try, then here&#039;s the steps to help!&lt;br /&gt;
&lt;br /&gt;
I cannot stress enough that this will most likely only work on Intel based systems at this stage. With my understanding of how unitsync works, it seems like online play will not be possible between PPC and x86 architecture.&lt;br /&gt;
&lt;br /&gt;
=Obtaining the Source=&lt;br /&gt;
{{Obtaining_The_Source_Code}}&lt;br /&gt;
&lt;br /&gt;
=Get Dependencies=&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. Most of these are available using [http://http://www.macports.org/ Macports] (similar to portage / apt-get etc available on various linux distro&#039;s)&lt;br /&gt;
&lt;br /&gt;
You will also need to install the [http://developer.apple.com/TOOLS/Xcode/ Xcode developers package] (this requires a free membership to apple&#039;s ADC website)&lt;br /&gt;
&lt;br /&gt;
==Full list==&lt;br /&gt;
&lt;br /&gt;
*Programs necessary to build&lt;br /&gt;
**Xcode&lt;br /&gt;
**cmake (or scons)&lt;br /&gt;
**zip&lt;br /&gt;
**The usual build toolchain&lt;br /&gt;
***gcc &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
***make &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
*Libraries&lt;br /&gt;
**SDL&lt;br /&gt;
**boost (version 1.35 or later recommended)&lt;br /&gt;
***threads&lt;br /&gt;
***regex&lt;br /&gt;
***signals&lt;br /&gt;
***system&lt;br /&gt;
**DeviL (IL, ILU)&lt;br /&gt;
**OpenAL &#039;&#039;Please check the OpenAL section for MacOSX specific info&#039;&#039;&lt;br /&gt;
**OpenGL headers (mesa, glew, etc.) &#039;&#039;(comes with Xcode tools)&#039;&#039;&lt;br /&gt;
**zlib&lt;br /&gt;
**freetype&lt;br /&gt;
**ogg,vorbis and vorbisfile&lt;br /&gt;
*Optional, for bindings and Ais&lt;br /&gt;
**Python (2.5)&lt;br /&gt;
**Java-SDK &#039;&#039;(pre-installed on OSX)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Using Macports==&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded and configured Macports use these commands to download / compile and install the required dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo port install cmake&lt;br /&gt;
sudo port install libsdl&lt;br /&gt;
sudo port install libsdl-framework&lt;br /&gt;
sudo port install boost&lt;br /&gt;
sudo port install boost-jam&lt;br /&gt;
sudo port install libpng # These image libraries might not be needed, but may save you some headaches&lt;br /&gt;
sudo port install jpeg&lt;br /&gt;
sudo port install tiff&lt;br /&gt;
sudo port install libogg&lt;br /&gt;
sudo port install libvorbis&lt;br /&gt;
sudo port install python25&lt;br /&gt;
sudo port install libdevil&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As of October 12th 2009, the Macports install of &#039;&#039;libdevil&#039;&#039; (&#039;&#039;1.6.8-rc2_0&#039;&#039;) is broken for some people.&lt;br /&gt;
If you get errors like:&lt;br /&gt;
&amp;lt;code&amp;gt;/opt/local/include/IL/il.h:505: error: â€˜&amp;lt;anonymous&amp;gt;â€™ has incomplete type&amp;lt;/code&amp;gt;&lt;br /&gt;
while building spring, you will probably need to install it from source.&lt;br /&gt;
&lt;br /&gt;
If all was successful, you are very close to being able to compile Spring naively!&lt;br /&gt;
&lt;br /&gt;
==Installing &#039;&#039;libdevil&#039;&#039; from source==&lt;br /&gt;
&lt;br /&gt;
Make sure that all the other port packages are installed first!&lt;br /&gt;
Download the source.  Right now &#039;&#039;1.6.8-rc2_0&#039;&#039; has the bug we are trying to work around, so do not use that one, or earlier versions.&lt;br /&gt;
&lt;br /&gt;
Extract the source code.&lt;br /&gt;
&lt;br /&gt;
Configure with this command:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --enable-png --enable-ILU --enable-ILUT --enable-x86_64 CPPFLAGS=&amp;quot;-I/opt/local/include/ -L/opt/local/lib/&amp;quot; LDFLAGS=-L/opt/local/lib/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure you have support for png, jpg, dds, and tga&lt;br /&gt;
&lt;br /&gt;
Build it with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Part way through you&#039;ll get an error about &#039;&#039;malloc.h&#039;&#039; not being found.  To fix it, replace &#039;&#039;&amp;lt;malloc.h&amp;gt;&#039;&#039; with &#039;&#039;&amp;lt;sys/malloc.h&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
install with:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OpenAL==&lt;br /&gt;
&lt;br /&gt;
After having mountains of problems myself with the OpenAL pre-installed with the Xcode tools, I discovered that it is version 1.0 of OpenAL (not the correct version we want).&lt;br /&gt;
&lt;br /&gt;
Head to your &#039;&#039;/System/Library/Framework/&#039;&#039; folder and delete any trace of OpenAL framework / folders that are there.&lt;br /&gt;
&lt;br /&gt;
[http://kcat.strangesoft.net/openal-releases/openal-soft-1.8.466.tar.bz2 Now download this copy of OpenAL]&lt;br /&gt;
&lt;br /&gt;
Using the terminal, go into the folder where you downloaded openal-soft and pass these commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
bzip2 -d openal-soft-xxxx.tar.bz2 | tar xvf -&lt;br /&gt;
cd openal-soft-xxxx&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All done, now you will have no problems compiling the &#039;&#039;Sound.cpp&#039;&#039; file in spring!&lt;br /&gt;
&lt;br /&gt;
=Build And Install=&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&amp;lt;br&amp;gt;&lt;br /&gt;
warning: division by zero&amp;lt;br&amp;gt;&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Removing duplicate libraries==&lt;br /&gt;
&lt;br /&gt;
Make sure that you remove all extra libraries before the first time you call &#039;&#039;cmake&#039;&#039;.  If not, &#039;&#039;cmake&#039;&#039; will make your life a living hell.  Check in &#039;&#039;/usr&#039;&#039;, &#039;&#039;/usr/local&#039;&#039;, &#039;&#039;/opt/local&#039;&#039; and &#039;&#039;/Library/Frameworks&#039;&#039;.  Also, do not change the location of the source directory, librarys, or includes after calling &#039;&#039;cmake&#039;&#039;.  If you do change any of the locations you can not just call &#039;&#039;cmake&#039;&#039; again.  The only way I know to tell it to recompute everything from scratch is this:&lt;br /&gt;
&lt;br /&gt;
* Change to the root of the source tree&lt;br /&gt;
* Remove every single visible file (NOT the &#039;&#039;.git/&#039;&#039; dir)&lt;br /&gt;
* Run &amp;lt;code&amp;gt;git reset --hard&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Using CMake (2.6 or newer) (Adso&#039;s method)==&lt;br /&gt;
This is the only way I have compiled spring successfully so far:&lt;br /&gt;
&lt;br /&gt;
(could someone please add a better way? As I cannot workout how to get xcodebuild to run the &amp;quot;install portion of the make file&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;cmake .&lt;br /&gt;
make spring&lt;br /&gt;
make install-spring&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install spring in all the right places to be run from a command line (but don&#039;t yet, it compiles an unusable executable, we just needed to get the makefile to install everything to the right place)&lt;br /&gt;
&lt;br /&gt;
Now pass these commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;cmake -G Xcode&lt;br /&gt;
xcodebuild&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will have made a folder called &amp;quot;Debug&amp;quot; and will contain a command line program Spring, and &#039;&#039;Libunitsync.dylib&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
now to make sure the correct copy of spring runs when you are using the terminal pass the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;sudo cp spring /usr/local/bin&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to ready to play Spring on your MacOSX system!&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
==Using CMake (2.6 or newer) (patmo98&#039;s method)==&lt;br /&gt;
The worst problem I ran into while trying to use Adso&#039;s method was getting the include and library paths to work.&lt;br /&gt;
&#039;&#039;&#039;This probably won&#039;t be needed unless you you been installing libraries from source or using fink.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make sure before you start that you don&#039;t have any extra copies of libraries laying around.&lt;br /&gt;
&lt;br /&gt;
Get the dependencies and source code.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;ccmake .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a list of options here, you&#039;ve already run (&#039;&#039;c&#039;&#039;)&#039;&#039;cmake&#039;&#039; before and that may cause you trouble.  Press &#039;&#039;c&#039;&#039; to have it auto configure.  Press &#039;&#039;t&#039;&#039; to switch to advanced mode.  Manually add the following includes and librarys.  Yes, this is an ugly hack that should be instead fixed in the build system, but I don&#039;t know enough about &#039;&#039;cmake&#039;&#039; to fix it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
CMAKE_CXX_FLAGS                  -I/usr/local/include -I/opt/local/include&lt;br /&gt;
CMAKE_C_FLAGS                    -I/usr/local/include -I/opt/local/include&lt;br /&gt;
CMAKE_EXE_LINKER_FLAGS           -L/usr/local/lib -L/opt/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may need to add more directories.&lt;br /&gt;
&lt;br /&gt;
Now you can compile:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;make spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the build finishes successfully, you will now have the &#039;&#039;spring&#039;&#039; executable, &#039;&#039;unitsync.dylib&#039;&#039;, and some other assorted things.&lt;br /&gt;
&lt;br /&gt;
Spring will search for &#039;&#039;Libunitsync.dylib&#039;&#039; in the same directory as the executable (and possibly other places), and search for the data files in &#039;&#039;~/.spring/&#039;&#039;.&lt;br /&gt;
If you have access to a working windows install, just copy the windows install to &#039;&#039;~/.spring/&#039;&#039; and run the executable from where ever you like.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you are ready to play Spring on your Mac OS X system!&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
=Finalizing installation=&lt;br /&gt;
&lt;br /&gt;
Will update later once I update the Springlobby wiki with all my OSX information!&lt;br /&gt;
&lt;br /&gt;
If you need to contact me, send a PM to &#039;&#039;&#039;adso&#039;&#039;&#039; on the forums, or catch me in #sy or #springlobby in the lobby chat :)&lt;br /&gt;
&lt;br /&gt;
--[[User:Adso|Adso]] 06:23, 29 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
[[Category:Compiling]]&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17642</id>
		<title>Spring on MacOSX</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Spring_on_MacOSX&amp;diff=17642"/>
		<updated>2010-10-21T13:07:22Z</updated>

		<summary type="html">&lt;p&gt;Daftalx: Migrated the forum tutorial to this page (old page kept as archive)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Last page update: 2010/10/21 by daftalx (migrated the tutorial from the forum)&lt;br /&gt;
&lt;br /&gt;
Current milestones available:&lt;br /&gt;
* Spring: 0.81.2.1&lt;br /&gt;
* SpringLobby: 0.95&lt;br /&gt;
* QtLobby: 1.0 alpha rev. 597&lt;br /&gt;
&lt;br /&gt;
=Preamble=&lt;br /&gt;
&lt;br /&gt;
This tutorial is intended for Mac OS X Snow Leopard (10.6.*) users running in 32bit kernel mode. Although Spring compiles and runs in 64 bits, &#039;&#039;&#039;it does not work in 64bit kernel mode&#039;&#039;&#039; (thanks to &#039;&#039;frequencyandsulphur&#039;&#039; for digging this one out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tutorial has not been tested on older releases of Mac OS X (10.5-). Yet, there are big chances that you can get through and still be able to run Spring. Keep in mind though that due to architecture incompatibilities, Intel-powered macs will be able to discuss online together, as well as with PCs, but not with PPC-powered Macs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, please bear in mind that this tutorial is mostly for testing purposes and proof of concept. Although no manual compilation is required, using the Terminal application is necessary (for now). Due to the little amount of time people are dedicating to the Mac version of Spring, things will move only slowly and often behind the other platforms. Once things get stabilized, an all-in-one installer will (hopefully one day) replace this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck, and have fun !&lt;br /&gt;
&lt;br /&gt;
=Basics=&lt;br /&gt;
&lt;br /&gt;
==Install the XCode tools==&lt;br /&gt;
&lt;br /&gt;
These are available on your Mac OS X install DVD, the installer is called &amp;quot;XCode Tools&amp;quot; in the &amp;quot;Optional installs&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
==Install MacPorts==&lt;br /&gt;
&lt;br /&gt;
*If you never had MacPorts installed, the latest version is available as a &amp;quot;.dmg&amp;quot; installer on [http://www.macports.org/install.php this page]&lt;br /&gt;
*If you already have MacPorts, make sure you run the latest version with&lt;br /&gt;
&lt;br /&gt;
     sudo port selfupdate&lt;br /&gt;
&lt;br /&gt;
and upgrade your ports with&lt;br /&gt;
&lt;br /&gt;
     sudo port upgrade outdated&lt;br /&gt;
&lt;br /&gt;
==Configure MacPorts==&lt;br /&gt;
&lt;br /&gt;
Spring and it&#039;s lobbies are published in a different repository than MacPorts&#039;s official one. So you must edit (as root) the MacPorts sources file (located by default in /opt/local/etc/macports/sources.conf), and add the following line before the last one:&lt;br /&gt;
&lt;br /&gt;
     rsync://daftserver.game-host.org/macports/&lt;br /&gt;
&lt;br /&gt;
==Sync MacPorts regularly==&lt;br /&gt;
&lt;br /&gt;
To sync your MacPorts install with the latest repositories hit&lt;br /&gt;
&lt;br /&gt;
     sudo port sync&lt;br /&gt;
&lt;br /&gt;
Note that you should hit this command again everytime a Portfile is added and/or updated. To give you a hint on whether you should sync or not, here is a quick changelog of the repository:&lt;br /&gt;
*2010/10/21 14:31 PM: libtorrent-rasterbar: Port update (ver. 0.15.4)&lt;br /&gt;
*2010/08/16 12:07 PM: springlobby: Port release (ver. 0.95)&lt;br /&gt;
*2010/08/06 01:37 PM: qtlobby: Port release (ver. 1.0alpha)&lt;br /&gt;
*2010/08/03 02:35 PM: wxWidgets: Fixed shared library linking&lt;br /&gt;
*2010/07/30 11:26 PM: springlobby-devel: Port release (fetches latest git)&lt;br /&gt;
*2010/07/25 01:22 AM: wxWidgets: Port release (ver. 2.9.1)&lt;br /&gt;
*2010/07/09 01:02 AM: spring: Removed unnecessary Python 2.5 dependency&lt;br /&gt;
*2010/07/07 01:05 AM: spring: Port release (ver. 0.8.2.1)&lt;br /&gt;
&lt;br /&gt;
From now on I assume your Portfiles will always be up-to-date, therefore I will get straight to the point during the remainder of this tutorial.&lt;br /&gt;
&lt;br /&gt;
=Spring=&lt;br /&gt;
&lt;br /&gt;
==Install spring==&lt;br /&gt;
&lt;br /&gt;
Crazy as it may seem, installing spring now comes down to this command:&lt;br /&gt;
&lt;br /&gt;
     sudo port install springrts&lt;br /&gt;
&lt;br /&gt;
WARNING: this will take a *long* while, especially on a fresh system (ballpark figure: over an hour with an Intel C2D 2.2GHz cpu).&lt;br /&gt;
&lt;br /&gt;
==Setup game data==&lt;br /&gt;
&lt;br /&gt;
create a &amp;quot;.spring&amp;quot; folder in your home directory, and create the usual &amp;quot;mods&amp;quot;, &amp;quot;maps&amp;quot; and &amp;quot;demos&amp;quot; folder. There you can store your favorite game data (most of the content is cross-platform compatible).&lt;br /&gt;
&lt;br /&gt;
==Check if Spring works==&lt;br /&gt;
&lt;br /&gt;
     spring&lt;br /&gt;
&lt;br /&gt;
should launch the standalone GUI in window mode, which allows offline gaming, e.g. if you have demo scripts or single player mods (my favorite these days is Chicken BA).&lt;br /&gt;
&lt;br /&gt;
=Lobbies=&lt;br /&gt;
&lt;br /&gt;
==SpringLobby==&lt;br /&gt;
&lt;br /&gt;
Although the Mac OS port of SpringLobby should be considered &amp;quot;barely alpha&amp;quot;-stage, quite a lot of features are already functional, so you should be able to play online with patience and little effort.&lt;br /&gt;
&lt;br /&gt;
===Install SpringLobby===&lt;br /&gt;
&lt;br /&gt;
SpringLobby currently relies on the boost library in debug mode. To install or upgrade boost with debug option on hit&lt;br /&gt;
&lt;br /&gt;
     sudo port install boost +debug&lt;br /&gt;
&lt;br /&gt;
then proceed to SpringLobby with&lt;br /&gt;
&lt;br /&gt;
     sudo port install springlobby&lt;br /&gt;
&lt;br /&gt;
In the end you should get two &amp;quot;double-clickable&amp;quot; .app bundles (springlobby and springsettings) in MacPorts&#039;s binary folder (/opt/local/bin by default).&lt;br /&gt;
&lt;br /&gt;
===Setup SpringLobby===&lt;br /&gt;
&lt;br /&gt;
Upon first run, you&#039;ll have to tell SpringLobby where to find the spring executable and unitsync library manually. The spring executable is in &amp;quot;/opt/local/bin/spring&amp;quot; and the unitsync library in &amp;quot;/opt/local/lib/libunitsync.dylib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier the lobby is in a very early port stage. One major feature that does *NOT* work yet is to join (or autojoin) an IRC channel (but you may chat inside a battleroom). So before connecting to the main server, open the &amp;quot;Autojoin channels&amp;quot; options window and remove all default channels.&lt;br /&gt;
&lt;br /&gt;
That&#039;s it, connect and enjoy  &lt;br /&gt;
NOTE: SpringLobby will mostly crash upon startup (much less afterwards). Don&#039;t worry, just keep trying until you get through... or try QtLobby (see below)...&lt;br /&gt;
&lt;br /&gt;
===Known bugs===&lt;br /&gt;
&lt;br /&gt;
*Join a chat channel (the /join command stalls the app)&lt;br /&gt;
*Add bot in a game (hitting the &amp;quot;Add bot&amp;quot; button stalls the app)&lt;br /&gt;
*Loading replays (they appear in the list but wouldn&#039;t run)&lt;br /&gt;
&lt;br /&gt;
==QtLobby==&lt;br /&gt;
&lt;br /&gt;
Although QtLobby is now an unmaintained project, it had acquired the reputation of being a both fast and stable alternative to TASclient and SpringLobby. Here is how it compares to the Mac port of SpringLobby:&lt;br /&gt;
*Interface is faster and more responsive&lt;br /&gt;
*Great IRC chat management&lt;br /&gt;
*Bots &amp;amp; Replays not supported (at all)&lt;br /&gt;
&lt;br /&gt;
Again, installing is as simple as&lt;br /&gt;
&lt;br /&gt;
     sudo port install qtlobby&lt;br /&gt;
&lt;br /&gt;
and launching is as simple as hitting&lt;br /&gt;
&lt;br /&gt;
     qtlobby&lt;br /&gt;
&lt;br /&gt;
As for SpringLobby, upon first run you will have to point to spring executable, unitsync library and data folder manually.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
In case you encounter compile or install errors on the way, MacPorts will let you know that a log file has been stored somewhere like /opt/local/var/macports/logs/??/main.log, where the &amp;quot;??&amp;quot; describes the port you are installing. Paste the contents of this file into a paste bin (http://www.pastebin.ca) and post the shortlink to the pastebin in [http://springrts.com/phpbb/viewtopic.php?f=65&amp;amp;t=23455 this topic], together will your full system info (OS, CPU, ARCH, MacPorts version).&lt;br /&gt;
&lt;br /&gt;
That&#039;s it ! Enjoy !&lt;/div&gt;</summary>
		<author><name>Daftalx</name></author>
	</entry>
</feed>