This is while compiling deal.II There is no make_array in that include file, see below.
Best praveen $ vi serialization/array.hpp #ifndef BOOST_SERIALIZATION_ARRAY_HPP #define BOOST_SERIALIZATION_ARRAY_HPP // (C) Copyright 2005 Matthias Troyer and Dave Abrahams // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // for serialization of <array>. If <array> not supported by the standard // library - this file becomes empty. This is to avoid breaking backward // compatibiliy for applications which used this header to support // serialization of native arrays. Code to serialize native arrays is // now always include by default. RR #include <boost/config.hpp> // msvc 6.0 needs this for warning suppression #if defined(BOOST_NO_STDC_NAMESPACE) #include <iostream> #include <cstddef> // std::size_t namespace std{ using ::size_t; } // namespace std #endif #ifndef BOOST_NO_CXX11_HDR_ARRAY #include <array> #include <boost/serialization/nvp.hpp> namespace boost { namespace serialization { template <class Archive, class T, std::size_t N> void serialize(Archive& ar, std::array<T,N>& a, const unsigned int /* version */) { ar & boost::serialization::make_nvp( "elems", *static_cast<T (*)[N]>(static_cast<void *>(a.data())) ); } } } // end namespace boost::serialization #endif // BOOST_NO_CXX11_HDR_ARRAY #endif //BOOST_SERIALIZATION_ARRAY_HPP On Fri, Apr 21, 2017 at 8:46 PM, Wolfgang Bangerth <[email protected]> wrote: > On 04/21/2017 12:29 AM, Praveen C wrote: > >> >> I am installing on Mac OS Sierra. All dependencies installed with >> homebrew. >> >> I get this error >> >> */Users/praveen/Applications/deal.II/git/include/deal.II/bas >> e/aligned_vector.h:863:31: >> **error: * >> >> * no member named 'make_array' in namespace 'boost::serialization'* >> >> ar &boost::serialization::make_array(_data, vec_size); >> >> * ~~~~~~~~~~~~~~~~~~~~~~^* >> > > Does this happen while compiling deal.II, or while compiling a user code? > > I thought that what is missing is a > #include <boost/serialization/array.hpp> > at the top of that file, but it's actually there. You are using boost 1.64 > -- is the make_array() function no longer in boost/serialization/array.hpp > for you? > > Best > W, > > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: [email protected] > www: http://www.math.colostate.edu/~bangerth/ > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see https://groups.google.com/d/fo > rum/dealii?hl=en > --- You received this message because you are subscribed to the Google > Groups "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
