I am trying to serialize an object which has a cv::Mat as a member, I've found this SO page but when I try it I get the following error:
usr/include/boost/archive/basic_xml_iarchive.hpp:70:9: error: no matching function for call to ‘assertion_failed(mpl_::failed************ boost::serialization::is_wrapper::************) note: template int mpl_::assertion_failed(typename mpl_::assert::type) /usr/include/boost/archive/basic_xml_iarchive.hpp: In member function ‘void boost::archive::basic_xml_iarchive::load_override(T&, int) [with T = unsigned char, Archive = boost::archive::xml_iarchive]’:’
In the example on the linked page they use a binary archive, whereas I'm using an xml one, could this be causing the problem?