XMLString undeclared

in Help Center
Next problem:
make[2]: Entering directory `/home/fountainb/tools/Ice-1.0.0/src/slice2xsd'
<snip>
c++ -c -I. -I../../include -I/usr/local/include -g -ftemplate-depth-128 -fPIC -Wall Validate.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
Validate.cpp: In function `std::string toString(const XMLCh*)':
Validate.cpp:36: `XMLString' undeclared (first use this function)
I have xercesc installed in /usr/local, and I don't see any errors
finding /usr/local/include/xercesc/util/XMLString.hpp (although that
warning about search order seems odd). It looks like XMLString.hpp
hasn't been #included.
Any suggestions?
Bruce Fountain
make[2]: Entering directory `/home/fountainb/tools/Ice-1.0.0/src/slice2xsd'
<snip>
c++ -c -I. -I../../include -I/usr/local/include -g -ftemplate-depth-128 -fPIC -Wall Validate.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
Validate.cpp: In function `std::string toString(const XMLCh*)':
Validate.cpp:36: `XMLString' undeclared (first use this function)
I have xercesc installed in /usr/local, and I don't see any errors
finding /usr/local/include/xercesc/util/XMLString.hpp (although that
warning about search order seems odd). It looks like XMLString.hpp
hasn't been #included.
Any suggestions?
Bruce Fountain
0
Comments
Hi Bruce!
This looks suspiciously similar to the incompatibility Derek reported with Xerces 2.2.0.
By any chance is that the version you're using?
Also notice that Derek was kind enough to mention what OS and compiler he was using.
Yup. That is exactly the problem. Thanks for that, and thanks to Derek for the
fix, which seems to have sorted that particular problem (onwards and upwards!).
Sorry about that, I will go and put it in my signature now.
Bruce Fountain