Compiling Teeworlds On Windows

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
User avatar
TwItCh
Posts: 43
Joined: Sat Jun 14, 2014 12:49 am
Player profile: http://ddnet.tw/players/TwItCh/

Compiling Teeworlds On Windows

Post by TwItCh »

Hi,

Can someone explain me how to compile ddnet source from Github on windows using Visual Studio?

Thanks
Peace, Love & Happiness /(^_^)\
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Compiling Teeworlds On Windows

Post by deen »

Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: Compiling Teeworlds On Windows

Post by Chairn »

Is there a way without Visual C/C++?
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Compiling Teeworlds On Windows

Post by deen »

mingw for 32bit and mingw-w64 for 64bit are what I use to build the official Windows versions.
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: Compiling Teeworlds On Windows

Post by Chairn »

Hey,

I've tried without Visual studio but, i cant compile bam with mingw, apparently, some files are missing:

Code: Select all

c:\bam>make_win32_mingw.bat
gcc: error: src/lua/src/*.c: No such file or directory
gcc: error: src/lua/src/lib/*.c: No such file or directory
There is a src/lua, but then only files, no more directories.

Thanks for helping.

edit: i found this and modified the .bat files, now, more errors :D:

Code: Select all

c:\bam>make_win32_mingw.bat
src/context.c:2:17: fatal error: lua.h: No such file or directory
 #include <lua.h>
                 ^
compilation terminated.
src/dep_cpp.c:6:17: fatal error: lua.h: No such file or directory
 #include <lua.h>
                 ^
compilation terminated.
(and so on)
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Compiling Teeworlds On Windows

Post by deen »

Looks like bam 0.4.0 is just broken, use the master branch from here: https://github.com/matricks/bam (Download zip on right)
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: Compiling Teeworlds On Windows

Post by Chairn »

Thank you very much, it works great now ;).
milk
Posts: 207
Joined: Mon May 05, 2014 5:25 pm
Player profile: http://ddnet.tw/players/milk/

Re: Compiling Teeworlds On Windows

Post by milk »

TwItCh wrote:Hi,

Can someone explain me how to compile ddnet source from Github on windows using Visual Studio?

Thanks
Hi. Maybe it's late but here is new fresh tutorial: viewtopic.php?f=16&t=3061
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests