1

Topic: [HELP] Compiling

Hi.
I'm too stupid to compile 0.5.1 hmm
Always if I'm trying to compile, BAM says:

Der Befehl "cl" ist entweder falsch geschrieben oder existiert nicht

(translated to english:)

The command "cl" is wrong typed or it doesn't exists

What I'm doing wrong? Which command "cl"?!

And another question: Does anyone has a VC++ project file for Teeworlds? I do not like BAM, I want to compile trough VC++ IDE itself if it is possible big_smile

Thanks,
Chris

2

Re: [HELP] Compiling

type "%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86" before u try to compile teeworlds wink
the cl command will work than wink

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

3 (edited by GSGDani 2009-04-04 19:37:54)

Re: [HELP] Compiling

my self created batch file looks like:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86"

cd C:\Users\Daniel\Downloads\bam
..\bam\src\bam server_release

-> paths can be different

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

4

Re: [HELP] Compiling

since 0.5.0 u dont need this lines anymore:

call "C:\Program Files\Microsoft DirectX SDK (November 2007)\Utilities\Bin\dx_setenv.cmd"
call "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.Cmd"
uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

5

Re: [HELP] Compiling

ooops.. sry for that xD

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

6

Re: [HELP] Compiling

Are we talking about Windows, Linux or wat?

Bye.

7

Re: [HELP] Compiling

They are talking About Windows I think

|||||||www||||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||clubfreeware||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||de|||||

8

Re: [HELP] Compiling

dinosmoothie wrote:

Are we talking about Windows, Linux or wat?

hah lol ever seen c:\ on linux ?!?!

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

9 (edited by DinoSmoothie 2009-04-05 11:16:30)

Re: [HELP] Compiling

Just do it the normal way. Its easy all u do is unzip bam into your src directory and you probably mean "cd" rite? and do that:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

Then cd version-src
then bam\src\bam release


@ Dani, i dont have linux so how would i know?

Bye.

10

Re: [HELP] Compiling

dinosmoothie wrote:

@ Dani, i dont have linux so how would i know?

just try.. its rly nice smile

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

11

Re: [HELP] Compiling

dinosmoothie wrote:

Just do it the normal way. Its easy all u do is unzip bam into your src directory and you probably mean "cd" rite? and do that:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

Then cd version-src
then bam\src\bam server_release

Thats what i wrote in my first post ^^

Dani wanted to do it "more advanced" wink with a batch file. Than u just need to do a double klick and its done ^^
mine looks like that:

call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
..\bam-0.2.0\src\bam release
pause

the pause just effects that u have to press a key after compiling (the window wont close byself) ^^

well nvm... Dani is right about Linux... u realy should try it. In some points its much better smile

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

12 (edited by DiM SuM! 2009-04-05 00:40:50)

Re: [HELP] Compiling

Dani wrote:
dinosmoothie wrote:

Are we talking about Windows, Linux or wat?

hah lol ever seen c:\ on linux ?!?!

lol - never saw batch files & Visual studio on linux ether

13

Re: [HELP] Compiling

DiM SuM! wrote:

lol - never saw batch files & Visual studio on linux ether

but me.. using wine tongue

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

14 (edited by DiM SuM! 2009-04-05 08:36:11)

Re: [HELP] Compiling

Dani wrote:
DiM SuM! wrote:

lol - never saw batch files & Visual studio on linux ether

but me.. using wine tongue

me too, i  run visual studio 2008 pro (cant stand express edition) and visual C++ 6.0 under VM

EDIT:

Express editions do suck tho init

15 (edited by DinoSmoothie 2009-04-05 11:41:24)

Re: [HELP] Compiling

Sushi Tee wrote:
dinosmoothie wrote:

Just do it the normal way. Its easy all u do is unzip bam into your src directory and you probably mean "cd" rite? and do that:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

Then cd version-src
then bam\src\bam server_release

Thats what i wrote in my first post ^^

Dani wanted to do it "more advanced" wink with a batch file. Than u just need to do a double klick and its done ^^
mine looks like that:

call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
..\bam-0.2.0\src\bam release
pause

the pause just effects that u have to press a key after compiling (the window wont close byself) ^^

well nvm... Dani is right about Linux... u realy should try it. In some points its much better smile

yea i no about the bat files you can run but i like to do it the fun way smile


@Dani i advertised teedb.info on my mod today am i allowed? do i get a prize? XD

Bye.

16

Re: [HELP] Compiling

can anyone help me please?

i have installed visual c++ express, installed python verson 2.6.2 and unzipped bam and teeworlds source. and  yes, bam INTO teeworlds directory.

compiling bam seems to work. but i don't really understand whats wrong with compiling teeworlds...

this works:
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
and i get the following message: "Setting environment for using Microsoft Visual Studio 2008 x86 tools."

but then.. i have no ..\bam\src\bam release
what do i have to do now?

17

Re: [HELP] Compiling

now you do cd your teeworlds src directory. example:

cd c:\Documents and Setting\Main\teeworlds5.1

Then press enter. Now you simply do bam\src\bam release and teeworlds will build ^^

Bye.

18

Re: [HELP] Compiling

hey

thx dinosmoothie, everything works fine now! wink
just had another problem. solution: the bam directory has to be in the teeworlds-VERSION-src directory, otherwise it doesn't work.

another time, thx.