26

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Nitro wrote:

I have a problem....

If i type in the path of the tw source, everything works great, but then doesn't work and the other ones, too.  It says that i typed in soemthing wrong or that the command isn't avaible.

Thx

What do you type exactly? Can you copy paste the error here? Your question is just too vague.

But... what if we tried more power?

27

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

mASOUD wrote:
Nitro wrote:

I have a problem....

If i type in the path of the tw source, everything works great, but then doesn't work and the other ones, too.  It says that i typed in soemthing wrong or that the command isn't avaible.

Thx

What do you type exactly? Can you copy paste the error here? Your question is just too vague.

The problem is, my system is in german, so some peaople don't understand it when a take a screenshot.

I made everything correct. I copied the commands from the tutorial in the cmd and create all folders correctly, but after typing in:

cd c:\tws
c:\bam\bam release

It says in the c:\bam\bam release line that i typed in something wrong or that command does not excist.

28 (edited by Slayer *gV* 2012-08-12 13:15:32)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

bam should be located in your source-folder, afaik.
so you have to use the command "cd:\tws\bam\bam release"
Edit: And don't forget to run make_win32.msvc first

29

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Try to use c:\bam\bam debug

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

30

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Tried everything

I guess i have a problem with bam folder

31

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Check if in your path (c:\bam) the file bam.exe really exists...

Oh and i have to correct my earlier statement, bam doesn't have to be in your teeworlds-folder.
If it doesn't try to download it again (0.4.x pls for teeworlds 0.6+)

32

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Can you anyway post the error(s)? We also have some germans here which will understand it. And even for other people it wont be too difficult.

33 (edited by Nitro 2012-08-12 17:41:11)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Path from bam   C:\bam\bam-0.4.0

Path for tw source C:\tws


Screenshot:

http://img.picshare.at/1344783228_cmd.png


Now it says bam: error opening 'bam.lua'

Problem solved smile   Thx

34

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Nitro wrote:

Path from bam   C:\bam\bam-0.4.0

You are very confusing.
If your bam.exe is located in "C:\bam\bam-0.4.0\" you have to run the command

c:\bam\bam-0.4.0\bam release

Bam.lua is provided by the teeworlds source code.

35

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Shouldn't it have a .exe extension? like

c:\bam\bam-0.4.0\bam.exe release
But... what if we tried more power?

36

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

mASOUD wrote:

Shouldn't it have a .exe extension? like

c:\bam\bam-0.4.0\bam.exe release

It doesn't matter.

37

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

I have created a video tutorial...
http://img845.imageshack.us/img845/6056/capturarre.png
Plz see it...

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

38 (edited by PhOen!X' 2012-08-31 16:38:29)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

i have visual studio 2005 and the python 3.2.1. the script not work and the command not work...
code:

auto configuration

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

notes:
saved configuration to 'config.lua'

[  1/160] #1 c++ src/tools/crapnet.cpp
[  2/160] #1 c++ src/engine/shared/compression.cpp
[  3/160] #1 c++ src/engine/shared/config.cpp
[  4/160] #1 c++ src/engine/shared/console.cpp
[  5/160] #1 c++ src/engine/shared/datafile.cpp
[  6/160] #1 c++ src/engine/shared/demo.cpp
[  7/160] #1 c++ src/engine/shared/econ.cpp
[  8/160] #1 c++ src/engine/shared/engine.cpp
[  9/160] #1 c++ src/engine/shared/filecollection.cpp
[ 10/160] #1 c++ src/engine/shared/huffman.cpp
[ 11/160] #1 c++ src/engine/shared/jobs.cpp
[ 12/160] #1 c++ src/engine/shared/kernel.cpp
[ 13/160] #1 c++ src/engine/shared/linereader.cpp
[ 14/160] #1 c++ src/engine/shared/map.cpp
[ 15/160] #1 c++ src/engine/shared/mapchecker.cpp
[ 16/160] #1 c++ src/engine/shared/masterserver.cpp
[ 17/160] #1 c++ src/engine/shared/memheap.cpp
[ 18/160] #1 c++ src/engine/shared/netban.cpp
[ 19/160] #1 c++ src/engine/shared/network.cpp
[ 20/160] #1 c++ src/engine/shared/network_client.cpp
[ 21/160] #1 c++ src/engine/shared/network_conn.cpp
[ 22/160] #1 c++ src/engine/shared/network_console.cpp
[ 23/160] #1 c++ src/engine/shared/network_console_conn.cpp
[ 24/160] #1 c++ src/engine/shared/network_server.cpp
[ 25/160] #1 c++ src/engine/shared/packer.cpp
[ 26/160] #1 c++ src/engine/shared/ringbuffer.cpp
[ 27/160] #1 c++ src/engine/shared/snapshot.cpp
[ 28/160] #1 c++ src/engine/shared/storage.cpp
[ 29/160] #1 c src/base/system.c
src/base/system.c(1424) : warning C4996: 'chdir' was declared deprecated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\direct.h(127) : se
e declaration of 'chdir'
        Message: 'The POSIX name for this item is deprecated. Instead, use the I
SO C++ conformant name: _chdir. See online help for details.'
[ 30/160] #1 c src/engine/external/zlib/adler32.c
[ 31/160] #1 c src/engine/external/zlib/compress.c
[ 32/160] #1 c src/engine/external/zlib/crc32.c
[ 33/160] #1 c src/engine/external/zlib/deflate.c
[ 34/160] #1 c src/engine/external/zlib/infback.c
[ 35/160] #1 c src/engine/external/zlib/inffast.c
[ 36/160] #1 c src/engine/external/zlib/inflate.c
[ 37/160] #1 c src/engine/external/zlib/inftrees.c
[ 38/160] #1 c src/engine/external/zlib/trees.c
[ 39/160] #1 c src/engine/external/zlib/uncompr.c
[ 40/160] #1 c src/engine/external/zlib/zutil.c
[ 41/160] #1 c src/engine/external/pnglite/pnglite.c
[ 42/160] #1 link crapnet.exe
[ 43/160] #1 c++ src/tools/dilate.cpp
[ 44/160] #1 link dilate.exe
[ 45/160] #1 c++ src/tools/fake_server.cpp
[ 46/160] #1 link fake_server.exe
[ 47/160] #1 c++ src/tools/map_resave.cpp
[ 48/160] #1 link map_resave.exe
[ 49/160] #1 c++ src/tools/map_version.cpp
[ 50/160] #1 link map_version.exe
[ 51/160] #1 c++ src/tools/packetgen.cpp
[ 52/160] #1 link packetgen.exe
[ 53/160] #1 c++ src/tools/tileset_borderop.cpp
[ 54/160] #1 link tileset_borderop.exe
[ 55/160] #1 c++ src/mastersrv/mastersrv.cpp
[ 56/160] #1 link mastersrv.exe
[ 57/160] #1 network_header > src/game/generated/protocol.h
[ 58/160] #1 cmd5 src/game/generated/nethash.cpp
[ 59/160] #1 c++ src/versionsrv/versionsrv.cpp
[ 60/160] #1 link versionsrv.exe
[ 61/160] #1 c++ src/engine/server/register.cpp
[ 62/160] #1 c++ src/engine/server/server.cpp
[ 63/160] #1 c++ src/game/collision.cpp
[ 64/160] #1 c++ src/game/gamecore.cpp
[ 65/160] #1 c++ src/game/layers.cpp
[ 66/160] #1 c++ src/game/localization.cpp
[ 67/160] #1 c++ src/game/generated/nethash.cpp
[ 68/160] #1 network_source > src/game/generated/protocol.cpp
[ 69/160] #1 c++ src/game/generated/protocol.cpp
[ 70/160] #1 server_content_header > src/game/generated/server_data.h
[ 71/160] #1 c++ src/game/server/entities/character.cpp
[ 72/160] #1 c++ src/game/server/entities/flag.cpp
[ 73/160] #1 c++ src/game/server/entities/laser.cpp
[ 74/160] #1 c++ src/game/server/entities/pickup.cpp
[ 75/160] #1 c++ src/game/server/entities/projectile.cpp
[ 76/160] #1 c++ src/game/server/entity.cpp
[ 77/160] #1 c++ src/game/server/eventhandler.cpp
[ 78/160] #1 c++ src/game/server/gamecontext.cpp
[ 79/160] #1 c++ src/game/server/gamecontroller.cpp
[ 80/160] #1 c++ src/game/server/gamemodes/ctf.cpp
[ 81/160] #1 c++ src/game/server/gamemodes/dm.cpp
[ 82/160] #1 c++ src/game/server/gamemodes/lms.cpp
[ 83/160] #1 c++ src/game/server/gamemodes/mod.cpp
[ 84/160] #1 c++ src/game/server/gamemodes/sur.cpp
[ 85/160] #1 c++ src/game/server/gamemodes/tdm.cpp
[ 86/160] #1 c++ src/game/server/gameworld.cpp
[ 87/160] #1 c++ src/game/server/player.cpp
[ 88/160] #1 server_content_source > src/game/generated/server_data.cpp
[ 89/160] #1 c++ src/game/generated/server_data.cpp
[ 90/160] #1 rc other/icons/teeworlds_srv_cl.rc
other/icons/teeworlds_srv_cl.rc(1) : error RC2176 : old DIB in Teeworlds_srv.ico
; pass it through SDKPAINT
bam: 'other/icons/teeworlds_srv_cl.res' error 1
[ 91/160] #1 client_content_header > src/game/generated/client_data.h
[ 92/160] #1 c++ src/game/client/animstate.cpp
[ 93/160] #1 c++ src/game/client/components/binds.cpp
[ 94/160] #1 c++ src/game/client/components/broadcast.cpp
[ 95/160] #1 c++ src/game/client/components/camera.cpp
[ 96/160] #1 c++ src/game/client/components/chat.cpp
[ 97/160] #1 c++ src/game/client/components/console.cpp
[ 98/160] #1 c++ src/game/client/components/controls.cpp
[ 99/160] #1 c++ src/game/client/components/countryflags.cpp
[100/160] #1 c++ src/game/client/components/damageind.cpp
[101/160] #1 c++ src/game/client/components/debughud.cpp
[102/160] #1 c++ src/game/client/components/effects.cpp
[103/160] #1 c++ src/game/client/components/emoticon.cpp
[104/160] #1 c++ src/game/client/components/flow.cpp
[105/160] #1 c++ src/game/client/components/hud.cpp
[106/160] #1 c++ src/game/client/components/items.cpp
[107/160] #1 c++ src/game/client/components/killmessages.cpp
[108/160] #1 c++ src/game/client/components/mapimages.cpp
[109/160] #1 c++ src/game/client/components/maplayers.cpp
[110/160] #1 c++ src/game/client/components/menus.cpp
[111/160] #1 c++ src/game/client/components/menus_browser.cpp
[112/160] #1 c++ src/game/client/components/menus_callback.cpp
[113/160] #1 c++ src/game/client/components/menus_demo.cpp
[114/160] #1 c++ src/game/client/components/menus_ingame.cpp
[115/160] #1 c++ src/game/client/components/menus_popups.cpp
[116/160] #1 c++ src/game/client/components/menus_settings.cpp
[117/160] #1 c++ src/game/client/components/menus_start.cpp
[118/160] #1 c++ src/game/client/components/motd.cpp
[119/160] #1 c++ src/game/client/components/nameplates.cpp
[120/160] #1 c++ src/game/client/components/particles.cpp
[121/160] #1 c++ src/game/client/components/players.cpp
[122/160] #1 c++ src/game/client/components/scoreboard.cpp
[123/160] #1 c++ src/game/client/components/skins.cpp
[124/160] #1 c++ src/game/client/components/sounds.cpp
[125/160] #1 c++ src/game/client/components/spectator.cpp
[126/160] #1 c++ src/game/client/components/voting.cpp
[127/160] #1 c++ src/game/client/gameclient.cpp
[128/160] #1 c++ src/game/client/lineinput.cpp
[129/160] #1 c++ src/game/client/render.cpp
[130/160] #1 c++ src/game/client/render_map.cpp
[131/160] #1 c++ src/game/client/ui.cpp
[132/160] #1 client_content_source > src/game/generated/client_data.cpp
[133/160] #1 c++ src/game/generated/client_data.cpp
[134/160] #1 c++ src/engine/client/backend_sdl.cpp
src/engine/client/backend_sdl.cpp(406) : warning C4996: 'putenv' was declared de
precated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdlib.h(822) : se
e declaration of 'putenv'
        Message: 'The POSIX name for this item is deprecated. Instead, use the I
SO C++ conformant name: _putenv. See online help for details.'
[135/160] #1 c++ src/engine/client/client.cpp
[136/160] #1 c++ src/engine/client/friends.cpp
[137/160] #1 c++ src/engine/client/graphics.cpp
src/engine/client/graphics.cpp(911) : warning C4996: 'putenv' was declared depre
cated
        C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdlib.h(822) : se
e declaration of 'putenv'
        Message: 'The POSIX name for this item is deprecated. Instead, use the I
SO C++ conformant name: _putenv. See online help for details.'
[138/160] #1 c++ src/engine/client/graphics_threaded.cpp
[139/160] #1 c++ src/engine/client/input.cpp
[140/160] #1 c++ src/engine/client/serverbrowser.cpp
[141/160] #1 c++ src/engine/client/sound.cpp
[142/160] #1 c++ src/engine/client/text.cpp
[143/160] #1 c++ src/game/editor/auto_map.cpp
[144/160] #1 c++ src/game/editor/editor.cpp
[145/160] #1 c++ src/game/editor/io.cpp
[146/160] #1 c++ src/game/editor/layer_game.cpp
[147/160] #1 c++ src/game/editor/layer_quads.cpp
[148/160] #1 c++ src/game/editor/layer_tiles.cpp
[149/160] #1 c++ src/game/editor/popups.cpp
[150/160] #1 c src/engine/external/wavpack/bits.c
[151/160] #1 c src/engine/external/wavpack/float.c
[152/160] #1 c src/engine/external/wavpack/metadata.c
[153/160] #1 c src/engine/external/wavpack/unpack.c
[154/160] #1 c src/engine/external/wavpack/words.c
[155/160] #1 c src/engine/external/wavpack/wputils.c
[156/160] #1 rc other/icons/teeworlds_cl.rc
other/icons/teeworlds_cl.rc(1) : error RC2176 : old DIB in teeworlds.ico; pass i
t through SDKPAINT
bam: 'other/icons/teeworlds_cl.res' error 1
[157/160] #1 copy other\freetype\lib32\freetype.dll -> freetype.dll
[158/160] #1 copy other\sdl\lib32\SDL.dll -> SDL.dll
bam: error: a build step failed 
I'm a god.

39

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

PhOen!X' wrote:

I have Visual Studio 9.0 so how i compile it with it...?
i not good compiler... and i lazy too ^^
and what the use of python on compiling?

Seriously.... Did you read this thread? did you read the documentation? Did you watch the tutorial video? You got to be kidding me...

40 (edited by icy PRO 2012-08-30 14:28:07)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

i have problem:   {why?}
teeworlds 0.6
python 3.2.2
bam 4
visual studio 2010

  sing return type; assumed to be a member function returning 'int'
c:\teeworlds\src\game\client\animstate.h(16) : error C2143: syntax error : missi
ng ';' before '*'
c:\teeworlds\src\game\client\animstate.h(16) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(16) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(16) : warning C4183: 'GetFrontFoot': mi
ssing return type; assumed to be a member function returning 'int'
c:\teeworlds\src\game\client\animstate.h(17) : error C2143: syntax error : missi
ng ';' before '*'
c:\teeworlds\src\game\client\animstate.h(17) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(17) : error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int
c:\teeworlds\src\game\client\animstate.h(17) : warning C4183: 'GetAttach': missi
ng return type; assumed to be a member function returning 'int'
c:\teeworlds\src\game\client\animstate.h(18) : error C2061: syntax error : ident
ifier 'CAnimation'
c:\teeworlds\src\game\client\animstate.h(19) : error C2061: syntax error : ident
ifier 'CAnimation'
c:\teeworlds\src\game\client\animstate.h(14) : error C2065: 'm_Body' : undeclare
d identifier
c:\teeworlds\src\game\client\animstate.h(15) : error C2065: 'm_BackFoot' : undec
lared identifier
c:\teeworlds\src\game\client\animstate.h(16) : error C2065: 'm_FrontFoot' : unde
clared identifier
c:\teeworlds\src\game\client\animstate.h(17) : error C2065: 'm_Attach' : undecla
red identifier
src/game/client/render.cpp(42) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(42) : error C2227: left of '->m_X' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(43) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(43) : error C2227: left of '->m_Y' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(44) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(44) : error C2227: left of '->m_W' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(45) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(45) : error C2227: left of '->m_H' must point to clas
s/struct/union/generic type
src/game/client/render.cpp(46) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(46) : error C2227: left of '->m_pSet' must point to c
lass/struct/union/generic type
src/game/client/render.cpp(46) : error C2227: left of '->m_Gridx' must point to
class/struct/union/generic type
src/game/client/render.cpp(47) : error C2027: use of undefined type 'CDataSprite
'
        c:\teeworlds\src\game\client\render.h(55) : see declaration of 'CDataSpr
ite'
src/game/client/render.cpp(47) : error C2227: left of '->m_pSet' must point to c
lass/struct/union/generic type
src/game/client/render.cpp(47) : error C2227: left of '->m_Gridy' must point to
class/struct/union/generic type
src/game/client/render.cpp(78) : error C2065: 'g_pData' : undeclared identifier
src/game/client/render.cpp(78) : error C2227: left of '->m_NumSprites' must poin
t to class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(80) : error C2065: 'g_pData' : undeclared identifier
src/game/client/render.cpp(80) : error C2227: left of '->m_aSprites' must point
to class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(192) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(196) : error C2227: left of '->m_X' must point to cla
ss/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(196) : error C2227: left of '->m_Y' must point to cla
ss/struct/union/generic type
        type is 'int *'
src/game/client/render.cpp(197) : error C2065: 'SPRITE_TEE_BODY_OUTLINE' : undec
lared identifier
src/game/client/render.cpp(197) : error C2065: 'SPRITE_TEE_BODY' : undeclared id
entifier
src/game/client/render.cpp(206) : error C2065: 'EMOTE_PAIN' : undeclared identif
ier
src/game/client/render.cpp(206) : error C2051: case expression not constant
src/game/client/render.cpp(207) : error C2065: 'SPRITE_TEE_EYE_PAIN' : undeclare
d identifier
src/game/client/render.cpp(209) : error C2065: 'EMOTE_HAPPY' : undeclared identi
fier
src/game/client/render.cpp(209) : error C2051: case expression not constant
src/game/client/render.cpp(210) : error C2065: 'SPRITE_TEE_EYE_HAPPY' : undeclar
ed identifier
src/game/client/render.cpp(212) : error C2065: 'EMOTE_SURPRISE' : undeclared ide
ntifier
src/game/client/render.cpp(212) : error C2051: case expression not constant
src/game/client/render.cpp(213) : error C2065: 'SPRITE_TEE_EYE_SURPRISE' : undec
lared identifier
src/game/client/render.cpp(215) : error C2065: 'EMOTE_ANGRY' : undeclared identi
fier
src/game/client/render.cpp(215) : error C2051: case expression not constant
src/game/client/render.cpp(216) : error C2065: 'SPRITE_TEE_EYE_ANGRY' : undeclar
ed identifier
src/game/client/render.cpp(219) : error C2065: 'SPRITE_TEE_EYE_NORMAL' : undecla
red identifier
src/game/client/render.cpp(224) : error C2065: 'EMOTE_BLINK' : undeclared identi
fier
src/game/client/render.cpp(235) : error C2065: 'CAnimKeyframe' : undeclared iden
tifier
src/game/client/render.cpp(235) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(240) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(240) : error C2227: left of '->m_Angle' must point to
 class/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(246) : error C2065: 'SPRITE_TEE_FOOT_OUTLINE' : undec
lared identifier
src/game/client/render.cpp(249) : error C2065: 'SPRITE_TEE_FOOT' : undeclared id
entifier
src/game/client/render.cpp(255) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(255) : error C2227: left of '->m_X' must point to cla
ss/struct/union/generic type
        type is ''unknown-type''
src/game/client/render.cpp(255) : error C2065: 'pFoot' : undeclared identifier
src/game/client/render.cpp(255) : error C2227: left of '->m_Y' must point to cla
ss/struct/union/generic type
        type is ''unknown-type''
bam: 'objs/game/client/render.obj' error 2
[49/52] #1 c++ src/game/editor/editor.cpp
src\game/gamecore.h(193) : error C2146: syntax error : missing ';' before identi
fier 'm_Input'
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.h(203) : error C2061: syntax error : identifier 'CNetObj_Chara
cterCore'
src/game/editor/editor.cpp(2455) : error C2065: 'g_pData' : undeclared identifie
r
src/game/editor/editor.cpp(2455) : error C2227: left of '->m_aImages' must point
 to class/struct/union/generic type
        type is ''unknown-type''
src/game/editor/editor.cpp(2455) : error C2065: 'IMAGE_FILEICONS' : undeclared i
dentifier
src/game/editor/editor.cpp(2455) : error C2228: left of '.m_Id' must have class/
struct/union
src/game/editor/editor.cpp(2457) : error C2065: 'SPRITE_FILE_FOLDER' : undeclare
d identifier
src/game/editor/editor.cpp(2457) : error C2065: 'SPRITE_FILE_MAP2' : undeclared
identifier
c1xx : fatal error C1903: unable to recover from previous error(s); stopping com
pilation
bam: 'objs/game/editor/editor.obj' error 2
[50/52] #1 c++ src/game/editor/io.cpp
src\game/gamecore.h(193) : error C2146: syntax error : missing ';' before identi
fier 'm_Input'
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(193) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int
src\game/gamecore.h(202) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.h(203) : error C2061: syntax error : identifier 'CNetObj_Chara
cterCore'
bam: 'objs/game/editor/io.obj' error 2
bam: error: a build step failed
  

41

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

So many syntax errors… Sure you are using a C++ compiler?

42

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

*Derp*...
Try to use C:\bam\bam without the release.
And you could also see my vid... hmm

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

43 (edited by DARK HUNTER 2012-08-31 12:17:31)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

edit: Stack protector.

Once in a century...

44 (edited by PhOen!X' 2012-08-31 16:33:45)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

maybe it because i use visual studio 2005? and no any new version

I'm a god.

45

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

PhOen!X' wrote:

maybe it because i use visual studio 2005? and no any new version

Try 2010 - good stuff, although it will take some time to install, it is worth it.

46 (edited by PhOen!X' 2012-09-01 17:58:22)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Hip-Hop_Blond wrote:
PhOen!X' wrote:

maybe it because i use visual studio 2005? and no any new version

Try 2010 - good stuff, although it will take some time to install, it is worth it.

i know it be work i dont want to update it...

I'm a god.

47 (edited by 2012-09-01 11:57:51)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

How about complier VS2008 , does it work ?

First I really appreciate you for your tutorial video of Teeworlds , but this is not what I really want to get. What I want is I want to know how the source code works, I want to debug the code in VS2008 IDE. I can set breakpoint and see the programme how to work step by step. Could you make another tutorial for us?

48

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

*** visual studio 2012 going out

I'm a god.

49

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

bam: no project named 'default.bam'

Help me please

Thanks smile

50

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Pi_ wrote:
bam: no project named 'default.bam'

Help me please

Thanks smile

Download the newest version of bam (0.4.0) instead of 0.2.0.