1 (edited by Lanta 2009-10-19 17:35:20)

Topic: [HELP] Compiling on Windows 7

Hi.
I'm not new to the teeworlds compiling. Now i've migrated to Windows 7 Professional build 7600 64bit, and I can't compile.
What I've done:

followed the compiling page like always: http://www.teeworlds.com/?page=docs& … Everything
downloaded and installed Visual Studio 2008
installed python
downloaded and unzipped bam, downloaded and unzipped teeworlds sources.
I load the Visual studio environment with the
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
(edited a little the path due to 64bit architecture)
compiled bam with no errors
started compiling teeworlds, with these errors:
http://www.pctunerup.com/up/results/_200910/20091019164415_errors.jpg

The same steps done on my old Windows Vista 32bit with the same compiling software worked perfect. What's wrong. There is something with 64bit?

Support Staff - ESL.eu Teeworlds Admin

2

Re: [HELP] Compiling on Windows 7

What version of python (and 32 or 64 bit) did you install?
Also, after some googling, I would suggest you to run the process multiple times, it look like some problem with file IO concurrency

Drowning dwarves lately

3 (edited by Lanta 2009-10-19 19:38:44)

Re: [HELP] Compiling on Windows 7

Jamp wrote:

What version of python (and 32 or 64 bit) did you install?

Python 2.6.3 Windows installer (Windows 32bit binary -- does not include source)
Uninstalled 32 vit version and installed 64 bit... tried to compiled... bleeeaaaahhh... was better before...
The "no C++/C compiler found" message... it's not good... I've loaded the VS environment.

Jamp wrote:

Also, after some googling, I would suggest you to run the process multiple times, it look like some problem with file IO concurrency

Done, nothing hmm

I had an idea... maybe it's this the problem:

mrlantastic wrote:

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

tried also with x86 (only after instaling Python 64bit) and same screenshot as before.

Support Staff - ESL.eu Teeworlds Admin

4

Re: [HELP] Compiling on Windows 7

about the first screenshot... teeworlds seems not to find python in 64bit why ever xD

try to change the following:

original:

function Script(name) 
            if family == "windows" then 
                    return str_replace(name, "/", "\\") 
            end 
            return "python " .. name 
    end 

changed:

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 

...in case u installed it there ^^

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

5

Re: [HELP] Compiling on Windows 7

Sushi Tee wrote:

about the first screenshot... teeworlds seems not to find python in 64bit why ever xD

try to change the following:

original:

function Script(name) 
            if family == "windows" then 
                    return str_replace(name, "/", "\\") 
            end 
            return "python " .. name 
    end 

changed:

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 

...in case u installed it there ^^

So... i must re-install 32 bit version of python or still use 64bit?

Support Staff - ESL.eu Teeworlds Admin

6 (edited by Sushi Tee 2010-12-31 14:23:18)

Re: [HELP] Compiling on Windows 7

64bit 32bit... doesnt matter... but 64bit is better since ur system is 64bit

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

7 (edited by Lanta 2009-10-20 12:11:32)

Re: [HELP] Compiling on Windows 7

Sushi Tee wrote:

i think 32bit

Another thing, maybe a really noob question...
where I have to replace the string you posted? (in what file...)
I've searched it but didn't find.

So, now I've reinstalled the 32bit version of Python, I have to load the 32bit version of the VS environment and to build the bam for VS 32 bit...
If it doesn't work, I try build it with 64bit version of Python, to load the 64bit version of the VS environment and to build the bam for BV 64 bit hmm

Support Staff - ESL.eu Teeworlds Admin

8

Re: [HELP] Compiling on Windows 7

u need to cahnge it in default.bam line 16 ...sry i forgot to post that :\

btw... Visual C++ 2008 Express only builds 32bit even in 64bit if i remember right ^^

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

9 (edited by Lanta 2009-10-20 14:40:04)

Re: [HELP] Compiling on Windows 7

Sushi Tee wrote:

u need to cahnge it in default.bam line 16 ...sry i forgot to post that :\

btw... Visual C++ 2008 Express only builds 32bit even in 64bit if i remember right ^^

It's not Visual C++ Express... it's full original Visual Studio 2008.
Btw, now i try. Tnx.

Support Staff - ESL.eu Teeworlds Admin

10 (edited by Böhse-Onkelz 2009-10-30 12:10:14)

Re: [HELP] Compiling on Windows 7

Hi you can not ask of you a download link, I do not get it out sad (Ps ih've tried it only once)

11

Re: [HELP] Compiling on Windows 7

Böhse-Onkelz wrote:

Hi you can not ask of you a download link, I do not get it out sad (Ps ih've tried it only once)

I know it's an old post, but I still can't hmm
No other solutions?

Support Staff - ESL.eu Teeworlds Admin