Boost logo

Boost Users :

From: Felipe Magno de Almeida (felipe.almeida_at_[hidden])
Date: 2005-02-03 12:12:22


you must include the .lib in the linking process
they are in
boost_x_xx_x/bin/boost/libs/serialization/build/libboost_serialization.lib/vcxxx/[debug|release]/[threading-multi|runtime-link-static]
It is the only .lib in this directory

Kevin Kuo wrote:
> Hi everyone,
>
> I'm getting some link errors when I try to use the serialization
> library. I'm using VC7.1 and other modules (array, tokenizer, assign)
> seem to compile and link fine.
>
> Also, is there built-in support for serialization of boost::array? If
> not, it's easy to create one, of course.
>
> thanks,
>
> Kevin
>
> The errors I'm getting are:
>
> boost_tests error LNK2019: unresolved external symbol "public:
> __thiscall boost::archive::basic_binary_oprimitive<class
> boost::archive::binary_oarchive,class std::basic_ostream<char,struct
> std::char_traits<char> > >::~basic_binary_oprimitive<class
> boost::archive::binary_oarchive,class std::basic_ostream<char,struct
> std::char_traits<char> > >(void)"
> (??1?$basic_binary_oprimitive_at_Vbinary_oarchive_at_archive@boost@@V?$basic_ostream_at_DU?$char_traits_at_D@std@@@std@@@archive_at_boost@@QAE_at_XZ)
> referenced in function "public: virtual __thiscall
> boost::archive::binary_oarchive_impl<class
> boost::archive::binary_oarchive>::~binary_oarchive_impl<class
> boost::archive::binary_oarchive>(void)"
> (??1?$binary_oarchive_impl_at_Vbinary_oarchive_at_archive@boost@@@archive_at_boost@@UAE_at_XZ)
>
> boost_tests error LNK2019: unresolved external symbol "protected:
> virtual __thiscall
> boost::archive::detail::basic_oarchive::~basic_oarchive(void)"
> (??1basic_oarchive_at_detail@archive_at_boost@@MAE_at_XZ) referenced in
> function "public: virtual __thiscall
> boost::archive::detail::common_oarchive<class
> boost::archive::binary_oarchive>::~common_oarchive<class
> boost::archive::binary_oarchive>(void)"
> (??1?$common_oarchive_at_Vbinary_oarchive_at_archive@boost@@@detail_at_archive@boost@@UAE_at_XZ)
>
> boost_tests error LNK2019: unresolved external symbol "public:
> __thiscall boost::archive::basic_binary_iprimitive<class
> boost::archive::binary_iarchive,class std::basic_istream<char,struct
> std::char_traits<char> > >::~basic_binary_iprimitive<class
> boost::archive::binary_iarchive,class std::basic_istream<char,struct
> std::char_traits<char> > >(void)"
> (??1?$basic_binary_iprimitive_at_Vbinary_iarchive_at_archive@boost@@V?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@archive_at_boost@@QAE_at_XZ)
> referenced in function "public: virtual __thiscall
> boost::archive::binary_iarchive_impl<class
> boost::archive::binary_iarchive>::~binary_iarchive_impl<class
> boost::archive::binary_iarchive>(void)"
> (??1?$binary_iarchive_impl_at_Vbinary_iarchive_at_archive@boost@@@archive_at_boost@@UAE_at_XZ)
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
    Felipe Magno de Almeida
    UIN: 2113442
     email: felipe.almeida_at_ic unicamp br, felipe.m.almeida_at_gmail com
I am a C, modern C++, MFC, ODBC, Windows Services, MAPI developer
from synergy, and Computer Science student from State
University of Campinas(UNICAMP).
To know more about:
Unicamp: http://www.ic.unicamp.br
Synergy: http://www.synergy.com.br
current work: http://www.mintercept.com

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