Page 1 of 1

Compiling Teeworlds On Windows

Posted: Thu Jul 16, 2015 6:14 pm
by TwItCh
Hi,

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

Thanks

Re: Compiling Teeworlds On Windows

Posted: Thu Jul 16, 2015 7:10 pm
by deen

Re: Compiling Teeworlds On Windows

Posted: Fri Jul 17, 2015 1:16 am
by Chairn
Is there a way without Visual C/C++?

Re: Compiling Teeworlds On Windows

Posted: Fri Jul 17, 2015 1:38 am
by deen
mingw for 32bit and mingw-w64 for 64bit are what I use to build the official Windows versions.

Re: Compiling Teeworlds On Windows

Posted: Sat Jul 18, 2015 5:14 pm
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)

Re: Compiling Teeworlds On Windows

Posted: Sat Jul 18, 2015 5:41 pm
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)

Re: Compiling Teeworlds On Windows

Posted: Sat Jul 18, 2015 6:14 pm
by Chairn
Thank you very much, it works great now ;).

Re: Compiling Teeworlds On Windows

Posted: Tue Jan 19, 2016 8:39 pm
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