CMake Error on Ubuntu 12.04
Moderator: PPS-Leaders
Re: CMake Error on Ubuntu 12.04
You have to also get packages libtolua-dev and libtolua++5.1-dev from the repos.
Re: CMake Error on Ubuntu 12.04
What got in the trunk:
http://www.orxonox.net/timeline?from=20 ... ion=second
(see the latest three commits)
I updated the dependencies. Sorry about that.
http://www.orxonox.net/wiki/LinuxUbuntu
http://www.orxonox.net/timeline?from=20 ... ion=second
(see the latest three commits)
I updated the dependencies. Sorry about that.
http://www.orxonox.net/wiki/LinuxUbuntu
Fail. Fail again. Fail better.
Re: CMake Error on Ubuntu 12.04
Thank you. I can build it now perfectly and get the CEGui error when starting it.
"I'm Commander Shepard and this is my favorite forum on the internet."
Re: CMake Error on Ubuntu 12.04
I found a dirty workaround to circumvent the problem. Just install the old cegui packages. See http://www.orxonox.net/wiki/LinuxUbuntu for further details.
I try to find a better solution - but don't expect too much.
I try to find a better solution - but don't expect too much.
Fail. Fail again. Fail better.
Re: CMake Error on Ubuntu 12.04
Simple and dirty. Well a solution would be to maintain CEGUI by ourselves, right? That would mean less dependencies, but probably an old version of CEGUI for Orxonox.
Just hope you never need the newer packages for anything and that the system never tries to update them.
Just hope you never need the newer packages for anything and that the system never tries to update them.
"I'm Commander Shepard and this is my favorite forum on the internet."
Re: CMake Error on Ubuntu 12.04
In fact the system would automatically update the packages. The ubuntu user would be force to de-select the cegui packages during each update.
I added to the wikipage a way how to tell the system to keep the specified version of the package via Synaptic.
I added to the wikipage a way how to tell the system to keep the specified version of the package via Synaptic.
Fail. Fail again. Fail better.
Re: CMake Error on Ubuntu 12.04
Okay, that is neat. I guess that's okay for now.
"I'm Commander Shepard and this is my favorite forum on the internet."
Re: CMake Error on Ubuntu 12.04
I asked a developer from the CEGUi project for hints how to tackle the bug. He Suggests to change the default xml-parser:
I guess that the code line has to be placed in our GUIManager - probably at line 265.
What further steps are necessary to use the ExpatParser? Is there any way to keep tinyXML for our issues and let CEGUI use Expat?
So far I wasn't able to really digg further in this issue. I installed the expat package ( http://packages.ubuntu.com/precise/expat ) via synaptic. (There does not seem to be something like a expat-dev package.)I have been able to test this a little bit this morning, and was able
to reproduce the issue easily with the TinyXML parser. Unfortunately I
did not easily discover a cause for the issue - and therefore no
solution involving TinyXML.
The only way I could get past the issue was to override the use of
TinyXML as the XML parser in favour of the Expat module (which is also
included with the packages on (K)ubuntu). If you want to go that route,
you can do so by adding a call the the static function:
System::setDefaultXMLParserName("ExpatParser");
prior to creating the main CEGUI system object.
The fact that Expat works and TinyXML does not would seem to indicate
some issue with the way we use TinyXML in 0.7.5 (and above,
presumably). I will add a ticket to our mantis tracker to investigate
that further at some point, and of course, should you find the cause
yourself, please let me know![]()
I guess that the code line
Code: Select all
System::setDefaultXMLParserName("ExpatParser");
What further steps are necessary to use the ExpatParser? Is there any way to keep tinyXML for our issues and let CEGUI use Expat?
Fail. Fail again. Fail better.
Who is online
Users browsing this forum: No registered users and 2 guests