1 (edited by AngelBroz 2009-01-28 10:09:17)

Topic: Compiling on Debian (Problems)

Hello there, i have a Debian dedicated server, i only have access through ssh
i tried to compile the server but there is problems with bam
i compile it, then i tried "../bam/src/bam debug" but throw me some errors

i read all the documentation, search on the forums, but i cant find anything about it, here is the error:

b08s05le:~/angel/teeworlds#  ../bam/src/bam debug
--- Auto Configuration ---
[string "src/base.bam"]:597: no c/c++ compiler found
stack traceback:
  [string "src/base.bam"](597): Check method
    option = {...}
    settings = {...}
  [string "src/base.bam"](508): Autodetect method
    self = {...}
    (for generator) = 0x807aa00 (function (6))
    (for state) = {...}
    (for control) = 1.000000
    k = 1.000000
    v = {...}
  [string "src/base.bam"](523): Finalize method
    self = {...}
    filename = 'config.bam'
  default.bam(11): (null)
bam: error during build

what i'm doing wrong? how can i solve this?

2

Re: Compiling on Debian (Problems)

no c/c++ compiler found

Guess you have to install gcc. Compiling without some compiler doesn't seem to work well. =P

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

3

Re: Compiling on Debian (Problems)

mmmm and how i compiled the bam? yes i have gcc tongue
well, ppl in chat help me alots, tyvm!

i just type

../bam/src/bam -c all
../bam/src/bam server_debug

and walaaa!