1

Topic: can't build trunk

C:\Users\Lukas\Documents\Compile\teeworlds>C:\Windows\system32\cmd.exe /k ""C:\P
rogram Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
Setting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\Users\Lukas\Documents\Compile\teeworlds>..\bam\bam release
auto configuration

configuration:
AUTO  compiler             cl
AUTO  stackprotector       yes
AUTO  zlib                 not found
AUTO  sdl                  using supplied win32 libraries
AUTO  freetype             using supplied win32 libraries

notes:
saved configuration to 'config.lua'

[  1/161] #1 c++ src/tools/crapnet.cpp
[  2/161] #2 c++ src/engine/shared/compression.cpp
[  3/161] #2 c++ src/engine/shared/config.cpp
[  4/161] #1 c++ src/engine/shared/console.cpp
[  5/161] #2 c++ src/engine/shared/datafile.cpp
[  6/161] #2 c++ src/engine/shared/demo.cpp
[  7/161] #1 c++ src/engine/shared/econ.cpp
[  8/161] #2 c++ src/engine/shared/engine.cpp
[  9/161] #1 c++ src/engine/shared/filecollection.cpp
[ 10/161] #2 c++ src/engine/shared/huffman.cpp
[ 11/161] #2 c++ src/engine/shared/jobs.cpp
[ 12/161] #1 c++ src/engine/shared/kernel.cpp
[ 13/161] #2 c++ src/engine/shared/linereader.cpp
[ 14/161] #1 c++ src/engine/shared/map.cpp
[ 15/161] #2 c++ src/engine/shared/mapchecker.cpp
[ 16/161] #1 c++ src/engine/shared/masterserver.cpp
[ 17/161] #2 c++ src/engine/shared/memheap.cpp
[ 18/161] #2 c++ src/engine/shared/netban.cpp
[ 19/161] #1 c++ src/engine/shared/network.cpp
[ 20/161] #1 c++ src/engine/shared/network_client.cpp
[ 21/161] #2 c++ src/engine/shared/network_conn.cpp
[ 22/161] #1 c++ src/engine/shared/network_console.cpp
[ 23/161] #1 c++ src/engine/shared/network_console_conn.cpp
[ 24/161] #2 c++ src/engine/shared/network_server.cpp
[ 25/161] #1 c++ src/engine/shared/packer.cpp
[ 26/161] #2 c++ src/engine/shared/ringbuffer.cpp
[ 27/161] #1 c++ src/engine/shared/snapshot.cpp
[ 28/161] #2 c++ src/engine/shared/storage.cpp
[ 29/161] #1 c src/base/system.c
[ 30/161] #2 c src/engine/external/zlib/adler32.c
[ 31/161] #2 c src/engine/external/zlib/compress.c
[ 32/161] #2 c src/engine/external/zlib/crc32.c
[ 33/161] #2 c src/engine/external/zlib/deflate.c
[ 34/161] #1 c src/engine/external/zlib/infback.c
[ 35/161] #2 c src/engine/external/zlib/inffast.c
[ 36/161] #1 c src/engine/external/zlib/inflate.c
[ 37/161] #2 c src/engine/external/zlib/inftrees.c
[ 38/161] #2 c src/engine/external/zlib/trees.c
[ 39/161] #1 c src/engine/external/zlib/uncompr.c
[ 40/161] #1 c src/engine/external/zlib/zutil.c
[ 41/161] #1 c src/engine/external/pnglite/pnglite.c
[ 42/161] #2 c++ src/tools/dilate.cpp
[ 43/161] #2 c++ src/tools/fake_server.cpp
[ 44/161] #1 link crapnet.exe
[ 45/161] #2 link fake_server.exe
[ 46/161] #1 link dilate.exe
[ 47/161] #2 c++ src/tools/map_resave.cpp
[ 48/161] #1 c++ src/tools/map_version.cpp
[ 49/161] #2 link map_resave.exe
[ 50/161] #1 link map_version.exe
[ 51/161] #2 c++ src/tools/packetgen.cpp
[ 52/161] #2 link packetgen.exe
[ 53/161] #1 c++ src/tools/tileset_borderadd.cpp
[ 54/161] #2 c++ src/tools/tileset_borderfix.cpp
[ 55/161] #1 link tileset_borderadd.exe
[ 56/161] #2 link tileset_borderfix.exe
[ 57/161] #1 c++ src/tools/tileset_borderrem.cpp
[ 58/161] #2 c++ src/tools/tileset_borderset.cpp
[ 59/161] #1 link tileset_borderrem.exe
[ 60/161] #2 link tileset_borderset.exe
[ 61/161] #1 c++ src/mastersrv/mastersrv.cpp
[ 62/161] #2 network_header > src/game/generated/protocol.h
[ 63/161] #1 link mastersrv.exe
[ 64/161] #1 c++ src/engine/server/register.cpp
[ 65/161] #2 cmd5 src/game/generated/nethash.cpp
[ 66/161] #1 c++ src/engine/server/server.cpp
[ 67/161] #2 c++ src/versionsrv/versionsrv.cpp
[ 68/161] #2 link versionsrv.exe
[ 69/161] #2 c++ src/game/collision.cpp
[ 70/161] #2 c++ src/game/gamecore.cpp
[ 71/161] #1 c++ src/game/layers.cpp
[ 72/161] #1 c++ src/game/localization.cpp
[ 73/161] #2 c++ src/game/generated/nethash.cpp
[ 74/161] #1 network_source > src/game/generated/protocol.cpp
[ 75/161] #2 server_content_header > src/game/generated/server_data.h
[ 76/161] #1 c++ src/game/generated/protocol.cpp
[ 77/161] #2 c++ src/game/server/entities/character.cpp
[ 78/161] #1 c++ src/game/server/entities/flag.cpp
[ 79/161] #1 c++ src/game/server/entities/laser.cpp
[ 80/161] #2 c++ src/game/server/entities/pickup.cpp
[ 81/161] #2 c++ src/game/server/entities/projectile.cpp
[ 82/161] #1 c++ src/game/server/entity.cpp
[ 83/161] #2 c++ src/game/server/eventhandler.cpp
[ 84/161] #1 c++ src/game/server/gamecontext.cpp
[ 85/161] #2 c++ src/game/server/gamecontroller.cpp
[ 86/161] #1 c++ src/game/server/gamemodes/ctf.cpp
[ 87/161] #2 c++ src/game/server/gamemodes/dm.cpp
[ 88/161] #1 c++ src/game/server/gamemodes/mod.cpp
[ 89/161] #2 c++ src/game/server/gamemodes/tdm.cpp
[ 90/161] #1 c++ src/game/server/gameworld.cpp
[ 91/161] #2 c++ src/game/server/player.cpp
[ 92/161] #1 server_content_source > src/game/generated/server_data.cpp
[ 93/161] #2 rc other/icons/teeworlds_srv_cl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.

