1

Topic: Need help compiling on Mac OS X

So I followed this guide: https://www.teeworlds.com/?wiki=CompilingEverything

I installed the Command Line Tools for Xcode 5.0.1 on Mac OS X 10.9 (The newest, Mavericks)
I'm not sure if it installed, or I did something wrong. But i downloaded it from here: https://developer.apple.com/downloads/index.action

Then, I downloaded and compiled bam in the terminal:

cd bam
./make_unix.sh
cd ..

When i did that: This is what happened:

Last login: Wed Oct 30 18:54:49 on ttys000
sigges-imac:~ sigge$ cd /Users/sigge/Desktop/bam 
sigges-imac:bam sigge$ ./make_unix.sh
src/luafuncs.c:431:2: warning: indirection of non-volatile null pointer will be
      deleted, not trap [-Wnull-dereference]
        *(int*)0 = 0;
        ^~~~~~~~
src/luafuncs.c:431:2: note: consider using __builtin_trap() or qualifying
      pointer with 'volatile'
1 warning generated.
src/lua/lauxlib.c:577:61: warning: while loop has empty body [-Wempty-body]
   while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
                                                            ^
src/lua/lauxlib.c:577:61: note: put the semicolon on a separate line to silence
      this warning
1 warning generated.
src/lua/loslib.c:60:3: warning: 'tmpnam' is deprecated: This function is
      provided for compatibility reasons only. Due to security concerns inherent
      in the design of tmpnam(3), it is highly recommended that you use
      mkstemp(3) instead. [-Wdeprecated-declarations]
  lua_tmpnam(buff, err);
  ^
src/lua/luaconf.h:657:33: note: expanded from macro 'lua_tmpnam'
#define lua_tmpnam(b,e)         { e = (tmpnam(b) == NULL); }
                                       ^
/usr/include/stdio.h:274:7: note: 'tmpnam' declared here
char    *tmpnam(char *);
         ^
1 warning generated.
sigges-imac:bam sigge$

Then I downloaded the teeworlds source for 0.6.0 and i did:

cd teeworlds
../bam/bam release

I got this looooooooooong message, telling me a lot of errors. This is it:

sigges-imac:bam sigge$ cd ..
sigges-imac:Desktop sigge$ cd teeworlds
sigges-imac:teeworlds sigge$ ../bam/bam release
bam: warning: cache file is invalid, generating new one
[  1/105] #1 c++ src/tools/crapnet.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/tools/crapnet.cpp:5:10: fatal error: 'cstdlib' file not found
#include <cstdlib>
         ^
1 error generated.
bam: 'objs/tools/crapnet.o' error 256
[  2/105] #1 c++ src/engine/shared/console.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/engine/shared/console.cpp:3:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/engine/shared/console.o' error 256
[  3/105] #1 c++ src/engine/shared/datafile.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/shared/datafile.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/engine/shared/datafile.o' error 256
[  4/105] #1 c++ src/engine/shared/mapchecker.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/shared/mapchecker.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/engine/shared/mapchecker.o' error 256
[  5/105] #1 c++ src/engine/shared/masterserver.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/engine/shared/masterserver.cpp:3:10: fatal error: 'stdio.h' file not found
#include <stdio.h>      // sscanf
         ^
1 error generated.
bam: 'objs/engine/shared/masterserver.o' error 256
[  6/105] #1 c src/base/system.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/base/system.c:3:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/base/system.o' error 256
[  7/105] #1 c src/engine/external/zlib/crc32.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/crc32.c:29:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/crc32.o' error 256
[  8/105] #1 c src/engine/external/zlib/deflate.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/deflate.c:52:
In file included from src/engine/external/zlib/deflate.h:16:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/deflate.o' error 256
[  9/105] #1 c src/engine/external/zlib/gzio.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/engine/external/zlib/gzio.c:10:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
1 error generated.
bam: 'objs/engine/external/zlib/gzio.o' error 256
[ 10/105] #1 c src/engine/external/zlib/infback.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/infback.c:13:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/infback.o' error 256
[ 11/105] #1 c src/engine/external/zlib/inffast.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/inffast.c:6:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/inffast.o' error 256
[ 12/105] #1 c src/engine/external/zlib/inflate.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/inflate.c:83:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/inflate.o' error 256
[ 13/105] #1 c src/engine/external/zlib/inftrees.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/inftrees.c:6:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/inftrees.o' error 256
[ 14/105] #1 c src/engine/external/zlib/trees.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/trees.c:36:
In file included from src/engine/external/zlib/deflate.h:16:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/trees.o' error 256
[ 15/105] #1 c src/engine/external/zlib/zutil.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/zlib/zutil.c:8:
src/engine/external/zlib/zutil.h:23:12: fatal error: 'string.h' file not found
#  include <string.h>
           ^
