1

Topic: [HELP] Python problem compiling 0.5.1 on Vista

I have installed:
- VC 2008
- Python 2.5
- bam 0.2
- teeworlds 0.5.1 src

I tried to compile everything like stated in trac with 'bam release'. The first part works fine (the tools i guess), but when it comes to the first python scripts i get this error:

...
[ 37/128] #1 link versionsrv.exe
[ 38/128] #1 server_content_header > src/game/generated/gs_data.hpp
Traceback (most recent call last):
  File "X:\Dokumente\teeworlds\datasrc\compile.py", line 8
4, in <module>
    EmitEnum(["SPRITE_%s"%i.name.value.upper() for i in content.container.sprite
s.items], "NUM_SPRITES")
  File "X:\Dokumente\teeworlds\datasrc\compile.py", line 3
0, in EmitEnum
    print "\t%s,"%name
IOError: [Errno 9] Bad file descriptor
close failed: [Errno 9] Bad file descriptor
bam: command returned error: 1
bam: error during build


When i try it again it hangs at other python scripts and generates e.g. empty files in src/game/generated/. Python works with other applications. I also tried to execute the python script for the network_source and _header targets by hand and they worked. I'm noch sure if every script call from bam has problems.

Has someone an idea?

Thanks!
   Questmaster

2 (edited by questmaster 2009-01-28 16:47:09)

Re: [HELP] Python problem compiling 0.5.1 on Vista

I have now tried to reinstall Python 2.5.1 and tried version 2.5.4 all the same. I also tried Version 2.6.1, here i don't get errors, but it is not working either sad same behavior. Files in src/game/generated are generated with size 0. When i compile the script from the comandline and enter it manually it works fine. unfortunately when i rerun bam the existing files are overwritten and setting them as raed-only also doesn't work sad

3

Re: [HELP] Python problem compiling 0.5.1 on Vista

I have this very same problem. Here's the output I get:

C:\Users\Wille\Desktop\teeworlds-0.5.1-src>..\bam\src\bam release
bam: building 'release'
[  1/140] #1 c src/engine/external/zlib/zutil.c
zutil.c
[  2/140] #1 c src/engine/external/zlib/uncompr.c
uncompr.c
[  3/140] #1 c src/engine/external/zlib/trees.c
trees.c
[  4/140] #1 c src/engine/external/zlib/inftrees.c
inftrees.c
[  5/140] #1 c src/engine/external/zlib/inflate.c
inflate.c
[  6/140] #1 c src/engine/external/zlib/inffast.c
inffast.c
[  7/140] #1 c src/engine/external/zlib/infback.c
infback.c
[  8/140] #1 c src/engine/external/zlib/gzio.c
gzio.c
[  9/140] #1 c src/engine/external/zlib/deflate.c
deflate.c
[ 10/140] #1 c src/engine/external/zlib/crc32.c
crc32.c
[ 11/140] #1 c src/engine/external/zlib/compress.c
compress.c
[ 12/140] #1 c src/engine/external/zlib/adler32.c
adler32.c
[ 13/140] #1 c src/base/system.c
system.c
[ 14/140] #1 c src/engine/e_snapshot.c
e_snapshot.c
[ 15/140] #1 c src/engine/e_ringbuffer.c
e_ringbuffer.c
[ 16/140] #1 c src/engine/e_packer.c
e_packer.c
[ 17/140] #1 c src/engine/e_network_server.c
e_network_server.c
[ 18/140] #1 c src/engine/e_network_conn.c
e_network_conn.c
[ 19/140] #1 c src/engine/e_network_client.c
e_network_client.c
[ 20/140] #1 c src/engine/e_network.c
e_network.c
[ 21/140] #1 c src/engine/e_msg.c
e_msg.c
[ 22/140] #1 c src/engine/e_memheap.c
e_memheap.c
[ 23/140] #1 c src/engine/e_map.c
e_map.c
[ 24/140] #1 c src/engine/e_linereader.c
e_linereader.c
[ 25/140] #1 c src/engine/e_keynames.c
e_keynames.c
[ 26/140] #1 c src/engine/e_jobs.c
e_jobs.c
[ 27/140] #1 c src/engine/e_huffman.c
e_huffman.c
[ 28/140] #1 c src/engine/e_engine.c
e_engine.c
[ 29/140] #1 c src/engine/e_demorec.c
e_demorec.c
[ 30/140] #1 c src/engine/e_datafile.c
e_datafile.c
[ 31/140] #1 c src/engine/e_console.c
e_console.c
[ 32/140] #1 c src/engine/e_config.c
e_config.c
[ 33/140] #1 c src/engine/e_compression.c
e_compression.c
[ 34/140] #1 c src/tools/tileset_borderfix.c
tileset_borderfix.c
c:\users\wille\desktop\teeworlds-0.5.1-src\src\tools\../engine/external/pnglite/pnglite.c(116) : warning C4028: formal parameter 1 different from decl
aration
[ 35/140] #1 link tileset_borderfix.exe
[ 36/140] #1 c src/tools/packetgen.c
packetgen.c
[ 37/140] #1 link packetgen.exe
[ 38/140] #1 c src/tools/map_resave.c
map_resave.c
[ 39/140] #1 link map_resave.exe
[ 40/140] #1 c src/tools/fake_server.c
fake_server.c
[ 41/140] #1 link fake_server.exe
[ 42/140] #1 c src/tools/dilate.c
dilate.c
c:\users\wille\desktop\teeworlds-0.5.1-src\src\tools\../engine/external/pnglite/pnglite.c(116) : warning C4028: formal parameter 1 different from decl
aration
[ 43/140] #1 link dilate.exe
[ 44/140] #1 c++ src/tools/crapnet.cpp
crapnet.cpp
[ 45/140] #1 link crapnet.exe
[ 46/140] #1 c++ src/mastersrv/mastersrv.cpp
mastersrv.cpp
[ 47/140] #1 link mastersrv.exe
[ 48/140] #1 c++ src/versionsrv/versionsrv.cpp
versionsrv.cpp
[ 49/140] #1 link versionsrv.exe
[ 50/140] #1 server_content_header > src/game/generated/gs_data.hpp
Traceback (most recent call last):
  File "C:\Users\Wille\Desktop\teeworlds-0.5.1-src\datasrc\compile.py", line 84, in <module>
    EmitEnum(["SPRITE_%s"%i.name.value.upper() for i in content.container.sprites.items], "NUM_SPRITES")
  File "C:\Users\Wille\Desktop\teeworlds-0.5.1-src\datasrc\compile.py", line 30, in EmitEnum
    print "\t%s,"%name
