[xsde-users] using xsd/e on macOS 10.15

Boris Kolpackov boris at codesynthesis.com
Tue Feb 25 05:46:26 EST 2020


Hi James,

James Sutton <jsutton at dolphin-com.co.uk> writes:

> 1. There were lots of errors with the default shell:
> 
>  sed: 1: "s \ xsd-frontend/ \ /Us ...": unterminated substitute pattern

Yeah, BSD sed...


> 2. so I changed to bash.

Good call.


> Main problems seem to be missing KeyList

That's probably caused by Clang compiling by default in the C++
standard higher than 98/03. I believe adding -std=c++03 should
work around this issue.


> and missing boost
> 
> I could download boost but I'm not sure where it should be installed

Uh, right, I forgot 3.2.0 still needs Boost (and I would rather eat bark
than build Boost ;-)). And we will need to find some oldish version since
they broken the API at some point.

Can I suggest upgrading to the latest pre-release of XSD/e (which doesn't
require Boost)? It is mostly bug-fixes compared to 3.2.0 and there shouldn't
aren't any backwards-incompatible changes so it should be a matter of
rebuilding libxsde and rebuilding your application.

If that works, the xsde+dep package is here (libxsde is inside, in the
xsde/libxsde subdirectory):

https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a11+dep.tar.bz2

You should be able to build with this command line:

$ make \
  CXX="clang++ -std=c++03" \
  CPPFLAGS=-I../xerces-c-3.2.2/src \
  LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
  -j 8

$ xsde/xsde/xsde --version

But let me know if you want to stay on 3.2.0 and I will go find some
bark, I mean, Boost.



More information about the xsde-users mailing list