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
>::~basic_binary_oprimitive >(void)" (??1?$basic_binary_oprimitive@Vbinary_oarchive@archive@boost@@V?$basic_ostream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@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@Vbinary_oarchive@archive@boost@@@archive@boost@@UAE@XZ) boost_tests error LNK2019: unresolved external symbol "protected: virtual __thiscall boost::archive::detail::basic_oarchive::~basic_oarchive(void)" (??1basic_oarchive@detail@archive@boost@@MAE@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@Vbinary_oarchive@archive@boost@@@detail@archive@boost@@UAE@XZ)
boost_tests error LNK2019: unresolved external symbol "public: __thiscall boost::archive::basic_binary_iprimitive
>::~basic_binary_iprimitive >(void)" (??1?$basic_binary_iprimitive@Vbinary_iarchive@archive@boost@@V?$basic_istream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@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@Vbinary_iarchive@archive@boost@@@archive@boost@@UAE@XZ) _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Felipe Magno de Almeida UIN: 2113442 email: felipe.almeida@ic unicamp br, felipe.m.almeida@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