1 (edited by UnoSkorpion 2012-02-03 16:32:22)

Topic: [HELP] Compiling teeworlds to Linux

Hey guys. I can build windows binaries from sources, but i have a server machine with linux (CentOS 64x) and i have a problem with installing "wine". How build linux binaries from sources on windows? or linux? What i need for this?

2 (edited by TeePhoenix 2012-06-10 16:56:51)

Re: [HELP] Compiling teeworlds to Linux

Deleted.

The face of terrorism is called United States of America!

3

Re: [HELP] Compiling teeworlds to Linux

Or just download the linux binaries.
http://www.teeworlds.com/?page=downloads

4 (edited by UnoSkorpion 2012-02-03 20:39:34)

Re: [HELP] Compiling teeworlds to Linux

TeePhoenix wrote:

Why do you need wine for teeworlds?

Have you read this section in the FAQ: http://www.teeworlds.com/?page=docs& … Everything ?

wine easly start *.exe binaries without frameworks.

F.A.Q. is interesting, i will build with this guide smile

m!nus, yea, but we need other mods (race, instagib and etc)

Error:

/tmp/ccIvWj8A.o: In function `os_tmpname':
loslib.c:(.text+0x35): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

5 (edited by TeePhoenix 2012-06-10 16:56:47)

Re: [HELP] Compiling teeworlds to Linux

Deleted.

The face of terrorism is called United States of America!

6

Re: [HELP] Compiling teeworlds to Linux

TeePhoenix wrote:

I know what wine does (also is your explanation a little bit wrong), but why do you need it for teeworlds?

Skorpion wrote:

m!nus, yea, but we need other mods (race, instagib and etc)

They are usually also available for Linux. I think most teeworlds server (also mods) are hosted natively (without wine) under linux.

Skorpion wrote:

Error:

/tmp/ccIvWj8A.o: In function `os_tmpname':
loslib.c:(.text+0x35): [b]warning[/b]: the use of `tmpnam' is dangerous, better use `mkstemp'

It isnt an error, it is a warning, so it should still compile, doesnt it? Have you done it as described in the FAQ? Because I never had a deep look into the source code of teeworlds I cant say why this warning appears and even if it has an bad effect and should get fixed.

...i have two machines, firts is full, but have wine. TeeWorlds windows binaries start on linux as on windows. (i need wine, if mod haven't linux binaries or linux binaries are broking)

about warning. i did make to sh script and got this warning. in folder new files didn't build =\

7 (edited by GBKing 2012-02-04 17:35:36)

Re: [HELP] Compiling teeworlds to Linux

You do NOT need "wine"!
You just download the bam source and compile it. I also get this warning and it has no effect on compiling the teeworlds source.
Next you download the Teeworlds source and compile it using bam:
./bam server_release (if you move the bam file to the source folder)
When compiled, you will have the serverfile: teeworlds_srv

8

Re: [HELP] Compiling teeworlds to Linux

thank you guys! i can compile! in future i will make guide for compiling, thank you smile