
Support for EXPORT was clarified and improved in 1.37. The documention was updated to reflect this. Double check the documentation in this area and verify that your usage if EXPORT is consistent with the information found there. Robert Ramy Christoph Mayer wrote:
Hi,
when using Boost v1.37 I get a problem with the serialization library that did not appear before. The following linker error occurs:
undefined reference to `boost::archive::detail::archive_pointer_oserializer<boost::archive::detail: polymorphic_oarchive_route<boost::archive::binary_oarchive_impl<boost::arch ive::binary_oarchive, char, std::char_traits<char> > >
:~archive_pointer_oserializer()'
The error does not appear when I omit the class registration using BOOST_CLASS_EXPORT_GUID.
As far as I understand the error, the linker can't find the d'tor for the singleton where the classes get registered. Below you can find the complete linker output.
Any help is appreciated, Chris