Linux [CXBMCTinyXML] Latest git for my OpenELEC
#1
Hi,

i am trying to build latest git, i get error:
Code:
$HOME/OpenELEC.tv_20120804/build.OpenELEC_PVR-Intel.i386-devel/toolchain/lib/gcc/i686-openelec-linux-gnu/4.7.1/../../../../i686-openelec-linux-gnu/include/c++/4.7.1/bits/basic_string.h:2750:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
$HOME/OpenELEC.tv_20120804/build.OpenELEC_PVR-Intel.i386-devel/toolchain/lib/gcc/i686-openelec-linux-gnu/4.7.1/../../../../i686-openelec-linux-gnu/include/c++/4.7.1/bits/basic_string.h:2750:5: note:   template argument deduction/substitution failed:
DVDStateSerializer.cpp:206:13: note:   'CXBMCTinyXML' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
make[1]: *** [DVDStateSerializer.o] Error 1
make: *** [xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a] Error 2

i have build tinyxml-2.6.2 shared library with:
Code:
$HOME/OpenELEC.tv_20120804/build.OpenELEC_PVR-Intel.i386-devel/toolchain/bin/i686-openelec-linux-gnu-g++ -fpic -shared -o libtinyxml.so.0.2.6.2 -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest)

any idea ?

Thanks.
Reply
#2
enable stl support for your tinyxml.
Reply
#3
using stl enabled (-DTIXML_USE_STL) i get same problem Confused
which version of tinyxml should i use ?

Thanks.

Code:
strings libtinyxml.so.0.2.6.2 |grep -i std
libstdc++.so.6
!Find( std::string( addMe->Name() ) )
static const char* TiXmlBase::ReadName(const char*, std::string*, TiXmlEncoding)
virtual void TiXmlElement::StreamIn(std::istream*, std::string*)

Code:
strings libtinyxml.so.0.2.6.2 |grep -i basic_string
basic_string::at
Reply

Logout Mark Read Team Forum Stats Members Help
[CXBMCTinyXML] Latest git for my OpenELEC0