[ 94/161] #2 client_content_header > src/game/generated/client_data.h
[ 95/161] #1 c++ src/game/generated/server_data.cpp
[ 96/161] #1 link teeworlds_srv.exe
[ 97/161] #2 c++ src/game/client/animstate.cpp
[ 98/161] #1 c++ src/game/client/components/binds.cpp
[ 99/161] #2 c++ src/game/client/components/broadcast.cpp
[100/161] #1 c++ src/game/client/components/camera.cpp
[101/161] #1 c++ src/game/client/components/chat.cpp
[102/161] #2 c++ src/game/client/components/console.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/chat.obj' error 2
[103/161] #1 c++ src/game/client/components/controls.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/console.obj' error 2
[104/161] #2 c++ src/game/client/components/countryflags.cpp
[105/161] #1 c++ src/game/client/components/damageind.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/countryflags.obj' error 2
[106/161] #2 c++ src/game/client/components/debughud.cpp
[107/161] #1 c++ src/game/client/components/effects.cpp
[108/161] #2 c++ src/game/client/components/emoticon.cpp
[109/161] #1 c++ src/game/client/components/flow.cpp
[110/161] #2 c++ src/game/client/components/hud.cpp
[111/161] #1 c++ src/game/client/components/items.cpp
[112/161] #1 c++ src/game/client/components/killmessages.cpp
[113/161] #2 c++ src/game/client/components/mapimages.cpp
[114/161] #1 c++ src/game/client/components/maplayers.cpp
[115/161] #2 c++ src/game/client/components/menus.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/menus.obj' error 2
[116/161] #2 c++ src/game/client/components/menus_browser.cpp
[117/161] #1 c++ src/game/client/components/menus_demo.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/menus_demo.obj' error 2
[118/161] #1 c++ src/game/client/components/menus_ingame.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/menus_browser.obj' error 2
[119/161] #2 c++ src/game/client/components/menus_settings.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/menus_ingame.obj' error 2
[120/161] #1 c++ src/game/client/components/motd.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/menus_settings.obj' error 2
[121/161] #2 c++ src/game/client/components/nameplates.cpp
[122/161] #2 c++ src/game/client/components/particles.cpp
[123/161] #1 c++ src/game/client/components/players.cpp
[124/161] #2 c++ src/game/client/components/scoreboard.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/players.obj' error 2
[125/161] #1 c++ src/game/client/components/skins.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/scoreboard.obj' error 2
[126/161] #2 c++ src/game/client/components/sounds.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/components/skins.obj' error 2
[127/161] #1 c++ src/game/client/components/spectator.cpp
[128/161] #2 c++ src/game/client/components/voting.cpp
[129/161] #2 c++ src/game/client/gameclient.cpp
[130/161] #1 c++ src/game/client/lineinput.cpp
[131/161] #1 c++ src/game/client/render.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/client/gameclient.obj' error 2
[132/161] #2 c++ src/game/client/render_map.cpp
[133/161] #1 c++ src/game/client/ui.cpp
[134/161] #2 client_content_source > src/game/generated/client_data.cpp
[135/161] #1 c++ src/engine/client/backend_sdl.cpp
[136/161] #2 c++ src/game/generated/client_data.cpp
[137/161] #2 c++ src/engine/client/client.cpp
[138/161] #1 c++ src/engine/client/friends.cpp
[139/161] #1 c++ src/engine/client/graphics.cpp
[140/161] #2 c++ src/engine/client/graphics_threaded.cpp
[141/161] #1 c++ src/engine/client/input.cpp
[142/161] #2 c++ src/engine/client/serverbrowser.cpp
[143/161] #1 c++ src/engine/client/sound.cpp
[144/161] #2 c++ src/engine/client/text.cpp
[145/161] #1 c++ src/game/editor/auto_map.cpp
[146/161] #1 c++ src/game/editor/editor.cpp
[147/161] #2 c++ src/game/editor/io.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/editor/editor.obj' error 2
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/editor/io.obj' error 2
[148/161] #1 c++ src/game/editor/layer_game.cpp
[149/161] #2 c++ src/game/editor/layer_quads.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/editor/layer_quads.obj' error 2
[150/161] #2 c++ src/game/editor/layer_tiles.cpp
[151/161] #1 c++ src/game/editor/popups.cpp
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(8) : error C2062:
'void'-Typ unerwartet
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2143:
Syntaxfehler: Es fehlt ';' vor '{'
c:\users\lukas\documents\compile\teeworlds\src\base\tl\base.h(9) : error C2447:
'{': Funktionsheader fehlt - Parameterliste im alten Stil?
bam: 'objs/game/editor/layer_tiles.obj' error 2
[152/161] #2 c src/engine/external/wavpack/bits.c
[153/161] #2 c src/engine/external/wavpack/float.c
[154/161] #2 c src/engine/external/wavpack/metadata.c
[155/161] #1 c src/engine/external/wavpack/unpack.c
[156/161] #2 c src/engine/external/wavpack/words.c
[157/161] #2 c src/engine/external/wavpack/wputils.c
[158/161] #1 rc other/icons/teeworlds_cl.rc
[159/161] #2 copy other\freetype\lib32\freetype.dll -> freetype.dll
[160/161] #2 copy other\sdl\lib32\SDL.dll -> SDL.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.