IOError: [Errno 9] Bad file descriptor
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:
bam: command returned error: 1
bam: error during build

C:\Users\Wille\Desktop\teeworlds-0.5.1-src>..\bam\src\bam release
bam: building 'release'
[ 1/90] #1 server_content_source > src/game/generated/gs_data.cpp
Traceback (most recent call last):
  File "C:\Users\Wille\Desktop\teeworlds-0.5.1-src\datasrc\compile.py", line 91, in <module>
    EmitDefinition(content.container, "datacontainer")
  File "C:\Users\Wille\Desktop\teeworlds-0.5.1-src\datasrc\datatypes.py", line 158, in EmitDefinition
    print l
IOError: [Errno 9] Bad file descriptor
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:
bam: command returned error: 1
bam: error during build

C:\Users\Wille\Desktop\teeworlds-0.5.1-src>..\bam\src\bam release
bam: building 'release'
[ 1/89] #1 c++ src/game/generated/gs_data.cpp
gs_data.cpp
[ 2/89] #1 network_header > src/game/generated/g_protocol.hpp
Traceback (most recent call last):
  File "C:\Users\Wille\Desktop\teeworlds-0.5.1-src\datasrc\compile.py", line 116, in <module>
    print line
IOError: [Errno 9] Bad file descriptor
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:
bam: command returned error: 1
bam: error during build