1 error generated.
bam: 'objs/engine/external/zlib/zutil.o' error 256
[ 16/105] #1 c src/engine/external/pnglite/pnglite.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/engine/external/pnglite/pnglite.c:13:10: fatal error: 'stdio.h' file not
      found
#include <stdio.h>
         ^
1 error generated.
bam: 'objs/engine/external/pnglite/pnglite.o' error 256
[ 17/105] #1 c++ src/tools/dilate.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/tools/dilate.cpp:4:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/tools/dilate.o' error 256
[ 18/105] #1 c++ src/tools/fake_server.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/tools/fake_server.cpp:3:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h> //rand
         ^
1 error generated.
bam: 'objs/tools/fake_server.o' error 256
[ 19/105] #1 c++ src/tools/map_version.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/tools/map_version.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/tools/map_version.o' error 256
[ 20/105] #1 c++ src/tools/tileset_borderfix.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/tools/tileset_borderfix.cpp:3:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/tools/tileset_borderfix.o' error 256
[ 21/105] #1 c++ src/game/collision.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/collision.cpp:4:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/collision.o' error 256
[ 22/105] #1 c++ src/game/gamecore.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/gamecore.cpp:3:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/gamecore.o' error 256
[ 23/105] #1 c++ src/game/server/entities/character.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/server/entities/character.cpp:3:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/entities/character.o' error 256
[ 24/105] #1 c++ src/game/server/entities/flag.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/entities/flag.cpp:3:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/entities/flag.cpp:3:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/entities/flag.o' error 256
[ 25/105] #1 c++ src/game/server/entities/laser.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/entities/laser.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/entities/laser.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/entities/laser.o' error 256
[ 26/105] #1 c++ src/game/server/entities/pickup.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/entities/pickup.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/entities/pickup.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/entities/pickup.o' error 256
[ 27/105] #1 c++ src/game/server/entities/projectile.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/entities/projectile.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/entities/projectile.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/entities/projectile.o' error 256
[ 28/105] #1 c++ src/game/server/entity.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/entity.cpp:4:
src/game/server/entity.h:6:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/entity.o' error 256
[ 29/105] #1 c++ src/game/server/eventhandler.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/eventhandler.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/eventhandler.cpp:4:
In file included from src/game/server/gamecontext.h:14:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/eventhandler.o' error 256
[ 30/105] #1 c++ src/game/server/gamecontext.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/server/gamecontext.cpp:3:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/gamecontext.o' error 256
[ 31/105] #1 c++ src/game/server/gamecontroller.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/gamecontroller.cpp:8:
In file included from src/game/server/entities/pickup.h:6:
src/game/server/entity.h:6:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/gamecontroller.o' error 256
[ 32/105] #1 c++ src/game/server/gamemodes/ctf.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/gamemodes/ctf.cpp:4:
In file included from src/game/server/entities/character.h:6:
src/game/server/entity.h:6:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/gamemodes/ctf.o' error 256
[ 33/105] #1 c++ src/game/server/gamemodes/dm.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/gamemodes/dm.cpp:3:
In file included from src/game/server/gamemodes/dm.h:5:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/gamemodes/dm.cpp:3:
In file included from src/game/server/gamemodes/dm.h:5:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/gamemodes/dm.o' error 256
[ 34/105] #1 c++ src/game/server/gamemodes/mod.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/gamemodes/mod.cpp:3:
In file included from src/game/server/gamemodes/mod.h:5:
In file included from src/game/server/gamecontroller.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/server/gamemodes/mod.cpp:3:
In file included from src/game/server/gamemodes/mod.h:5:
In file included from src/game/server/gamecontroller.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/server/gamemodes/mod.o' error 256
[ 35/105] #1 c++ src/game/server/gamemodes/tdm.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/gamemodes/tdm.cpp:5:
In file included from src/game/server/entities/character.h:6:
src/game/server/entity.h:6:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/gamemodes/tdm.o' error 256
[ 36/105] #1 c++ src/game/server/gameworld.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/server/gameworld.cpp:4:
In file included from src/game/server/gameworld.h:6:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/server/gameworld.o' error 256
[ 37/105] #1 c++ src/game/server/player.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/server/player.cpp:3:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
bam: 'objs/game/server/player.o' error 256
[ 38/105] #1 c src/osxlaunch/server.m
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/osxlaunch/server.m:1:9: fatal error: 'Cocoa/Cocoa.h' file not found
#import <Cocoa/Cocoa.h>
        ^
