Linux Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode
#1
Hi,

Ubuntu Maverick 10.10. updated few days ago.

I just checked out Eden sources from git (git clone -b Eden ....).

Build directory was previously empty.

Ran ./bootstrap; ./configure; make

Builds nicely until:

[..]
CPP xbmc/input/ButtonTranslator.o
ButtonTranslator.cpp: In member function ‘bool CButtonTranslator::LoadKeymap(const CStdString&)’:
ButtonTranslator.cpp:525: error: ‘TINYXML_ELEMENT’ is not a member of ‘TiXmlNode’
ButtonTranslator.cpp: In member function ‘bool CButtonTranslator::LoadLircMap(const CStdString&)’:
ButtonTranslator.cpp:575: error: ‘TINYXML_ELEMENT’ is not a member of ‘TiXmlNode’
/home/spock/src/xbmc-Eden/xbmc/guilib/GraphicContext.h: At global scope:
/home/spock/src/xbmc-Eden/xbmc/guilib/GraphicContext.h:245: warning: ‘g_graphicsContext’ defined but not used
make[1]: *** [ButtonTranslator.o] Error 1
make: *** [xbmc/input/input.a] Error 2
[..]


TinyXML version installed is 2.5.3 (which seems the default of my current Ubuntu):

Package: libtinyxml2.5.3
State: installed
Automatically installed: yes
Version: 2.5.3-3
Priority: optional
Section: universe/libs
Maintainer: Ubuntu Developers <[email protected]>
Uncompressed Size: 152k
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.2.1)
Description: C++ XML parsing library
This package contains the shared version of the TinyXml library.

TinyXml is a simple and small C++ XML parser that can be easily integrating into other programs. It reads XML and
creates C++ objects representing the XML document. The objects can be manipulated, changed, and saved again as XML.
Homepage: http://www.grinninglizard.com/tinyxml/



Advice much appreciated. Thanks.

Reply
#2
If you want Eden, checkout from the tag.

The Eden branch is currently receiving backport fixes, not all of which are currently in. You can cherry-pick the related fixes from master for this if you want, or just go with the tag.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Hi spoxta

I guess that at this time you figured it out long ago, but just in case anybody finds this thread, dropping the "TINYXML_" part from TINYXML_ELEMENT on the coincidences might do the trick.

Cheers!
Reply

Logout Mark Read Team Forum Stats Members Help
Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode0