C++ Boost

Serialization

Release Notes


Requirements
Installation
Platforms
Differences from Draft #20
Pending Issues
This is the Boost 1.32 Serialization Library. There are currently no known bugs. This library has been tested with Boost version 1.31.0 as of 11 April 2004.

Requirements

This library requires Boost version 1.31 or later. Depending on the compiler used, It may also require spirit 1.6 which is not part of the standard boost distribution.

The installation procedure presumes that the following programs are in your current path

If these are not built or not in the current path, make required adjustments. The programs are part of the boost tools/regression directory and can be built there if necessary.

I also recommend testing the regression system with the following procedure:

  1. change current directory to BOOST_ROOT/tools/regression/test. (where BOOST_ROOT is your boost root directory)
  2. invoke runtest.bat (on an Windoz system) or runtest.sh or runtest.ksh on other systems.
  3. if necessary, you can invoke the commands in runtest.bat one by one from the command line.
  4. when finished you should have an html file with a set of test results.
  5. review the bjam.log to be sure that the results match the table. If they don't, advise the boost build mailing list.
The serialization library requires the boost spirit package to load XML archives. We have found that all tests pass using spirit 1.6x. Spirit 1.8 does not work with older compilers - specificallly MSVC 6 and Borland. If you are using one of these two compilers, you may download a version of spirit 1.6 here. To use this downloaded version rather than the one included with boost, set an environmental variable SPIRIT_ROOT to be equal to the root directory where the downloaded copy of spirit has been placed. E. G.

set SPIRIT_ROOT=c:/spirit161
If you're not using bjam and the jamfile to build the library, be sure that the directory which contains the version of spirit you plan to use is placed at the front of the list of include paths.

Installation

I use the following procedure for building and testing this library: Note that this will build only those libraries required to build and execute the tests. If the above completes successfully and you want to start using the serialization library in your own projects, You can build all the variations of the library: This will build debug and release versions of libboost_serialization.lib. If your build platform supports wide character i/o, debug and release versions of libboost_wserialization.lib will also be built. All applications which use serialization should be linked with the former. Applications which use wide character i/o should be linked with both.

Similarly, to build the examples:

Platforms

This library has been built and tested for debug and release modes on VC++ 6.0, VC 7.0, VC 7.1, Borland 5.51 and 5.64, GCC 3.1-3.4, Metrowerks 7.x, 8.3 and 9.2 , and Intel 7.1 and 8.0. Some less conforming compilers fail some tests. Details are available in the implementation notes.

Differences from Draft #20

Pending issues


Revised 29 February, 2004

© Copyright Robert Ramey 2003-2004. All Rights Reserved.