Topic: [HELP] Refactor Compiling error (MAC)
i use my macbook OSX 10.6
and when i try to compile the newest Refactor i get this error:
fisicos-macbook:refactor Fisico$ ../bam_trunk/bam client_release
[ 1/102] #1 c++ src/game/collision.cpp
[ 2/102] #1 network_header > src/game/generated/protocol.h
[ 3/102] #1 c++ src/game/gamecore.cpp
[ 4/102] #1 c++ src/game/layers.cpp
[ 5/102] #1 c++ src/game/localization.cpp
[ 6/102] #1 cmd5 src/game/generated/nethash.c
[ 7/102] #1 c src/game/generated/nethash.c
[ 8/102] #1 network_source > src/game/generated/protocol.cpp
[ 9/102] #1 c++ src/game/generated/protocol.cpp
[ 10/102] #1 client_content_header > src/game/generated/client_data.h
[ 11/102] #1 c++ src/game/client/animstate.cpp
[ 12/102] #1 c++ src/game/client/components/binds.cpp
[ 13/102] #1 c++ src/game/client/components/broadcast.cpp
[ 14/102] #1 c++ src/game/client/components/camera.cpp
[ 15/102] #1 c++ src/game/client/components/chat.cpp
[ 16/102] #1 c++ src/game/client/components/console.cpp
[ 17/102] #1 c++ src/game/client/components/controls.cpp
[ 18/102] #1 c++ src/game/client/components/damageind.cpp
[ 19/102] #1 c++ src/game/client/components/debughud.cpp
[ 20/102] #1 c++ src/game/client/components/effects.cpp
[ 21/102] #1 c++ src/game/client/components/emoticon.cpp
[ 22/102] #1 c++ src/game/client/components/flow.cpp
[ 23/102] #1 c++ src/game/client/components/hud.cpp
[ 24/102] #1 c++ src/game/client/components/items.cpp
[ 25/102] #1 c++ src/game/client/components/killmessages.cpp
[ 26/102] #1 c++ src/game/client/components/mapimages.cpp
[ 27/102] #1 c++ src/game/client/components/maplayers.cpp
src/game/client/components/maplayers.cpp: In static member function ‘static void CMapLayers::EnvelopeEval(float, int, float*, void*)’:
src/game/client/components/maplayers.cpp:45: warning: ‘pPoints’ may be used uninitialized in this function
[ 28/102] #1 c++ src/game/client/components/menus.cpp
[ 29/102] #1 c++ src/game/client/components/menus_browser.cpp
[ 30/102] #1 c++ src/game/client/components/menus_demo.cpp
[ 31/102] #1 c++ src/game/client/components/menus_ingame.cpp
[ 32/102] #1 c++ src/game/client/components/menus_settings.cpp
[ 33/102] #1 c++ src/game/client/components/motd.cpp
[ 34/102] #1 c++ src/game/client/components/nameplates.cpp
[ 35/102] #1 c++ src/game/client/components/particles.cpp
[ 36/102] #1 c++ src/game/client/components/players.cpp
[ 37/102] #1 c++ src/game/client/components/scoreboard.cpp
[ 38/102] #1 c++ src/game/client/components/skins.cpp
[ 39/102] #1 c++ src/game/client/components/sounds.cpp
[ 40/102] #1 c++ src/game/client/components/voting.cpp
[ 41/102] #1 c++ src/game/client/gameclient.cpp
[ 42/102] #1 c++ src/game/client/lineinput.cpp
[ 43/102] #1 c++ src/game/client/render.cpp
[ 44/102] #1 c++ src/game/client/render_map.cpp
[ 45/102] #1 c++ src/game/client/ui.cpp
[ 46/102] #1 client_content_source > src/game/generated/client_data.cpp
[ 47/102] #1 c++ src/game/generated/client_data.cpp
[ 48/102] #1 c++ src/engine/shared/compression.cpp
[ 49/102] #1 c++ src/engine/shared/config.cpp
[ 50/102] #1 c++ src/engine/shared/console.cpp
[ 51/102] #1 c++ src/engine/shared/datafile.cpp
[ 52/102] #1 c++ src/engine/shared/demorec.cpp
src/engine/shared/demorec.cpp: In member function ‘void CDemoPlayer::DoTick()’:
src/engine/shared/demorec.cpp:338: warning: ‘DataSize’ may be used uninitialized in this function
[ 53/102] #1 c++ src/engine/shared/engine.cpp
[ 54/102] #1 c++ src/engine/shared/huffman.cpp
[ 55/102] #1 c++ src/engine/shared/jobs.cpp
[ 56/102] #1 c++ src/engine/shared/kernel.cpp
[ 57/102] #1 c++ src/engine/shared/linereader.cpp
[ 58/102] #1 c++ src/engine/shared/map.cpp
[ 59/102] #1 c++ src/engine/shared/masterserver.cpp
[ 60/102] #1 c++ src/engine/shared/memheap.cpp
[ 61/102] #1 c++ src/engine/shared/network.cpp
[ 62/102] #1 c++ src/engine/shared/network_client.cpp
[ 63/102] #1 c++ src/engine/shared/network_conn.cpp
[ 64/102] #1 c++ src/engine/shared/network_server.cpp
[ 65/102] #1 c++ src/engine/shared/packer.cpp
[ 66/102] #1 c++ src/engine/shared/ringbuffer.cpp
src/engine/shared/ringbuffer.cpp: In member function ‘void* CRingBufferBase::Allocate(int)’:
src/engine/shared/ringbuffer.cpp:101: warning: comparison between signed and unsigned integer expressions
[ 67/102] #1 c++ src/engine/shared/snapshot.cpp
[ 68/102] #1 c++ src/engine/shared/storage.cpp
[ 69/102] #1 c src/base/system.c
src/base/system.c: In function ‘gui_messagebox’:
src/base/system.c:1193: warning: implicit declaration of function ‘CreateStandardAlert’
src/base/system.c:1199: warning: implicit declaration of function ‘RunStandardAlert’
[ 70/102] #1 c++ src/engine/client/client.cpp
[ 71/102] #1 c++ src/engine/client/graphics.cpp
[ 72/102] #1 c++ src/engine/client/input.cpp
[ 73/102] #1 c++ src/engine/client/sound.cpp
[ 74/102] #1 c++ src/engine/client/srvbrowse.cpp
[ 75/102] #1 c++ src/engine/client/text.cpp
[ 76/102] #1 c++ src/game/editor/ed_editor.cpp
[ 77/102] #1 c++ src/game/editor/ed_io.cpp
[ 78/102] #1 c++ src/game/editor/ed_layer_game.cpp
[ 79/102] #1 c++ src/game/editor/ed_layer_quads.cpp
[ 80/102] #1 c++ src/game/editor/ed_layer_tiles.cpp
[ 81/102] #1 c++ src/game/editor/ed_popups.cpp
[ 82/102] #1 c src/engine/external/zlib/adler32.c
[ 83/102] #1 c src/engine/external/zlib/compress.c
[ 84/102] #1 c src/engine/external/zlib/crc32.c
[ 85/102] #1 c src/engine/external/zlib/deflate.c
[ 86/102] #1 c src/engine/external/zlib/gzio.c
[ 87/102] #1 c src/engine/external/zlib/infback.c
[ 88/102] #1 c src/engine/external/zlib/inffast.c
[ 89/102] #1 c src/engine/external/zlib/inflate.c
[ 90/102] #1 c src/engine/external/zlib/inftrees.c
[ 91/102] #1 c src/engine/external/zlib/trees.c
[ 92/102] #1 c src/engine/external/zlib/uncompr.c
[ 93/102] #1 c src/engine/external/zlib/zutil.c
[ 94/102] #1 c src/engine/external/pnglite/pnglite.c
[ 95/102] #1 c src/engine/external/wavpack/bits.c
[ 96/102] #1 c src/engine/external/wavpack/float.c
[ 97/102] #1 c src/engine/external/wavpack/metadata.c
[ 98/102] #1 c src/engine/external/wavpack/unpack.c
[ 99/102] #1 c src/engine/external/wavpack/words.c
[100/102] #1 c src/engine/external/wavpack/wputils.c
[101/102] #1 c src/osxlaunch/client.m
<built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi
[102/102] #1 link teeworlds
Undefined symbols:
"_SDL_main", referenced from:
-[SDLMain applicationDidFinishLaunching:] in client.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
bam: 'teeworlds' error 256
bam: error during build