1

Topic: Bam-0.2.0 Compiling Error

hi.
i tried to compile bam-0.2.0 (need it for tw 0.4.x), but i get some errors while doing that.


[...Generates Codes...]
c:\teeworldssrc\bam-0.2.0\src\internal_base.h(1772) : warning C4129: 'd' : Nicht erkannte Folge von Escapesequenzen
"c:\teeworldssrc\bam-0.2.0\src\internal_base.h(1773) : warning C4129: 'd' : Nicht erkannte Folge von Escapesequenzen
src/main.c(1077) : warning C4090: 'Funktion' : Unterschiedliche 'const'-Bezeichner
[...Continues...]
[Stops and quits cmd.exe]

i hope you can help me :>

thx

2

Re: Bam-0.2.0 Compiling Error

Warnings shouldn't hinder compilation, actually.

3

Re: Bam-0.2.0 Compiling Error

there isnt any error when i compile bam 0.4.0 --> bam.exe
so why shouldnt 0.2.0 work, if the error isnt caused by this warnings?
(btw,im noob in pc usage=) )

4

Re: Bam-0.2.0 Compiling Error

Oh and bam isn't compiled to the main directory of the source tree, but rather to the src subdirectory.

See Compiling Everything for reference

5 (edited by nameless jerk 2013-02-14 23:50:37)

Re: Bam-0.2.0 Compiling Error

thank you.
but im still too silly.

Bam0.2 + TW0.4 in cmd.exe
"add_job: incorrect number of arguments
stack traceback:
default.bam(125): datacompile global
datafile = 'datasrc/data.ds'
sciptfile = 'datasrc/server.dts'
headerfile = 'src/game/generated/gs_data.h'
sourcefile = 'src/game/generated/gs_internaldate.cpp'
default.bam(147): (null)
bam: error during build"
[STOPS]

Bam0.2 + TW0.5 in cmd.exe
"--- auto configuration ---
compiler: gcc
stackprotector: no
zlib: not found (optional)
sdl: using supplied win32 libraries
saving configuration to 'config.bam'
---
bam building 'release'
[  1/139] #1 c src/engine/external/zlib/zutil.c
der befehl "cl" ist enweder falsch geschrieben oder
konnte nicht gefunden werden
bam: command returned error: 1
bam: error during build"
[STOPS]

6

Re: Bam-0.2.0 Compiling Error

You need to open the visual studio command line instead of the normal one.

7 (edited by nameless jerk 2013-02-16 00:00:52)

Re: Bam-0.2.0 Compiling Error

in 0.4 is still the same error.
0.5 gets only compiled partly

0.5-compiling ends with
"IOError: [Errno 9] bad file descriptor
close failed in file object destructor
sys.exepthook is missing
lost sys.stderr
bam: command returned error: 1
bam: error during build"