XBMC Community Forum
[Linux] Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [Linux] Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode (/showthread.php?tid=131481)



Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode - spoxta - 2012-05-14 00:39

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 <ubuntu-devel-discuss@lists.ubuntu.com>
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.


RE: Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode - jmarshall - 2012-05-14 00:46

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


RE: Eden fails build with TINYXML_ELEMENT is not a member of TiXmlNode - jakapaka - 2012-08-27 01:02

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!