C:\Users\Wille\Desktop\teeworlds-0.5.1-src>..\bam\src\bam release
bam: building 'release'
[ 1/87] #1 c++ src/game/server/player.cpp
player.cpp
src\game/gamecore.hpp(179) : error C2146: syntax error : missing ';' before identifier 'input'
src\game/gamecore.hpp(179) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
src\game/gamecore.hpp(179) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
src\game/gamecore.hpp(187) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
src\game/gamecore.hpp(187) : error C2143: syntax error : missing ',' before '*'
src\game/gamecore.hpp(188) : error C2061: syntax error : identifier 'NETOBJ_CHARACTER_CORE'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(37) : error C2065: 'NUM_WEAPONS' : undeclared identifier
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(60) : error C2146: syntax error : missing ';' before identifier 'lat
est_previnput'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(60) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(60) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(61) : error C2146: syntax error : missing ';' before identifier 'lat
est_input'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(61) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(61) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(64) : error C2146: syntax error : missing ';' before identifier 'pre
vinput'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(64) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(64) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(65) : error C2146: syntax error : missing ';' before identifier 'inp
ut'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(65) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(65) : error C4430: missing type specifier - int assumed. Note: C++ d
oes not support default-int
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(111) : error C2061: syntax error : identifier 'NETOBJ_PLAYER_INPUT'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\entities/character.hpp(112) : error C2061: syntax error : identifier 'NETOBJ_PLAYER_INPUT'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\player.hpp(70) : error C2061: syntax error : identifier 'NETOBJ_PLAYER_INPUT'
c:\users\wille\desktop\teeworlds-0.5.1-src\src\game\server\player.hpp(71) : error C2061: syntax error : identifier 'NETOBJ_PLAYER_INPUT'
src/game/server/player.cpp(69) : error C2065: 'NETOBJ_CLIENT_INFO' : undeclared identifier
src/game/server/player.cpp(69) : error C2065: 'client_info' : undeclared identifier
src/game/server/player.cpp(69) : error C2065: 'NETOBJ_CLIENT_INFO' : undeclared identifier
src/game/server/player.cpp(69) : error C2059: syntax error : ')'
src/game/server/player.cpp(70) : error C2065: 'client_info' : undeclared identifier
src/game/server/player.cpp(70) : error C2227: left of '->name0' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(71) : error C2065: 'client_info' : undeclared identifier
src/game/server/player.cpp(71) : error C2227: left of '->skin0' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(72) : error C2065: 'client_info' : undeclared identifier
src/game/server/player.cpp(72) : error C2227: left of '->use_custom_color' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(73) : error C2065: 'client_info' : undeclared identifier
src/game/server/player.cpp(73) : error C2227: left of '->color_body' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(74) : error C2065: 'client_info' : undeclared identifier
src/game/server/player.cpp(74) : error C2227: left of '->color_feet' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(76) : error C2065: 'NETOBJ_PLAYER_INFO' : undeclared identifier
src/game/server/player.cpp(76) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(76) : error C2065: 'NETOBJ_PLAYER_INFO' : undeclared identifier
src/game/server/player.cpp(76) : error C2059: syntax error : ')'
src/game/server/player.cpp(78) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(78) : error C2227: left of '->latency' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(79) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(79) : error C2227: left of '->latency_flux' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(80) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(80) : error C2227: left of '->local' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(81) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(81) : error C2227: left of '->cid' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(82) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(82) : error C2227: left of '->score' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(83) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(83) : error C2227: left of '->team' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(86) : error C2065: 'info' : undeclared identifier
src/game/server/player.cpp(86) : error C2227: left of '->local' must point to class/struct/union/generic type
        type is ''unknown-type''
src/game/server/player.cpp(102) : error C2065: 'NETOBJ_PLAYER_INPUT' : undeclared identifier
src/game/server/player.cpp(102) : error C2065: 'new_input' : undeclared identifier
src/game/server/player.cpp(103) : error C2448: 'PLAYER::on_predicted_input' : function-style initializer appears to be a function definition
src/game/server/player.cpp(109) : error C2065: 'NETOBJ_PLAYER_INPUT' : undeclared identifier
src/game/server/player.cpp(109) : error C2065: 'new_input' : undeclared identifier
src/game/server/player.cpp(110) : error C2448: 'PLAYER::on_direct_input' : function-style initializer appears to be a function definition
src/game/server/player.cpp(174) : error C2065: 'NETOBJTYPE_CHARACTER' : undeclared identifier
bam: command returned error: 2
bam: error during build

C:\Users\Wille\Desktop\teeworlds-0.5.1-src>

4

Re: [HELP] Python problem compiling 0.5.1 on Vista

I tried it too and got the same errors.
Both with VC++ 2005 and 2008.

5 (edited by questmaster 2009-01-29 00:41:01)

Re: [HELP] Python problem compiling 0.5.1 on Vista

Ok,
i found a way to get this working. First: If you use at least Python 2.6 or above you should have a look here for problems with cmd5.py.

The problem that we were facing is a known one, see here. This Bug seems not to be limitied to version 2.6 as i had the same issues with 2.5 and 2.4.

But we can circumvent it quite easy. I modified in the default.bam the function Script() in the following way:

function Script(name)
    if family == "windows" then
--        return str_replace(name, "/", "\\")    <--- this was the old line 
        return "C:\\Python26\\python.exe " .. str_replace(name, "/", "\\") 
    end
    return "python " .. name
end

Well you have to change the path for the python interpreter that it fits your system. I would guess now that the new version spawns a new thread and not a new child process (before windows startet the application associated to the .py extension), so the bug does not occure.

Have fun wink


Questmaster

6

Re: [HELP] Python problem compiling 0.5.1 on Vista

It isn't working. I replaced it. When compiling i get this error.

C:\Documents and Settings\LastLost>cd bam

C:\Documents and Settings\LastLost\bam>make_win32_msvc.b
Setting environment for using Microsoft Visual Studio 20
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
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
c:\documents and settings\lastlost\bam\src\internal_base
: 'd' : unrecognized character escape sequence
c:\documents and settings\lastlost\bam\src\internal_base
: 'd' : unrecognized character escape sequence
src/main.c(1077) : warning C4090: 'function' : different
mem.c
node.c
path.c
support.c
Generating Code...
C:\Documents and Settings\LastLost\bam>cd..

C:\Documents and Settings\LastLost>%comspec% /k ""C:\Pro
ual Studio 9.0\VC\vcvarsall.bat"" x86
Setting environment for using Microsoft Visual Studio 20

C:\Documents and Settings\LastLost>cd teeworlds-0.5.1-sr

C:\Documents and Settings\LastLost\teeworlds-0.5.1-src>.
bam: syntax error
default.bam:17: unexpected symbol near 'return'
stack traceback:
bam: error during build

C:\Documents and Settings\LastLost\teeworlds-0.5.1-src>

7

Re: [HELP] Python problem compiling 0.5.1 on Vista

I am having similar problems. I can compile everything fine except for Teeworlds. I downloaded the recommended programs as posted on http://www.teeworlds.com/?page=docs& … Everything , with the exception that i am using Visual Studio 2009 Pro. When i try to compile Teeworlds through a .bat file that looks like......

call "D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
bam.exe release
pause

..... i get this output, with error....