1 error generated.
bam: 'objs/osxlaunch/server.o' error 256
[ 39/105] #1 c++ src/game/client/animstate.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/animstate.cpp:4:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/animstate.o' error 256
[ 40/105] #1 c++ src/game/client/components/binds.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/binds.cpp:5:
In file included from src/game/client/components/binds.h:5:
In file included from src/game/client/component.h:7:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/binds.cpp:5:
In file included from src/game/client/components/binds.h:5:
In file included from src/game/client/component.h:7:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/binds.o' error 256
[ 41/105] #1 c++ src/game/client/components/broadcast.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/broadcast.cpp:9:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/broadcast.cpp:9:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/broadcast.o' error 256
[ 42/105] #1 c++ src/game/client/components/camera.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/camera.cpp:5:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/camera.o' error 256
[ 43/105] #1 c++ src/game/client/components/chat.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/chat.cpp:13:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/chat.cpp:13:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/chat.o' error 256
[ 44/105] #1 c++ src/game/client/components/console.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/client/components/console.cpp:3:10: fatal error: 'math.h' file not
      found
#include <math.h>
         ^
1 error generated.
bam: 'objs/game/client/components/console.o' error 256
[ 45/105] #1 c++ src/game/client/components/controls.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/controls.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/controls.o' error 256
[ 46/105] #1 c++ src/game/client/components/countryflags.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/countryflags.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/countryflags.o' error 256
[ 47/105] #1 c++ src/game/client/components/damageind.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/damageind.cpp:7:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/damageind.o' error 256
[ 48/105] #1 c++ src/game/client/components/debughud.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/debughud.cpp:12:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/debughud.cpp:12:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/debughud.o' error 256
[ 49/105] #1 c++ src/game/client/components/effects.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/effects.cpp:10:
In file included from src/game/client/components/particles.h:5:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/effects.cpp:10:
In file included from src/game/client/components/particles.h:5:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/effects.o' error 256
[ 50/105] #1 c++ src/game/client/components/emoticon.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/emoticon.cpp:8:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/emoticon.o' error 256
[ 51/105] #1 c++ src/game/client/components/flow.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/flow.cpp:6:
In file included from src/game/client/components/flow.h:5:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/flow.cpp:6:
In file included from src/game/client/components/flow.h:5:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/flow.o' error 256
[ 52/105] #1 c++ src/game/client/components/hud.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/hud.cpp:10:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/hud.cpp:10:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/hud.o' error 256
[ 53/105] #1 c++ src/game/client/components/items.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/items.cpp:8:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/items.o' error 256
[ 54/105] #1 c++ src/game/client/components/killmessages.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/killmessages.cpp:8:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/killmessages.cpp:8:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/killmessages.o' error 256
[ 55/105] #1 c++ src/game/client/components/mapimages.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/mapimages.cpp:6:
In file included from src/game/client/component.h:7:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/mapimages.cpp:6:
In file included from src/game/client/component.h:7:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/mapimages.o' error 256
[ 56/105] #1 c++ src/game/client/components/maplayers.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/maplayers.cpp:11:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/maplayers.cpp:11:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/maplayers.o' error 256
[ 57/105] #1 c++ src/game/client/components/menus.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/client/components/menus.cpp:3:10: fatal error: 'math.h' file not found
#include <math.h>
         ^