bam: error: a build step failed

// code tag added by Landil

2

Re: can't build trunk

Not even talking about a please, I believe a simple human sentence would be appreciated.

Not Luck, Just Magic.

3

Re: can't build trunk

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

4 (edited by the_pro 2012-01-24 17:05:48)

Re: can't build trunk

the problem is obvious, why should I say something if the problem is clear.. but for u --> please help! thx <--, and landil: Somehow I can't see your post, or did u write nothing?

5

Re: can't build trunk

I thought the answer is obvious, why should I say something if the answer is clear?

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

6

Re: can't build trunk

k then don'T help me (thats what forum was for I thought ^^)

7

Re: can't build trunk

the_pro wrote:

k then don'T help me (thats what forum was for I thought ^^)

It seems like you're lacking the basic rules of politeness. You are ASKING for help, it's a service, we're not paid for supporting. So we enjoy at least ONE sentence, describing your problem, and writing a few polite words because we are taking on our time to help people.

Not Luck, Just Magic.

8

Re: can't build trunk

this is about the newest official version from the github?

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

9

Re: can't build trunk

It is. "trunk" tongue

10

Re: can't build trunk

yes, this is the newes version from girhub, and it is also the newest bam from github, thanks for your help so far smile

11

Re: can't build trunk

Botox: there are trunk versions from almost every mode too ^^

I cant explain the errors though... the base.h is correct since i can just compile xD
Maybe try to include <base/t/base.h> into the files where the error occures... controls.cpp, menus.cpp and so on. This doesnt make sense though. xD

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

12

Re: can't build trunk

I couldn't find the information among your detailed description/information you provided, so I will ask this question, even if it might seem "clear" to you:
Can you compile the source of 0.6.1?

13

Re: can't build trunk

one my friend have the same errors, and he don't have this on 0.6.1 version, i think the problem can be in different versions of Visual Studio (with 2010 no problems, with 2008 habe), will check it one more time

14

Re: can't build trunk

0.6.1 Source compiles without any trouble, its only the newest trunk from github wich makes trouble, and psyko.god, I use the the 2008 Version thats ture smile, mabye the trunk version of teeworlds is not compatible with microsoft visual studio 2008 ?

15

Re: can't build trunk

we reinstall Visual Studio from 2008 to 2010 and all works fine now, check it, will help

16 (edited by the_pro 2012-01-26 15:29:14)

Re: can't build trunk

ok I will try it once I have time, then I'll tell u if it worked or not wink
(thx for help)

17

Re: can't build trunk

Fixed in latest github source(commit).

Remember the 80s - good times smile

18

Re: can't build trunk

Oy wrote:

Fixed in latest github source(commit).

Oh thank you so much! I was about to download Visual C++ 2010 (which is painful) before I saw this. big_smile smile

Once in a century...