Boost logo

Boost Users :

Subject: Re: [Boost-users] Sparse Matrix Serialization
From: Giles Anderson (agander_at_[hidden])
Date: 2010-12-24 04:55:52


On Thursday 23 December 2010 12:49:44 Luke Bloy wrote:
> I'm interested in serializing some boost compressed row matrices. Based
> on this mailing list thread from 2008
> http://lists.boost.org/MailArchives/ublas/2008/08/2974.php it seemed
> that dense matrix support has been implemented so I had hoped that
> sparse matrix support was there as well. However when i attempt to
> compile the attached code I get a number linking errors of the type
>
> BoostTest3.cxx:(.text+0xf1e): undefined reference to
> `boost::serialization::typeid_system::extended_type_info_typeid_0::extended
> _type_info_typeid_0(char const*)'
> BoostTest3.cxx:(.text+0xf38): undefined reference to
> `boost::serialization::typeid_system::extended_type_info_typeid_0::type_reg
> ister(std::type_info const&)'
> BoostTest3.cxx:(.text+0xf42): undefined reference to
> `boost::serialization::extended_type_info::key_register() const'
> BoostTest3.cxx:(.text+0x1000): undefined reference to
> `boost::serialization::typeid_system::extended_type_info_typeid_0::~extende
> d_type_info_typeid_0()'
>
> The only boost library i'm attempting to link to is
> -lboost_serialization-mt

-lboost_serialization worked for me using gcc 4.4.4.

(I also get a similar long list of errors using -lboost_serialization-mt.)

Giles


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