Page 1 of 1

supertuxkart svn can't compile on linux 64bit

PostPosted: 19 Dec 2011, 08:27
by modz
hi,
i tried to compile from svn, but get this error:

In file included from guiengine/widgets/CGUIEditBox.cpp:5:0:
guiengine/widgets/CGUIEditBox.h:39:25: error: conflicting return type specified for 'virtual irr::video::SColor CGUIEditBox::getOverrideColor() const'
/usr/include/irrlicht/IGUIEditBox.h:42:33: error: overriding 'virtual const irr::video::SColor& irr::gui::IGUIEditBox::getOverrideColor() const'
make[2]: *** [CGUIEditBox.o] Error 1


i'm using supertuxkart svn 10446, i've already installed irrlicht 3843.

how to resolve the error?

thanks

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 19 Dec 2011, 17:15
by Auria
Hi,

this is because latest trunk of STK requires latest irrlicht too, irrlicht 3843 is for STK 0.7.3

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 21 Dec 2011, 04:42
by modz
what version of irrlicht?

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 21 Dec 2011, 11:28
by Arthur
A later one at least. I'm using Irrlicht r4011, and haven't noticed any problems with it, so if you want a reference revision you can use that. A later one may work just as well too.

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 21 Dec 2011, 21:03
by Crendgrim
Irrlicht r4021, STK r10461. No compilation problems on openSUSE 11.4 64bit.

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 22 Dec 2011, 06:32
by modz
I use the 4021 version of irrlicht. the compilation was successful. so I run the program and I get an error
Grand Prix 'All Tracks': Track 'hacienda' does not exist!
This Grand Prix will not be available.
Grand Prix 'At World's End': Track 'fortmagma' does not exist!
This Grand Prix will not be available.
Grand Prix 'Penguin Playground': Track 'sandtrack' does not exist!
This Grand Prix will not be available.
Grand Prix 'Snag Drive': Track 'islandtrack' does not exist!
This Grand Prix will not be available.
Grand Prix 'To the Moon and Back': Track 'lighthouse' does not exist!
This Grand Prix will not be available.
Error messages and other text output will be logged to /home/dhamma/.config/supertuxkart/stdout.log and /home/dhamma/.config/supertuxkart/stderr.log
Segmentation fault

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 22 Dec 2011, 08:41
by modz
i try to copy all track from stk v0.7.3 to stk svn v10476 and it works.

there I want to ask
if the svn in the update, how do I install it? do i have to compile again?

Re: supertuxkart svn can't compile on linux 64bit

PostPosted: 22 Dec 2011, 11:10
by Arthur
Most often you will have to compile again, unless only data files were changed. Just use "svn up && make" whilst being in the main directory of STK svn. If some source code has changed, it will recompile the necessary parts,, and if not, it will just skip past it.