1 error generated.
bam: 'objs/game/client/components/menus.o' error 256
[ 58/105] #1 c++ src/game/client/components/menus_browser.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/menus_browser.cpp:16:
In file included from src/game/client/render.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/menus_browser.cpp:16:
In file included from src/game/client/render.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/menus_browser.o' error 256
[ 59/105] #1 c++ src/game/client/components/menus_demo.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/menus_demo.cpp:4:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/menus_demo.o' error 256
[ 60/105] #1 c++ src/game/client/components/menus_ingame.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/menus_ingame.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/menus_ingame.o' error 256
[ 61/105] #1 c++ src/game/client/components/menus_settings.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/menus_settings.cpp:4:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/menus_settings.o' error 256
[ 62/105] #1 c++ src/game/client/components/motd.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/motd.cpp:10:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/motd.cpp:10:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/motd.o' error 256
[ 63/105] #1 c++ src/game/client/components/nameplates.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/nameplates.cpp:8:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/nameplates.cpp:8:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/nameplates.o' error 256
[ 64/105] #1 c++ src/game/client/components/particles.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/particles.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/particles.o' error 256
[ 65/105] #1 c++ src/game/client/components/players.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/players.cpp:10:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/client/components/players.o' error 256
[ 66/105] #1 c++ src/game/client/components/scoreboard.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/scoreboard.cpp:13:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/scoreboard.cpp:13:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/scoreboard.o' error 256
[ 67/105] #1 c++ src/game/client/components/skins.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/client/components/skins.cpp:3:10: fatal error: 'math.h' file not found
#include <math.h>
         ^
1 error generated.
bam: 'objs/game/client/components/skins.o' error 256
[ 68/105] #1 c++ src/game/client/components/sounds.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/sounds.cpp:7:
In file included from src/game/client/gameclient.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/sounds.cpp:7:
In file included from src/game/client/gameclient.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/sounds.o' error 256
[ 69/105] #1 c++ src/game/client/components/spectator.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/spectator.cpp:12:
In file included from src/game/client/render.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/spectator.cpp:12:
In file included from src/game/client/render.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/spectator.o' error 256
[ 70/105] #1 c++ src/game/client/components/voting.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/components/voting.cpp:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/components/voting.cpp:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/components/voting.o' error 256
[ 71/105] #1 c++ src/game/client/gameclient.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/client/gameclient.cpp:21:
In file included from src/game/client/render.h:6:
src/base/vmath.h:6:10: error: 'math.h' file not found with <angled> include; use
      "quotes" instead
#include <math.h>
         ^~~~~~~~
         "math.h"
In file included from src/game/client/gameclient.cpp:21:
In file included from src/game/client/render.h:6:
In file included from src/base/vmath.h:6:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
2 errors generated.
bam: 'objs/game/client/gameclient.o' error 256
[ 72/105] #1 c++ src/game/client/render.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/client/render.cpp:3:10: fatal error: 'math.h' file not found
#include <math.h>
         ^
1 error generated.
bam: 'objs/game/client/render.o' error 256
[ 73/105] #1 c++ src/game/client/render_map.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/game/client/render_map.cpp:3:10: fatal error: 'math.h' file not found
#include <math.h>
         ^
1 error generated.
bam: 'objs/game/client/render_map.o' error 256
[ 74/105] #1 c++ src/engine/client/client.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/engine/client/client.cpp:4:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h> // qsort
         ^
1 error generated.
bam: 'objs/engine/client/client.o' error 256
[ 75/105] #1 c++ src/engine/client/friends.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/client/friends.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/engine/client/friends.o' error 256
[ 76/105] #1 c++ src/engine/client/graphics.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/client/graphics.cpp:6:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_main.h:26:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_stdinc.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_config.h:34:
/Library/Frameworks/SDL.framework/Headers/SDL_config_macosx.h:29:10: fatal error: 
      'AvailabilityMacros.h' file not found
#include <AvailabilityMacros.h>
         ^
1 error generated.
bam: 'objs/engine/client/graphics.o' error 256
[ 77/105] #1 c++ src/engine/client/input.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/client/input.cpp:3:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_main.h:26:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_stdinc.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_config.h:34:
/Library/Frameworks/SDL.framework/Headers/SDL_config_macosx.h:29:10: fatal error: 
      'AvailabilityMacros.h' file not found
#include <AvailabilityMacros.h>
         ^
1 error generated.
bam: 'objs/engine/client/input.o' error 256
[ 78/105] #1 c++ src/engine/client/serverbrowser.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
src/engine/client/serverbrowser.cpp:3:10: fatal error: 'algorithm' file not
      found
#include <algorithm> // sort
         ^
1 error generated.
bam: 'objs/engine/client/serverbrowser.o' error 256
[ 79/105] #1 c++ src/engine/client/sound.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/client/sound.cpp:8:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_main.h:26:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_stdinc.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_config.h:34:
/Library/Frameworks/SDL.framework/Headers/SDL_config_macosx.h:29:10: fatal error: 
      'AvailabilityMacros.h' file not found