E:\My Documents\Programming Resources\teeworlds-0.5.1-src\teeworlds-0.5.1-src>ca
ll "D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
bam: building 'release'
[  1/140] #1 c src/engine/external/zlib/zutil.c
zutil.c
[  2/140] #1 c src/engine/external/zlib/uncompr.c
uncompr.c
[  3/140] #1 c src/engine/external/zlib/trees.c
trees.c
[  4/140] #1 c src/engine/external/zlib/inftrees.c
inftrees.c
[  5/140] #1 c src/engine/external/zlib/inflate.c
inflate.c
[  6/140] #1 c src/engine/external/zlib/inffast.c
inffast.c
[  7/140] #1 c src/engine/external/zlib/infback.c
infback.c
[  8/140] #1 c src/engine/external/zlib/gzio.c
gzio.c
[  9/140] #1 c src/engine/external/zlib/deflate.c
deflate.c
[ 10/140] #1 c src/engine/external/zlib/crc32.c
crc32.c
[ 11/140] #1 c src/engine/external/zlib/compress.c
compress.c
[ 12/140] #1 c src/engine/external/zlib/adler32.c
adler32.c
[ 13/140] #1 c src/base/system.c
system.c
[ 14/140] #1 c src/engine/e_snapshot.c
e_snapshot.c
[ 15/140] #1 c src/engine/e_ringbuffer.c
e_ringbuffer.c
[ 16/140] #1 c src/engine/e_packer.c
e_packer.c
[ 17/140] #1 c src/engine/e_network_server.c
e_network_server.c
[ 18/140] #1 c src/engine/e_network_conn.c
e_network_conn.c
[ 19/140] #1 c src/engine/e_network_client.c
e_network_client.c
[ 20/140] #1 c src/engine/e_network.c
e_network.c
[ 21/140] #1 c src/engine/e_msg.c
e_msg.c
[ 22/140] #1 c src/engine/e_memheap.c
e_memheap.c
[ 23/140] #1 c src/engine/e_map.c
e_map.c
[ 24/140] #1 c src/engine/e_linereader.c
e_linereader.c
[ 25/140] #1 c src/engine/e_keynames.c
e_keynames.c
[ 26/140] #1 c src/engine/e_jobs.c
e_jobs.c
[ 27/140] #1 c src/engine/e_huffman.c
e_huffman.c
[ 28/140] #1 c src/engine/e_engine.c
e_engine.c
[ 29/140] #1 c src/engine/e_demorec.c
e_demorec.c
[ 30/140] #1 c src/engine/e_datafile.c
e_datafile.c
[ 31/140] #1 c src/engine/e_console.c
e_console.c
[ 32/140] #1 c src/engine/e_config.c
e_config.c
[ 33/140] #1 c src/engine/e_compression.c
e_compression.c
[ 34/140] #1 c src/tools/tileset_borderfix.c
tileset_borderfix.c
e:\my documents\programming resources\teeworlds-0.5.1-src\teeworlds-0.5.1-src\sr
c\tools\../engine/external/pnglite/pnglite.c(116) : warning C4028: formal parame
ter 1 different from declaration
[ 35/140] #1 link tileset_borderfix.exe
[ 36/140] #1 c src/tools/packetgen.c
packetgen.c
[ 37/140] #1 link packetgen.exe
[ 38/140] #1 c src/tools/map_resave.c
map_resave.c
[ 39/140] #1 link map_resave.exe
[ 40/140] #1 c src/tools/fake_server.c
fake_server.c
[ 41/140] #1 link fake_server.exe
[ 42/140] #1 c src/tools/dilate.c
dilate.c
e:\my documents\programming resources\teeworlds-0.5.1-src\teeworlds-0.5.1-src\sr
c\tools\../engine/external/pnglite/pnglite.c(116) : warning C4028: formal parame
ter 1 different from declaration
[ 43/140] #1 link dilate.exe
[ 44/140] #1 c++ src/tools/crapnet.cpp
crapnet.cpp
[ 45/140] #1 link crapnet.exe
[ 46/140] #1 c++ src/mastersrv/mastersrv.cpp
mastersrv.cpp
[ 47/140] #1 link mastersrv.exe
[ 48/140] #1 c++ src/versionsrv/versionsrv.cpp
versionsrv.cpp
[ 49/140] #1 link versionsrv.exe
[ 50/140] #1 server_content_header > src/game/generated/gs_data.hpp
Traceback (most recent call last):
  File "E:\My Documents\Programming Resources\teeworlds-0.5.1-src\teeworlds-0.5.
1-src\datasrc\compile.py", line 84, in <module>
    EmitEnum(["SPRITE_%s"%i.name.value.upper() for i in content.container.sprite
s.items], "NUM_SPRITES")
  File "E:\My Documents\Programming Resources\teeworlds-0.5.1-src\teeworlds-0.5.
1-src\datasrc\compile.py", line 30, in EmitEnum
    print "\t%s,"%name
IOError: [Errno 9] Bad file descriptor
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:
bam: command returned error: 1
bam: error during build
Press any key to continue



When i try the above fix of changing a line of   "function Script(name)", i get the error....

..
..
[ 50/140] #1 server_content_header > src/game/generated/gs_data.hpp
'e:\My' is not recognized as an internal or external command,
operable program or batch file.
bam: command returned error: 1
bam: error during build
Press any key to continue

Any help with compiling would be greatly appreciated. I have been stuck on this for an embarassingly long time, and need help. Thanks.

8

Re: [HELP] Python problem compiling 0.5.1 on Vista

Put it into a directory that doesn't have a space in it, such as C:\twbuild\teeworlds-0.5.1-src

9

Re: [HELP] Python problem compiling 0.5.1 on Vista

Wow thanks so much Somerunce, that seems like something i should have known heh.

10

Re: [HELP] Python problem compiling 0.5.1 on Vista

This is how I got it working:
-- data compiler
function Script(name)
    if family == "windows" then
--        return str_replace(name, "/", "\\")
        return "D:\\Python26\\python.exe " .. name
    end
    return "python " .. name
end