Serialazation compilign under windows.

I am trying to compile Serialization with out cygwin but serialization and other libraries in boost give the error "#error wide char i/o not supported on this platform" When I try to compile under the xp pro Command line. Is there some way this and the other libraries can be compiled under Mingw even if wide char i/o is not supported I don't really need wide char i/o I just want a way to use serialization xml as my base file types under both linux and windows. Ken

The serialization library really creates two libraries:libboost_serialization.lib and libboost_wserialization.lib (note the w). If the platform/compiler doesn't support wide char i/o (e.g. mingw) the libboost_wserialization.lib will fail to build. The library libboost_serialization.lib will function as advertised. In short, if wide characters arn't supported - don't use them and you'll have no problem. Note that our test matrix includes dests for mingw and alll the wide char tests fail for this reason. This does not alter the utility of the narrow char version of the library. Robert Ramey Ken Perry wrote:
I am trying to compile Serialization with out cygwin but serialization and other libraries in boost give the error "#error wide char i/o not supported on this platform" When I try to compile under the xp pro Command line. Is there some way this and the other libraries can be compiled under Mingw even if wide char i/o is not supported I don't really need wide char i/o I just want a way to use serialization xml as my base file types under both linux and windows.
Ken
participants (2)
-
Ken Perry
-
Robert Ramey