#include <AvailabilityMacros.h>
         ^
1 error generated.
bam: 'objs/engine/client/sound.o' error 256
[ 80/105] #1 c++ src/engine/client/text.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/client/text.cpp:4:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/engine/client/text.o' error 256
[ 81/105] #1 c++ src/game/editor/ed_editor.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/editor/ed_editor.cpp:17:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/editor/ed_editor.o' error 256
[ 82/105] #1 c++ src/game/editor/ed_io.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/editor/ed_io.cpp:8:
In file included from src/game/gamecore.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/editor/ed_io.o' error 256
[ 83/105] #1 c++ src/game/editor/ed_layer_game.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/editor/ed_layer_game.cpp:3:
In file included from src/game/editor/ed_editor.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/editor/ed_layer_game.o' error 256
[ 84/105] #1 c++ src/game/editor/ed_layer_quads.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/editor/ed_layer_quads.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/editor/ed_layer_quads.o' error 256
[ 85/105] #1 c++ src/game/editor/ed_layer_tiles.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/editor/ed_layer_tiles.cpp:3:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/editor/ed_layer_tiles.o' error 256
[ 86/105] #1 c++ src/game/editor/ed_popups.cpp
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/game/editor/ed_popups.cpp:8:
In file included from src/game/editor/ed_editor.h:7:
src/base/math.h:6:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^
1 error generated.
bam: 'objs/game/editor/ed_popups.o' error 256
[ 87/105] #1 c src/engine/external/wavpack/bits.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/wavpack/bits.c:17:
src/engine/external/wavpack/wavpack.h:11:10: fatal error: 'sys/types.h' file not
      found
#include <sys/types.h>
         ^
1 error generated.
bam: 'objs/engine/external/wavpack/bits.o' error 256
[ 88/105] #1 c src/engine/external/wavpack/float.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/wavpack/float.c:11:
src/engine/external/wavpack/wavpack.h:11:10: fatal error: 'sys/types.h' file not
      found
#include <sys/types.h>
         ^
1 error generated.
bam: 'objs/engine/external/wavpack/float.o' error 256
[ 89/105] #1 c src/engine/external/wavpack/metadata.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/wavpack/metadata.c:13:
src/engine/external/wavpack/wavpack.h:11:10: fatal error: 'sys/types.h' file not
      found
#include <sys/types.h>
         ^
1 error generated.
bam: 'objs/engine/external/wavpack/metadata.o' error 256
[ 90/105] #1 c src/engine/external/wavpack/unpack.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/wavpack/unpack.c:16:
src/engine/external/wavpack/wavpack.h:11:10: fatal error: 'sys/types.h' file not
      found
#include <sys/types.h>
         ^
1 error generated.
bam: 'objs/engine/external/wavpack/unpack.o' error 256
[ 91/105] #1 c src/engine/external/wavpack/words.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/wavpack/words.c:27:
src/engine/external/wavpack/wavpack.h:11:10: fatal error: 'sys/types.h' file not
      found
#include <sys/types.h>
         ^
1 error generated.
bam: 'objs/engine/external/wavpack/words.o' error 256
[ 92/105] #1 c src/engine/external/wavpack/wputils.c
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/engine/external/wavpack/wputils.c:18:
src/engine/external/wavpack/wavpack.h:11:10: fatal error: 'sys/types.h' file not
      found
#include <sys/types.h>
         ^
1 error generated.
bam: 'objs/engine/external/wavpack/wputils.o' error 256
[ 93/105] #1 c src/osxlaunch/client.m
clang: warning: no such sysroot directory: '/Developer/SDKs/MacOSX10.5.sdk'
In file included from src/osxlaunch/client.m:8:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_main.h:26:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_stdinc.h:30:
In file included from /Library/Frameworks/SDL.framework/Headers/SDL_config.h:34:
/Library/Frameworks/SDL.framework/Headers/SDL_config_macosx.h:29:10: fatal error: 
      'AvailabilityMacros.h' file not found
#include <AvailabilityMacros.h>
         ^
1 error generated.
bam: 'objs/osxlaunch/client.o' error 256
bam: error: a build step failed
sigges-imac:teeworlds sigge$

And nothing happened. Is there anyone who can help me with this? If you can, please add me on Skype: amgawesome
Thanks :)

2

