1 (edited by TeePhoenix 2012-06-10 16:09:49)

Topic: BAM compilation is broken (minGW under Windows)

Deleted.

The face of terrorism is called United States of America!

2

Re: BAM compilation is broken (minGW under Windows)

1. Use the latest bam version https://github.com/matricks/bam/zipball/master
2. Do "bam.exe config" - this should autodetect gcc as the compiler.

Remember the 80s - good times smile

3 (edited by TeePhoenix 2012-06-10 16:09:57)

Re: BAM compilation is broken (minGW under Windows)

Deleted.

The face of terrorism is called United States of America!

4

Re: BAM compilation is broken (minGW under Windows)

Do you use the latest teeworlds source from github (https://github.com/teeworlds/teeworlds/zipball/master)?

Remember the 80s - good times smile

5

Re: BAM compilation is broken (minGW under Windows)

compiler.driver = 'gcc'
compiler.c_compiler = false
compiler.cxx_compiler = false

It looks like he would use "gcc" but did not found "gcc" and even no "g++" (compiler.c_compiler should be gcc and compiler.cxx_compiler should be g++ but he wrote both times "false"). I've even tried to compile with MinGW in the past and failed. So I had to download various huge MS-compilers just for that (and then my windows died after some updates... so currently I just create linux bins). I'm pretty sure I had MinGW in the path already but still failed with the same failures like you got here. I don't have a clue why he did not gave an error already at step 1/142.


Der Befehl "cl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

That means it did not find "cl". However it should not use "cl" when using "MinGW" anyway (but g++ for *.cpp instead) so it seems compiling with MinGW is messed up / broken.


Greetings,
Mo(2)

6 (edited by TeePhoenix 2012-06-10 16:10:06)

Re: BAM compilation is broken (minGW under Windows)

Deleted.

The face of terrorism is called United States of America!

7

Re: BAM compilation is broken (minGW under Windows)

compile time is huge? it's done in 9 seconds here (everything release)

8 (edited by TeePhoenix 2012-06-10 16:10:12)

Re: BAM compilation is broken (minGW under Windows)

Deleted.

The face of terrorism is called United States of America!

9

Re: BAM compilation is broken (minGW under Windows)

TeePhoenix wrote:

I think that the bam script which is used for compiling with MinGW has a bug.

Yep. I meant something like that. My MinGW worked fine as well (but not for TW afterwards).


Edit2: With the newest github source it does work. Problem solved.

Cool! Good news. Thx for that info.

10

Re: BAM compilation is broken (minGW under Windows)

which was moved to the root folder of the (newest) teeworlds source, I get this console output:Our company always provides you the