1 (edited by Pata 2010-06-30 19:20:51)

Topic: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Hey guys,
i got a new PC last week with win 7 64 bit wink
At first i had this Problem
http://www.teeworlds.com/forum/viewtopi … 550#p49550

but now i have this problem and i ont know how to fix this ...

http://img121.imageshack.us/img121/5506/errorwo.png

When i copy the correct files into src/game/generated and start compiling the files become empty >.<
When  there are no files bam builds the files, but they are empty too.
When i try this a few times, bam gives thousands of errors ( WEAPON_RIFLE not found etc. ...)
Edit:
I am using bam 0.2.0 and Teeworlds-0.5.2-src


I hope some1 can help me smile

2

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

You are using 64bit Windows build. You need to change default.bam

-- data compiler
function Script(name)
    if family == "windows" then
--        return str_replace(name, "/", "\\")    <--- this was the old line 
        return "C:\\Path\\to\\Python26\\python.exe " .. str_replace(name, "/", "\\")
    end
    return "python " .. name
end
Goodbye all. Account inactive since March 2011.

3

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

I already fixed this error ...
But i have the other pone wink

4

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

If you post it here, maybe we will can help you.
How surprising..

Goodbye all. Account inactive since March 2011.

5 (edited by Pata 2010-06-27 19:13:49)

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

i have posted it in my first post:

At first i had this Problem
http://www.teeworlds.com/forum/viewtopi … 550#p49550
( I already fixed this error ...)
but now i have this problem and i ont know how to fix this ...

http://img121.imageshack.us/img121/5506/errorwo.png

6

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Clean bam and delete config.bam.

Goodbye all. Account inactive since March 2011.

7

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Clean bam
?

8

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Yes. Before starting the release or debug compilation, start this:

..\bam\src\bam -c

It will clean the bam.

Goodbye all. Account inactive since March 2011.

9

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

thx, but this didn't work smile

10 (edited by MassDestruction 2010-07-08 17:53:47)

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

i guess you downloaded wrong, try downloading source again and look if the file is in the src/game/generated folder.

i hope this helped you wink

EDIT:
maybe copy the file from the original teeworlds source, that must work.

How to compile on windows
~~~ You may NOT edit, or use my work without asking permission at the topic of my work ~~~
if(!game.players[massdestruction]->get_character()) { game.send_chat_target(massdestruction, "You ever gonna learn to aim?") }

11

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

sry but this didnt work ,too ...

12

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

are u sure u have the right python version installed?

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 ^^

13

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

i used python 2.6.5 64 bit, today i tried python 2.7 64 bit, but this also didn't work wink

14

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

maybe u dont have the rights to write the files? running as administrator?

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 ^^

15

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Sry but i tried this too wink

16 (edited by HIP HOP 2010-08-11 16:33:53)

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

I have this problem too sad
I tried do all, what has been said later...
When i tried to compile "clean source" (downloaded from this site from "downloads") but my compiler said to me that "/gs_data.cpp not found... after it i tried to find this file myself and i found it but i saw "gs_data" 0 kb O.o
Then i change this file on new "gs_data.cpp" by instagib source... after it compiler said to me "/g_protocol.cpp not found! .. but i saw him few seconds ago to compilation with 15kb of size O.o... after to tri of compilation he took size "0 kb" hmm
NOTE: i can compile all not standart mods, but when i try to compile instagib or dm\ctf - i see this error hmm
P.S. And sorry for my terrible english hmm

17

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

seems like the compiler cant find your python, are you sure that the path is correct?

18

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Slayer *gv* , thanks you for answer smile

Slayer *gV* wrote:

seems like the compiler cant find your python

hmm, i not think so.... because if the compiler can't find my phyton, he also can't compile private mods... isn't it? (but he compile it (private mods) without problem)

Slayer *gV* wrote:

are you sure that the path is correct?

Do you have mean *source is correct? if yes - i sure because i downloaded them from official page of teeworlds. I tryed to compile source version 0.5.1 and 0.5.2.. right?

And i can't understand: Why after try of compile this "official source" file "gs_data.cpp lost all his information!?!?

19

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

no, the gs files are build by python.
if the compiler cant "connect" to python, he cant build them (-> 0kib size)
maybe your "private mods" can be compiled, coz the files were already built, maybe by someone other...you could check this by deleting the files (or just move them to your desktop/whatever) and try to compile and look if these files are build again

20

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Thanks you SLAYER *gV* smile
You right! Compiler really can't find Python... Problem was in "default" file. Was wrote in him "C://Python26/python.exe
but i have python27 big_smile .. i changed "Python26" on "Python27" and all work now smile
Thanks you again wink and sorry for my carelessness hmm
Bye smile

21

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Remove config.bam and try again.

22

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Kottizen thanks you too but i already deleted my problem wink

HIP HOP wrote:

Was wrote in him "C://Python26/python.exe ... .but i have python27 big_smile "

smile

23

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

omfg, i was stupid smile
i had the same problem xD
but i also solved this problem by delete the lines in where bam sent the order to python to build the files
so i only had to copy the correct files into the generated folder, this worked too wink

Thanks HIP HOP big_smile

24

Re: [HELP] Compile-Error: gs_data.cpp/.hpp not found

Where is default.bam located?

» Albert Einsteein: I have no special talent. I am only passionately curious.