[xsd-users] Problem compiling the xsd-3.2.0+dep package

Boris Kolpackov boris at codesynthesis.com
Mon Jul 6 01:24:25 EDT 2009


Hi Steve,

Steve <ongs_1999 at yahoo.com> writes:

> I am trying to compile the xsd-3.2.0+dep package and running into 
> problems. I am compiling it on cygwin which I compiled boost and 
> xerces-c++ successfully. 
>
> [...]
> 
> error: `wcstombs' is not a member of `std'

I don't think libstdc++ (Standard C++ library implementation that
comes with g++) on Cygwin includes support for wide characters,
similar to MinGW. One way to resolve this is to build and use
STLPort instead. This is covered in the build instructions for
Windows:

http://www.codesynthesis.com/projects/xsd/extras/build-windows.xhtml

I also remember your previous attempt where you used STLPort and
reportedly succeeded:

http://www.codesynthesis.com/pipermail/xsd-users/2009-January/002137.html

You should be able to use STLPort with the xsd+dep way of building
by simply adding the necessary options to the corresponding *FLAGS
variables.

Boris




More information about the xsd-users mailing list