Page 1 of 1

Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 10:09
by MCMic
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?

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 10:15
by hiker
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

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 10:19
by MCMic
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.

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 13:14
by hiker
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

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 14:58
by MCMic
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.

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 18:18
by MCMic
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?

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 18:19
by MCMic
Ok, my bad, the information is on your wiki.

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 18:28
by MCMic
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.

Re: Building SuperTuxKart 0.7.3

PostPosted: 15 Nov 2011, 20:03
by Auria
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 :)