1

Topic: Compiling Teeworlds on Mac

Hello.

I've been wanting to get the client-pack on my computer but Lion isn't supported so I have to compile it myself. Right now I'm trying to compile the 0.6.1 source to make sure I know how first and I end up with this:

Code link (code too long to paste in post)

My steps:
1. Download Xcode
2. Install command line tools
3. Download SDL 1.2 for 10.5+ / Place it in both System and User Library/Frameworks
3. Open terminal
4. For "Getting the source" in the documentation, fetch didn't work so I manually downloaded the sources.
5. I "compiled" bam with ./make_unix.sh in the bam folder (doesn't show on code i pasted)
6. I ran ../bam/bam release in terminal in the teeworlds source folder

Note:If it matters, I typed "python" in terminal and it says I have python 2.7.2 and GCC 4.2.1 if that matters.

Any help would be appreciated. smile

2 (edited by Shahan 2013-04-24 08:35:49)

Re: Compiling Teeworlds on Mac

I don't know anybody who compiled teeworlds successfully with new XCode. Only known guru is MertenNor

MertenNor wrote:

to compile teeworlds for mac you need Xcode and the libsdl Framework as is says in the teeworlds docs..
but I don't know if it works with the new version of xCode ( xCode 4 and up) I am using a really old build ( 3.2.6 ) and that works for me.. I have never tried with xCode 4 but I think I heard something that it does not work with xCode 4 right away.. you might need to install some other frameworks and stuff but I have no idea..

Or just try to setup #includes manually=> find smth like <cstdio> for OS X