[xsd-users] XSD Serialization problem - xml_schema:ostream not
	recognized in MinGW env
    Boris Kolpackov 
    boris at codesynthesis.com
       
    Mon Oct 24 16:02:50 EDT 2011
    
    
  
Hi Jose,
Jose <jc.fernandez.navarro at gmail.com> writes:
>      std::auto_ptr< xml_schema::ostream<XDR> > oxdrp;
> 
> It does compile perfectly under linux but it complains when I try to
> cross-compile it with MinGW in Fedora.
My first guess would be that the XDR API (<rpc/xdr.h> header) is not
available on MinGW. For Windows it doesn't come standard and instead
you need a third-party library that provides XDR support.
If you want a more portable binary representation, then you may want
to consider CDR (also supported out of the box by XSD). The drawback
is that you will need build/install the ACE library.
Boris
    
    
More information about the xsd-users
mailing list