Trying to build on Scientific Linux release 6.9, and I'm getting boost
serialization errors, both on the recent release branch and on master


In file included from
> base/Boost/include/boost/numeric/ublas/vector.hpp:21:0,
>                  from base/Boost/include/boost/numeric/ublas/matrix.hpp:18,
>                  from base/rdkit/Code/GraphMol/Substruct/ullmann.hpp:41,
>                  from
> base/rdkit/Code/GraphMol/Substruct/SubstructMatch.cpp:29:
> base/Boost/include/boost/numeric/ublas/storage.hpp: In member function
> ‘void boost::numeric::ublas::unbounded_array<T, ALLOC>::serialize(Archive&,
> unsigned int)’:
> base/Boost/include/boost/numeric/ublas/storage.hpp:299:18: error:
> ‘make_array’ is not a member of ‘boost::serialization’
>              ar & serialization::make_array(data_, s);
>                   ^~~~~~~~~~~~~
> base/Boost/include/boost/numeric/ublas/storage.hpp: In member function
> ‘void boost::numeric::ublas::bounded_array<T, N,
> ALLOC>::serialize(Archive&, unsigned int)’:
> base/Boost/include/boost/numeric/ublas/storage.hpp:494:18: error:
> ‘make_array’ is not a member of ‘boost::serialization’
>              ar & serialization::make_array(data_, s);



If I add

#include <boost/serialization/array_wrapper.hpp>


to the SubstructMatch.cpp file, as instructed here
https://stackoverflow.com/q/44534516/4712538, then compilation continues
fine.


Jason
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to