Windows building!!!

Windows building!!!

Postby Muhammad1995 » 20 Mar 2010, 19:56

Hi

I try to complie STK the hole day and i have always this "erorr" for the bullet_lib:

WIN32
: fatal error C1083: Datei (Quelle) kann nicht geöffnet werden: "WIN32": No such file or directory // can't open WIN32 ???
1>Code wird generiert...
Projekt : warning PRJ0018 : Folgende Umgebungsvariablen konnten nicht gefunden werden:
$(STK_INCLUDE)

(sry it is in German)

Can anyone help me??? I don´t know how can i help the STK Team if i can not compress the supertuxkart.exe

I hope you can help me

Muhammad

STK 4-ever
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby hiker » 21 Mar 2010, 00:11

Hi,

Muhammad1995 {l Wrote}:I try to complie STK the hole day and i have always this "erorr" for the bullet_lib:

WIN32
: fatal error C1083: Datei (Quelle) kann nicht geöffnet werden: "WIN32": No such file or directory // can't open WIN32 ???
1>Code wird generiert...
Projekt : warning PRJ0018 : Folgende Umgebungsvariablen konnten nicht gefunden werden:
$(STK_INCLUDE)

Which version of STK are you trying to compile? It sounds like a somewhat older version (since current SVN version shouldn't use STK_INCLUDE anymore). I'd suggest to get the current SVN version (which is basically necessary if you want to contribute anyway) and to follow the instructions in the README (i.e. use the dependency package we provide). No setting of environment variables should be necessary anymore).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Windows building!!!

Postby jazzwong » 31 Mar 2010, 14:13

hi,
it met this error ,and:
keep the "supertuxkart.ncb",clear all the others, and compile again. it works


jzw
jazzwong
 
Posts: 5
Joined: 31 Mar 2010, 13:44

Re: Windows building!!!

Postby Muhammad1995 » 31 Mar 2010, 21:19

Thank you and sorry that i am answering to late, but i was not at home. I have done it, Thanks!!!

Besides I saw the video of supertuxkart.de yesterday and i was very shocked. So I updated my STK with the newest revision and i get the same errors with the older revision.

In the Windows Console(cmd) of STK:

C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\STKFile\trunk\main>s
upertuxkart.exe
Irrlicht Engine version 1.7.0-beta
Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Data files will be fetched from: '.'
Irrlicht Engine version 1.7.0-beta
Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Trying OpenGL rendering.
Warning: track 'beach' is not supported by this binary, ignored.
Warning: track 'stadium' is not supported by this binary, ignored.
Warning: track 'startrack' is not supported by this binary, ignored.
TrackManager: Couldn't find track: 'beach'
TrackManager: Couldn't find track: 'startrack'
TrackManager: Couldn't find track: 'islandtrack'
TrackManager: Couldn't find track: 'sandtrack'
TrackManager: Couldn't find track: 'fortmagma'
TrackManager: Couldn't find track: 'snowtuxpeak'
TrackManager: Couldn't find track: 'crescentcrossing'
TrackManager: Couldn't find track: 'olivermath'
TrackManager: Couldn't find track: 'racetrack'
TrackManager: Couldn't find track: 'city'
TrackManager: Couldn't find track: 'xr591'
TrackManager: Couldn't find track: 'tuxtollway'
TrackManager: Couldn't find track: 'skyline'
TrackManager: Couldn't find track: 'fortmagma'
TrackManager: Couldn't find track: 'city'
TrackManager: Couldn't find track: 'snowtuxpeak'
TrackManager: Couldn't find track: 'racetrack'
TrackManager: Couldn't find track: 'sandtrack'
TrackManager: Couldn't find track: 'olivermath'
TrackManager: Couldn't find track: 'islandtrack'
TrackManager: Couldn't find track: 'tuxtollway'
TrackManager: Couldn't find track: 'crescentcrossing'
TrackManager: Couldn't find track: 'skyline'
TrackManager: Couldn't find track: 'startrack'
TrackManager: Couldn't find track: 'xr591'
TrackManager: Couldn't find track: 'beach'
Level 1: Could not open file of texture:
Level 1: Could not open file of texture:
Level 1: Could not open file of texture:
Level 1: Could not open file of texture:
Level 1: Could not open file of texture:
TrackManager: Couldn't find track: 'tuxtollway'
ChallengeData : Undefined or incorrect value for 'track' in challenge file './da
ta/tracks/canyon/canyon.challenge'.

/!\ An error occurred while loading challenge file './data/tracks/canyon/canyon.
challenge' : Undefined or incorrect value for 'track' in challenge file './data/
tracks/canyon/canyon.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'racetrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file './da
ta/tracks/jungle/jungle.challenge'.

/!\ An error occurred while loading challenge file './data/tracks/jungle/jungle.
challenge' : Undefined or incorrect value for 'track' in challenge file './data/
tracks/jungle/jungle.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'islandtrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file './da
ta/grandprix/atworldsend.challenge'.

/!\ An error occurred while loading challenge file './data/grandprix/atworldsend
.challenge' : Undefined or incorrect value for 'track' in challenge file './data
/grandprix/atworldsend.challenge'. : challenge will be ignored.

TrackManager: Couldn't find track: 'sandtrack'
ChallengeData : Undefined or incorrect value for 'track' in challenge file './da
ta/grandprix/tothemoonandback.challenge'.

/!\ An error occurred while loading challenge file './data/grandprix/tothemoonan
dback.challenge' : Undefined or incorrect value for 'track' in challenge file '.
/data/grandprix/tothemoonandback.challenge'. : challenge will be ignored.

