Building SuperTuxKart 0.7.3

Building SuperTuxKart 0.7.3

Postby MCMic » 15 Nov 2011, 10:09

I had to add "class ISceneNode;" line 41 of irr_driver.hpp
But it still does not build, it crash with :

I can see UseMipMaps on this page : http://irrlicht.convextech.ca/IrrlichtD ... ource.html that I got from google search, but I can't find it on the official API documentation: http://irrlicht.sourceforge.net/docu/cl ... erial.html
So I don't know if I have a too old or too new version of irrlicht, but it seems to not be the one STK needs.

Does anyone know how to solve this?
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building SuperTuxKart 0.7.3

Postby hiker » 15 Nov 2011, 10:15

MCMic {l Wrote}:I had to add "class ISceneNode;" line 41 of irr_driver.hpp
But it still does not build, it crash with :

I can see UseMipMaps on this page : http://irrlicht.convextech.ca/IrrlichtD ... ource.html that I got from google search, but I can't find it on the official API documentation: http://irrlicht.sourceforge.net/docu/cl ... erial.html
So I don't know if I have a too old or too new version of irrlicht, but it seems to not be the one STK needs.

You need irrlicht r3843 for STK 0.7.3, that should work without any problems. Much(?) newer versions of irrlicht don't work with STK (though we will switch on trunk soon).

Hope that helps!
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Building SuperTuxKart 0.7.3

Postby MCMic » 15 Nov 2011, 10:19

Ok :-/
I was trying to do an aur package for ArchLinux, I would have need STK to work with the packaged irrlicht version.
I'll try to see if I can patch the code.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building SuperTuxKart 0.7.3

Postby hiker » 15 Nov 2011, 13:14

MCMic {l Wrote}:I was trying to do an aur package for ArchLinux, I would have need STK to work with the packaged irrlicht version.
I'll try to see if I can patch the code.

Since I assume that a packaged irrlicht version is one of their official releases I would not recommend using it. We couldn't use any of the 1.7* releases due to bugs in irrlicht, and 1.8 has not been released yet. That's why we decided to use a current SVN version of irrlicht (which we have tested for more than half a year by now). Even if you manage to get STK to compile with 1.7*, the resulting executable will contain bugs (I admit I can't remember the details of the bugs atm).

Since irrlicht can easily be used as a static library, can't you just use the recommended irrlicht version? No need to use an installed version. If you use an older 1.7 based irrlicht version, you will (potentially ;) ) cause outdated bug reports for us, which would be difficult to distinguish from genuine one.

I know using an unreleased irrlicht version isn't ideal, and we hoped and would have preferred to use 1.8, but then again considering that 1.8 is still not released, and we had 2 releases, it would have been a really inconvenient delay for us.

Just my 2 cents ;)

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

Re: Building SuperTuxKart 0.7.3

Postby MCMic » 15 Nov 2011, 14:58

Okay.
I understand, I got the same problem with SFML: 1.6 is old and unmaintained, 2.0 isn't stable and out yet.

I'll try to do a PKGBUILD that pull the right irrlicht revision and link it statically.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building SuperTuxKart 0.7.3

Postby MCMic » 15 Nov 2011, 18:18

It works, but at launch I get :
!!!!! Performance warning: Irrlicht compiled with debug mode.!!!!
!!!!! This can have a significant performance impact !!!!!
Did I do something wrong while compiling irrlicht?
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building SuperTuxKart 0.7.3

Postby MCMic » 15 Nov 2011, 18:19

Ok, my bad, the information is on your wiki.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building SuperTuxKart 0.7.3

Postby MCMic » 15 Nov 2011, 18:28

I updated the aur package named "supertuxkart-alpha" : https://aur.archlinux.org/packages.php?ID=36874

supertuxkart is in the official repo, but I'm not sure they'll accept to link statically with a non-stable irrlicht version.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building SuperTuxKart 0.7.3

Postby Auria » 15 Nov 2011, 20:03

MCMic {l Wrote}:I updated the aur package named "supertuxkart-alpha" : https://aur.archlinux.org/packages.php?ID=36874

supertuxkart is in the official repo, but I'm not sure they'll accept to link statically with a non-stable irrlicht version.


thanks for your efforts :)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: No registered users and 1 guest