[xsd-users] Compiling samples on Mac OS X with Clang

Ovanes Markarian om_codesynthesis at keywallet.com
Thu May 23 17:38:39 EDT 2013


Hello *,

was going to give XSD a try. My dev platform is Mac OS X. I am interested
in C++/Parser with an expat binding (no Xerces). I ran the following line
for the example located in examples/cxx/parser/hello

hello $ make XML_PARSER="expat" CXX="clang++" CPPFLAGS="-I
/usr/local/include" LDFLAGS="-L /usr/local/lib"
../../../build/cxx/compilers.make:108: unknown C++ compiler signature
'Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target:
x86_64-apple-darwin12.3.0 Thread model: posix', continuing anyway
clang++ -I /usr/local/include -I../../../../libxsd  -c driver.cxx -o
driver.o
In file included from driver.cxx:8:
In file included from ./hello-pskel.hxx:62:
../../../../libxsd/xsd/cxx/xml/char-utf8.hxx:13:10: fatal error:
'xercesc/util/XercesDefs.hpp' file not found
#include <xercesc/util/XercesDefs.hpp> // XMLCh
         ^
1 error generated.
make: *** [driver.o] Error 1



Thanks for any advice!

Ovanes


More information about the xsd-users mailing list