Re: Need help compiling on Mac OS X

OS X? I don't know anybody except MertenNor who is capable to build Teeworlds for Mac. So:

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..

3

Re: Need help compiling on Mac OS X

Shahan wrote:

OS X? I don't know anybody except MertenNor who is capable to build Teeworlds for Mac. So:

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..

Thanks, one question tho, I don't know which part of the process that you need Xcode for, is it just when you need Command Line Tools? Why would it affect to have a newer version of Xcode if the only thing you need is CLT and you don't even open Xcode?

4

Re: Need help compiling on Mac OS X

I'm not an OS X user and I never saw XCode, however I know that many clever people tried to compile teeworlds with newer version of XCode and failed with that. I guess the problem is in the compiler, and, probably, in python. Why does it work this way - i don't know.

5 (edited by MertenNor 2013-10-31 00:02:54)

Re: Need help compiling on Mac OS X

Hi.. smile
You don't need to have the older version of xCode.. I use the new one. wink ( just make shore that you install the Command Line Tools in the install option.. ( you can also install them later if you forgot the first time arround. )

I might have installed something els.. but dont think I installed any other stuff then it says in the docs..
Link: https://www.teeworlds.com/?wiki=CompilingEverything

BTW.. have you installed the libsdl framework ?? Link: http://libsdl.org/download-2.0.php (SDL2-2.0.1.dmg (Intel 10.5+)

I cant just compile it for you if you want.. I dont have time right now.. but just post the source in here and Ill reply with a compiled version wink

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

6

Re: Need help compiling on Mac OS X

MertenNor wrote:

Hi.. smile
You don't need to have the older version of xCode.. I use the new one. wink ( just make shore that you install the Command Line Tools in the install option.. ( you can also install them later if you forgot the first time arround. )

I might have installed something els.. but dont think I installed any other stuff then it says in the docs..
Link: https://www.teeworlds.com/?wiki=CompilingEverything

BTW.. have you installed the libsdl framework ?? Link: http://libsdl.org/download-2.0.php (SDL2-2.0.1.dmg (Intel 10.5+)

I cant just compile it for you if you want.. I dont have time right now.. but just post the source in here and Ill reply with a compiled version wink

MertenNor

Thanks man big_smile Well I tried again and it sadly failed. But here is a link to the source I have smile
(It's just a little change in the DDRace client)
https://www.dropbox.com/s/syeam39ebmg8t8v/teeworlds.zip

7

Re: Need help compiling on Mac OS X

Kladdy delete the config.lua and try to compile again. If you installed everything correctly it should work then.

Luck is allowed

8 (edited by 2013-10-31 21:26:18)

Re: Need help compiling on Mac OS X

HMH wrote:

Kladdy delete the config.lua and try to compile again. If you installed everything correctly it should work then.

The configure.lua in the teeworlds source?

HMH wrote:

Kladdy delete the config.lua and try to compile again. If you installed everything correctly it should work then.

I removed the configure.lua in tw source, and when i tried to compile this came up:

sigges-imac:teeworlds sigge$ ../bam/bam release
cannot open configure.lua: No such file or directory
bam: script error (-t for more detail)
sigges-imac:teeworlds sigge$ 

Note the compiling of bam, is there anything wrong with what i did?

9

Re: Need help compiling on Mac OS X

Be careful I wrote config.lua not configure.lua yikes. The configure.lua is needed for the build the config.lua is created after compiling.

Luck is allowed

10

Re: Need help compiling on Mac OS X

when I try to compile the client I get this error: Pastie.org

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

11

Re: Need help compiling on Mac OS X

HMH wrote:

Be careful I wrote config.lua not configure.lua yikes. The configure.lua is needed for the build the config.lua is created after compiling.

But the problem is that I can't compile lol

12

Re: Need help compiling on Mac OS X

Here you go Kladdy smile . I finally compiled it; you made some mistakes in code, so I fixed them. And yes it was hard since the bam configs and the new versions of Xcode and OS X 10.9 were kind of incompatible yikes .

Luck is allowed

13

Re: Need help compiling on Mac OS X

HMH wrote:

Here you go Kladdy smile . I finally compiled it; you made some mistakes in code, so I fixed them. And yes it was hard since the bam configs and the new versions of Xcode and OS X 10.9 were kind of incompatible yikes .

Thanks man, it worked big_smile Can you tell me how you did it? Add me on Skype, amgawesome