Challenge prerequisite 'energyshiftingsands' of 'tothemoonandbackgp' not found -
ignored
Challenge prerequisite 'islandfollow' of 'worldsend' not found - ignored
Challenge prerequisite 'energyshiftingsands' of 'tothemoonandbackgp' not found -
ignored
Challenge prerequisite 'islandfollow' of 'worldsend' not found - ignored
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/logo.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/main_race.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/main_network.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/challenge.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/main_options.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/main_help.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/main_about.png
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/gui/main_quit.png
startMusic : m_normal_filename=<./data/music//MayDayMayhem.ogg>
Resizing window (800 600)
Loaded texture: C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/STKF
ile/trunk/main/data/fonts/LayneHansom0.png
WARNING: Music not playing when it should be. Source state: 4116
WARNING: Music not playing when it should be. Source state: 4116


I do not know: What should i do

Please help me. Can anyone write an Initiation or make a video "How to compile STK in Window"
In my life i compile so many programms, but i don't know....

I hope that you understand my English ;-)

Muhammad Srour

NOTE: I already make a German translation but i want to test it before i upload it. So please help me
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby Auria » 31 Mar 2010, 22:55

I see nothing wrong in what you posted. It's mostly warnings about tracks not converted yet. Can you describe what happens?
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Windows building!!!

Postby Muhammad1995 » 01 Apr 2010, 15:34

Ok if I want to make the first challenge, I get an error that one track was not found and then the program crashes. Besides I find that the previous problem should be solved, because you have to complie STK 2 times.


Thanks for the quick reply

Muhammad Srour
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby Muhammad1995 » 01 Apr 2010, 15:37

Can anyone the newest revision of STK for Windows please?

Thank you ;-)
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby Auria » 01 Apr 2010, 17:38

Hiker, the project leader, develops on Windows, so STK is always working on Windows (or almost).
The challenges issue is a known issue.
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Windows building!!!

Postby Muhammad1995 » 01 Apr 2010, 23:42

Auria {l Wrote}:Hiker, the project leader, develops on Windows, so STK is always working on Windows (or almost).
The challenges issue is a known issue.


The challenges are a known issue. But it works on MAC so it must work also on Windows(Evidence = Video on supertuxkart.de).
Why does it not work in Windows??? or Why does it not work by me???

In my experience i complie so many hard programms and it works always. So please don't think that i am clueless about compling etc.

Please answer fast(Hiker), because i want to test my translation


Thanks

NOTE: If you can write and understand German so please write me the answer by Mail. But i understand also English ;-)
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby hiker » 03 Apr 2010, 15:43

Muhammad1995 {l Wrote}:
Auria {l Wrote}:Hiker, the project leader, develops on Windows, so STK is always working on Windows (or almost).
The challenges issue is a known issue.


The challenges are a known issue. But it works on MAC so it must work also on Windows(Evidence = Video on supertuxkart.de).
Why does it not work in Windows??? or Why does it not work by me???

As Auria has written: Challenges do not work, and are not expected to work at this stage. It certainly does not work on Mac (what makes you say it does work on Mac??), nor Windows. I can't comment on the videos on supertuxkart.de - it depends on the version they were using, or they might have adjusted the challenges, or a preview of the menu only.

Best regards,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Windows building!!!

Postby Muhammad1995 » 07 Apr 2010, 11:47

Thank you it works.


Today, i update STK and by the Compiling of STK the programm give me this error:
..\..\race\history.cpp(161) : fatal error C1022: #endif erwartet

I think this error is not from me, because it has worked 3 days ago and i know that anyone change the history.cpp. Please repair it.

STK 4-ever

Muhammad Srour

NOTE: Besides i find STK work stabler than the previous 5 Revision
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby Auria » 07 Apr 2010, 13:49

Fixed in latest SVN
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Windows building!!!

Postby Muhammad1995 » 07 Apr 2010, 20:19

Thank you very much.

At the weekend i will upload the German translation and a Windows Revision.



Thanks Thanks Thanks
Muhammad1995
My Work :
Translation: Wiki and STK in German
Make a SuperTux Kart CMS (Website)
Make Music(I am very musical)

What will i do in the future:
Make Karts, Tracks
Muhammad1995
 
Posts: 16
Joined: 20 Mar 2010, 08:43
Location: Germany in C:/Windows

Re: Windows building!!!

Postby acme_pjz » 24 Apr 2010, 11:37

I met this problem, too, and it occurs randomly ... At first I compile bullet_lib 3 times and it always "can't open WIN32 " :| I closed VS2005 and reopen it then it can compile bullet_lib :|

BTW: I spend the whole afternoon to compile latest SVN in Ubuntu :| because there are a lot of devel packages missing ... And compile it in Windows is quite easy ...
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: Windows building!!!

Postby hiker » 25 Apr 2010, 03:14

acme_pjz {l Wrote}:I met this problem, too, and it occurs randomly ... At first I compile bullet_lib 3 times and it always "can't open WIN32 " :| I closed VS2005 and reopen it then it can compile bullet_lib :|

You shouldn't have to build bullet lib, there is a dependency from supertuxkart to bullet lib which should trigger this to be built automatically. But I have actually seen this once or twice with enet which wouldn't build, but just recompiling supertuxkart always triggered the proper build.

BTW: I spend the whole afternoon to compile latest SVN in Ubuntu :| because there are a lot of devel packages missing ... And compile it in Windows is quite easy ...

Well, it shouldn't be too difficult on linux either, but admittedly it might take some time to get the dependencies right. It was actually more complicated to get the windows dependencies right (gettext is a pain), that's why we put the dependency package online.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Windows building!!!

Postby acme_pjz » 25 Apr 2010, 09:01

It was actually more complicated to get the windows dependencies right (gettext is a pain), that's why we put the dependency package online.
Oh, I see...
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Who is online

Users browsing this forum: No registered users and 1 guest