Topic: Compiling 0.5.0 on Windows - Help
Hey,
I'm having trouble getting to the "compiling" stage...
I've followed the steps described at the Wiki -> http://teeworlds.com/?page=docs&wik … Everything
I did:
1. Download and install Visual C/C++ Express (http://www.microsoft.com/express/download/default.aspx)
2. Download and install Python (http://www.python.org/download/). the 2.x version, not 3.x
3. Download and unzip bam 0.2.0 (http://teeworlds.com/trac/bam/browser/r … format=raw)
4. Download and unzip teeworlds (http://www.teeworlds.com/?page=downloads)
Then I did what it said under "Compiling bam", but I think something went wrong there, here is the output:
E:\Teeworlds\bam-0.2.0>make_win32_msvc.bat
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
txt2c.c
lapi.c
lauxlib.c
lbaselib.c
lcode.c
ldblib.c
ldebug.c
ldo.c
ldump.c
lfunc.c
lgc.c
linit.c
liolib.c
llex.c
lmathlib.c
lmem.c
loadlib.c
src/lua/loadlib.c(92) : fatal error C1083: Cannot open include file: 'windows.h'
: No such file or directory
lobject.c
lopcodes.c
loslib.c
lparser.c
Generating Code...
Compiling...
lstate.c
lstring.c
lstrlib.c
ltable.c
ltablib.c
ltm.c
lundump.c
lvm.c
lzio.c
print.c
context.c
dep_cpp.c
main.c
e:\teeworlds\bam-0.2.0\src\internal_base.h(1772) : warning C4129: 'd' : unrecogn
ized character escape sequence
e:\teeworlds\bam-0.2.0\src\internal_base.h(1773) : warning C4129: 'd' : unrecogn
ized character escape sequence
src/main.c(1077) : warning C4090: 'function' : different 'const' qualifiers
mem.c
node.c
path.c
support.c
src/support.c(19) : fatal error C1083: Cannot open include file: 'windows.h': No
such file or directory
Generating Code...
E:\Teeworlds\bam-0.2.0>
Then the next step is to:
Run in cmd (start->run->cmd):
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
And when I do that:
C:\Documents and Settings\Eca>%comspec% /k ""C:\Program Files\Microsoft Visual S
tudio 9.0\VC\vcvarsall.bat"" x86
'"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"' is not recogni
zed as an internal or external command,
operable program or batch file.
There simply is not such file "vcvarsall.bat" in the VC folder.
Any help is much appreciated!