
Mostafa wrote:
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
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.
This is out of date. Look at another polymorphic archive header. For example polymorphic_text_oarchive.hpp. Make the changes and post a patch in the track system. Also you might find the "class diagram" link helpful. Robert Ramey
Thanks,
Mostafa