supertuxkart svn can't compile on linux 64bit

supertuxkart svn can't compile on linux 64bit

Postby modz » 19 Dec 2011, 08:27

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
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

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

Postby Auria » 19 Dec 2011, 17:15

Hi,

this is because latest trunk of STK requires latest irrlicht too, irrlicht 3843 is for STK 0.7.3
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

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

Postby modz » 21 Dec 2011, 04:42

what version of irrlicht?
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

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

Postby Arthur » 21 Dec 2011, 11:28

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.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

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

Postby Crendgrim » 21 Dec 2011, 21:03

Irrlicht r4021, STK r10461. No compilation problems on openSUSE 11.4 64bit.
Crendgrim
 
Posts: 227
Joined: 03 May 2011, 21:59

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

Postby modz » 22 Dec 2011, 06:32

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
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

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

Postby modz » 22 Dec 2011, 08:41

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?
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

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

Postby Arthur » 22 Dec 2011, 11:10

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.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Who is online

Users browsing this forum: No registered users and 1 guest