workaround: compile error 0.7.3 and irr 1.8.0

workaround: compile error 0.7.3 and irr 1.8.0

Postby olonys » 08 Jan 2012, 22:03

Hi!

I got an error when compiling 0.7.3


I downloaded supertuxkart-0.7.3-src.tar.bz2 sourcecode.

And grabbed the last from irrlicht 1.8.0 branch (http://irrlicht.convextech.ca/).
Compiling Irrlicht (make NDEBUG=1) and installing libs.

Then I ran into error on returntype for member getOverrideColor() in files
CGUIEditBox.cpp
CGUIEditBox.h

Workaround:
Chage returntype of getOverrideColor() by removing "const &" from returntype

Snippet from my file:
//virtual video::SColor const & getOverrideColor() const;
virtual video::SColor getOverrideColor() const;

There is only one occurence in the each of the two files and nowhere else (as I saw).
The it compiled nicely and works very well on my Dell Dimension 8400 running Ubuntu 11.04.

Just thought this might help someone out.

Cheers!
olonys
 
Posts: 2
Joined: 08 Jan 2012, 21:46
Location: Örviken, Sweden

Re: workaround: compile error 0.7.3 and irr 1.8.0

Postby hiker » 09 Jan 2012, 01:47

Hi,

STK 0.7. 3 needs a specific irrlicht version to work (our dependency packages use r3995 iirc), we haven't tested if STK 0.7.3 might have a problem with any other changes done in irrlicht since r3995. We have switched to latest irrlicht SVN in our current development trunk (with the idea of using irrlicht 1.8 once it is released).

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

Re: workaround: compile error 0.7.3 and irr 1.8.0

Postby olonys » 09 Jan 2012, 22:42

OK Hiker,

I downloaded and used the latest revision. r4028 if I understood that labeling correctly.

Regards,
Olof
olonys
 
Posts: 2
Joined: 08 Jan 2012, 21:46
Location: Örviken, Sweden

Who is online

Users browsing this forum: No registered users and 1 guest

cron