Subject: [Boost-users] [serialization] polymorphic portable binary example not working.
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2010-03-13 22:46:39


Hi all,

Can someone please shed some light on this. I'm trying to compile the
polymorphic portable binary serializor in the examples directory and
getting compiler errors. Some I managed to fix because a file seemed to
have been deleted and its class moved to another file, but this one has
stumped me. In polymorphic_portable_binary_oarchive.hpp, its complaining
about:

#include <boost/archive/detail/polymorphic_oarchive_dispatch.hpp>

which is needed for:

typedef boost::archive::detail::polymorphic_oarchive_dispatch<
     portable_binary_oarchive
> polymorphic_portable_binary_oarchive;

Obviously polymorphic_oarchive_dispatch.hpp is missing and there isn't a
class definition for polymorphic_oarchive_dispatch in any other files.
(I've downloaded the boost source code so I'm not relying on any packages.)

Any help on how to resolve this would be appreciated.

Thanks,

Mostafa