Boost logo

Boost :

From: Jared McIntyre (jmcintyre_at_[hidden])
Date: 2005-01-28 13:29:35


I'm having difficult linking to the serailization libraries. Here is the basic setup:

Visual Studio 7.1
Boost 1.32
Aerialization libraries built using runtime library : Multithreaded Debug DLL
using xml_oarchive & xml_iarchive

I'm getting the following linking errors:

BusBuild.obj : error LNK2019: unresolved external symbol "public: void __thiscall
boost::archive::xml_oarchive_impl<class boost::archive::xml_oarchive>::save(class std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &)"
(?save@?$xml_oarchive_impl_at_Vxml_oarchive_at_archive@boost@@@archive_at_boost@@QAEXABV?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@@Z)
referenced in function "public: static void __cdecl boost::archive::save_access::save_primitive<class
boost::archive::xml_oarchive,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > >(class boost::archive::xml_oarchive &,class std::basic_string<unsigned short,struct
std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &)"
(??$save_primitive_at_Vxml_oarchive_at_archive@boost@@V?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@@save_access_at_archive@boost@@SAXAAVxml_oarchive_at_12@ABV?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@@Z)

BusBuild.obj : error LNK2019: unresolved external symbol "public: void __thiscall
boost::archive::xml_iarchive_impl<class boost::archive::xml_iarchive>::load(class std::basic_string<unsigned
short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > &)"
(?load@?$xml_iarchive_impl_at_Vxml_iarchive_at_archive@boost@@@archive_at_boost@@QAEXAAV?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@@Z)
referenced in function "public: static void __cdecl boost::archive::load_access::load_primitive<class
boost::archive::xml_iarchive,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > >(class boost::archive::xml_iarchive &,class std::basic_string<unsigned short,struct
std::char_traits<unsigned short>,class std::allocator<unsigned short> > &)"
(??$load_primitive_at_Vxml_iarchive_at_archive@boost@@V?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@@load_access_at_archive@boost@@SAXAAVxml_iarchive_at_12@AAV?$basic_string_at_GU?$char_traits_at_G@std@@V?$allocator_at_G@2@@std@@@Z)

Any ideas of how to get around this?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk