51 (edited by Ich 2012-10-11 01:19:01)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Thanks wink

52

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

If i no have visual studio i can compile?

Teeworlds Clan here

53

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

_MAX_ wrote:

If i no have visual studio i can compile?

Yes, but you still need a compiler for that.

Not Luck, Just Magic.

54 (edited by _MAX_ 2012-10-16 18:50:50)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

What is the Compiler?

Teeworlds Clan here

55 (edited by PhOen!X' 2012-11-03 19:46:05)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

the best compiler is visual studio...
And I think, if you compile with another compiler, the command be different

I'm a god.

56

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

great tutorial

but i had problems at compiling bam it sayed that i havent installed vs 8, 9 or 10 but i fixed it by installing visual c++ 2010 (i already had vb2010 installed)

is there a way to compile tw into another folder? that you only have the compiled files in the folder and not the compiled files + source mixed in one folder?

ty
FaxiY

57

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Nop. If I'm not mistaken, you will need to delete the source by yourself.

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

58

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

hey ^^ i have a problem in teeworlds 0.5
i made all right (i think) but it wont work look at my error:
http://s14.directupload.net/file/d/3142 … ny_png.htm

59

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Xtasy wrote:

hey ^^ i have a problem in teeworlds 0.5
i made all right (i think) but it wont work look at my error:
http://s14.directupload.net/file/d/3142 … ny_png.htm

That's just a warning, you can ignore it.
bam has been successfully built.

60 (edited by Xtasy 2013-01-21 19:21:27)

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

okay but i set my directory to c:\bam  and how can i compile now?

i try cd c:\bam
       c:\bam server_release
and
      c:\bam -c
and
     c:\bam bam

nothing works.. :S


well if i go to another src:
cd C:\Users\PC\Desktop\bam-0.2.0\src
type in: bam
comes out:
bam: no project named "default.bam"

Nitro wrote:

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


SAME PROBLEM!!!
but with bam 0.2.0

61

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Why the hell would you put your bam in C:\.
Whatever, you need to execute the command FROM the teeworlds folder. I prefer having bam side by side with the teeworlds folder and execute ../bam/bam release.

Not Luck, Just Magic.

62

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Or just copy the damn bam.exe in your C:\Windows\system32 folder so it's in your path.
And then you can just write bam release

63

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

BotoX wrote:

Or just copy the damn bam.exe in your C:\Windows\system32 folder so it's in your path.
And then you can just write bam release

hmm i made it.. and then:
Setting environment for using Microsoft Visual Studio 2010 x64 tools.

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd c:\bam\src

c:\bam\src>bam release
bam: no project named 'default.bam'

64

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

are you serious?
You need to cd into your teeworlds folder (where src, data, datasrc and stuff like that are and the bam.lua)
Also I think you compiled bam 0.2, teeworlds version bigger than 0.5.2 uses bam 0.4

65

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

BotoX wrote:

are you serious?
You need to cd into your teeworlds folder (where src, data, datasrc and stuff like that are and the bam.lua)
Also I think you compiled bam 0.2, teeworlds version bigger than 0.5.2 uses bam 0.4

c:\bam\src <-- SRC there is my source ._.

66

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

ONE Get your teeworlds folder. Your WHOLE teeworlds folder. Not just src.

TWO Put the bam aside it. This way:
http://puu.sh/1RYPH

THREE Compile in this parent folder.

Not Luck, Just Magic.

67

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

made it..
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd C:\Users\PC\Desktop\TW\src

C:\Users\PC\Desktop\TW\src>bam release
bam: no project named 'default.bam'

68

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

I give up.

Not Luck, Just Magic.

69

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

call 'bam release' from 'C:\Users\PC\Desktop\TW'

70

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

._. no project named "default.bam"

cd C:\Users\PC\Desktop\TW
bam release

71

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

you downloaded 0.5-trunk or 0.5.2 source?
To compile 0.5 trunk, you will need bam 0.3.x (or higher)

72

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

well if my new source is there: C:\Users\PC\Desktop\asd\src

what must i wirte exactly? if my bam is in C:\Users\PC\Desktop\asd
cd C:\Users\PC\Desktop\asd\src
bam release
if its right..
no project named "default.bam"

73

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

../bam/bam release instead of bam release.

Not Luck, Just Magic.

74

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Dune wrote:

You could also have linked the official documentation on how to compile since it's quite the same, and includes all platforms support.

I don't want to offend anybody, but it sux.
For linux: listed packages have old names (it's impossible to downloaded them if you are not familiar to them).
For mac: works with old versions of XCode only and with some strange magic.

75

Re: [TUTORIAL] How to Compile Teeworlds Under Windows

Shahan wrote:

I don't want to offend anybody, but it sux.

Well the tutorial doesn't talk about linux, so it pretty much adds nothing to the doc.

Not Luck, Just Magic.