1

Topic: [HELP] Compiling Teeworlds 0.4.3 - Error

Hello,

I want to compile Teeworlds 0.4.3 (Please dont ask why)
(I have Suse Linux 11.1)
But while compiling theres an error (I dont have change any file in the source)

Here the Error:

linux-6epi:/home/markus/Teeworlds/Kompilieren/teeworlds-0.4.3-src # ../bam/src/bam release
add_job: incorrect number of arguments                                                    
stack traceback:                                                                          
  default.bam(125): DataCompile global
    datafile = 'datasrc/data.ds'
    scriptfile = 'datasrc/server.dts'
    headerfile = 'src/game/generated/gs_data.h'
    sourcefile = 'src/game/generated/gs_data.cpp'
    outputdatafile = 'src/game/generated/gs_internaldata.cpp'
  default.bam(147): (null)
bam: error during build
linux-6epi:/home/markus/Teeworlds/Kompilieren/teeworlds-0.4.3-src #

I can compile Teeworlds 0.5.1 but not Teeworlds 0.4.3!?

I hope someone can help me sad

Markus

2

Re: [HELP] Compiling Teeworlds 0.4.3 - Error

You need an older bam version... check which date the teeworlds release was and get a bam snapshot from the same date from svn.

Languages shapes the way we think, or don't.

3 (edited by [InNeVe-Leader]Markus 2009-09-02 07:54:30)

Re: [HELP] Compiling Teeworlds 0.4.3 - Error

It was 2008-08-31

I have take the bam 0.1.0 version but error:

linux-6epi:/home/markus/Teeworlds/Kompilieren/teeworlds-0.4.3-src # ../bam-0.1.0/src/bam releasebam: 
add_job: incorrect number of arguments                                                     
stack traceback:                                                                                
    [C](-1): bam_add_job global                                                                 
    default.bam(125): DataCompile global                                                        
        datafile = 0x8080618 (function)
        scriptfile = 0x80800c8 (function)
        headerfile = 0x8097290 (function)
        sourcefile = 'src/game/generated/gs_data.cpp'
        outputdatafile = (nil) (no value)
    default.bam(147): (null)
bam: error during build
linux-6epi:/home/markus/Teeworlds/Kompilieren/teeworlds-0.4.3-src #

sad

4

Re: [HELP] Compiling Teeworlds 0.4.3 - Error

You will probably need a specific revision, like rev 137 that is from the same day as the tw release.
0.1 was made a couple of months later and things had changed.

Languages shapes the way we think, or don't.

5

Re: [HELP] Compiling Teeworlds 0.4.3 - Error

but there arent other versions
look: http://teeworlds.com/trac/bam/browser/releases/

6

Re: [HELP] Compiling Teeworlds 0.4.3 - Error

http://www.teeworlds.com/forum/viewtopic.php?id=4155
It may help you

Drowning dwarves lately

7

Re: [HELP] Compiling Teeworlds 0.4.3 - Error

now it works, thank you smile

Markus