
31 Aug
2009
31 Aug
'09
4:27 p.m.
Florent Teichteil wrote:
This compiles fine except that I get some linker errors concerning the basic_binary_oarchive and the basic_binary_oprimitive classes. For instance: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::tbinary_oarchive<unsigned char>, unsigned char, std::char_traits<unsigned char>
:~basic_binary_oprimitive()'
It seems that parts of the serialization library's code is outside the definition classes, preventing to extend it with different binary types... Is there a workaround?
certain code should be explicitly instantitiated. Look at binary_?archive.cpp in libs/serialization/src directory to see how this is done. Robert Ramey