errors in polymorphic_iarchive_route.hpp:155 (boost version 1.60)
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,
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Oswin Krause
-
Stack User