Boost logo

Boost Users :

Subject: Re: [Boost-users] errors in polymorphic_iarchive_route.hpp:155 (boost version 1.60)
From: Oswin Krause (Oswin.Krause_at_[hidden])
Date: 2016-03-14 02:32:55


I bet my house that boost was compiled without c++11 support and you are
linking a c++11 compiled program with it.

On 2016-03-14 02:59, Stack User wrote:
> I get the following error when compiling code that uses boost version
> 1.60:
>
> In function
> `boost::archive::detail::polymorphic_iarchive_route<boost::archive::naked_binary_iarchive>::load(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&)':
> /usr/include/boost/archive/detail/polymorphic_iarchive_route.hpp:155:
> undefined reference to
> `boost::archive::basic_binary_iprimitive<boost::archive::naked_binary_iarchive,
> char, std::char_traits<char> >::load(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&)'
>
> Seems like the error is coming from polymorphic_iarchive_route.hpp at
> line 155:
> virtual void load(std::string & t){
> ArchiveImplementation::load(t);
> }
>
> Can anybody point to a solution for this error?
>
> Thanks,
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net