serialization newbie question

I've downloaded boost 1.32, downloaded bjam, ran the vcvars32.bat for MSVC7.1, ran bjam install, updated Tools | Options | Projects | VC++ Directories | Libraries to include "C:\Boost\lib" first. I also added the include directory (which worked, or I would have received a error at #include <boost/...>). However, when I try to build the first demo app, I get LNK2019 errors. But there are a slew of files in C:\Boost\lib: 02/14/2005 02:45 PM 7,967,370 libboost_serialization-vc71-mt-1_32.lib 02/14/2005 02:43 PM 19,093,084 libboost_serialization-vc71-mt-gd-1_32.li b 02/14/2005 02:43 PM 19,093,084 libboost_serialization-vc71-mt-gd.lib 02/14/2005 02:44 PM 8,360,362 libboost_serialization-vc71-mt-s-1_32.lib 02/14/2005 02:44 PM 8,360,362 libboost_serialization-vc71-mt-s.lib 02/14/2005 02:42 PM 19,443,798 libboost_serialization-vc71-mt-sgd-1_32.l ib 02/14/2005 02:42 PM 19,443,798 libboost_serialization-vc71-mt-sgd.lib 02/14/2005 02:45 PM 7,967,370 libboost_serialization-vc71-mt.lib 02/14/2005 02:44 PM 8,341,356 libboost_serialization-vc71-s-1_32.lib 02/14/2005 02:44 PM 8,341,356 libboost_serialization-vc71-s.lib 02/14/2005 02:41 PM 19,460,954 libboost_serialization-vc71-sgd-1_32.lib 02/14/2005 02:41 PM 19,460,954 libboost_serialization-vc71-sgd.lib (There are also wide-character counterparts.) What step have I missed? Incidentally, compiling at warning level 4 is pretty noisy. Full compilation output below. Thanks, Dave ------ Build started: Project: SerializationTest, Configuration: Debug Win32 ------ Compiling... demo.cpp c:\Boost\include\boost-1_32\boost\serialization\collections_save_imp.hpp(36) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data c:\Boost\include\boost-1_32\boost\serialization\list.hpp(50) : see reference to function template instantiation 'void boost::serialization::stl::save_collection<Archive,std::list<_Ty>>(Archive &,const Container &)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=std::pair<bus_schedule::trip_info,bus_route *>, Container=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\serialization\split_free.hpp(45) : see reference to function template instantiation 'void std::save<Archive,std::pair<_Ty1,_Ty2>,std::allocator<_Ty>>(Archive &,const std::list<_Ty> &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty1=bus_schedule::trip_info, _Ty2=bus_route *, _Ty=std::pair<bus_schedule::trip_info,bus_route *> ] c:\Boost\include\boost-1_32\boost\serialization\split_free.hpp(44) : while compiling class-template member function 'void boost::serialization::free_saver<Archive,T>::invoke(Archive &,const T &,const unsigned int)' with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\serialization\split_free.hpp(70) : see reference to class template instantiation 'boost::serialization::free_saver<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\serialization\list.hpp(78) : see reference to function template instantiation 'void boost::serialization::split_free<Archive,std::list<_Ty>>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=std::pair<bus_schedule::trip_info,bus_route *>, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void std::serialize<Archive,std::pair<_Ty1,_Ty2>,std::allocator<_Ty>>(Archive &,std::list<_Ty> &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty1=bus_schedule::trip_info, _Ty2=bus_route *, _Ty=std::pair<bus_schedule::trip_info,bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(152) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\serialization\extended_type_info_typeid.hpp(100) : while compiling class-template member function 'void boost::archive::detail::oserializer<Archive,T>::save_object_data(boost::archive::detail::basic_oarchive &,const void *) const' with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(234) : see reference to class template instantiation 'boost::archive::detail::oserializer<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(233) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::save::invokex(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(309) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>::save' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(237) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::invoke(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(80) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(const T &,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(110) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator <<<T>(const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Documents and Settings\gomboc\My Documents\Visual Studio Projects\SerializationTest\demo.cpp(256) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator &<std::list<_Ty>>(T &)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=std::pair<bus_schedule::trip_info,bus_route *>, T=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] c:\Boost\include\boost-1_32\boost\serialization\access.hpp(106) : see reference to function template instantiation 'void bus_schedule::serialize<Archive>(Archive &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(78) : see reference to function template instantiation 'void boost::serialization::access::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void boost::serialization::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(152) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\serialization\extended_type_info_typeid.hpp(100) : while compiling class-template member function 'void boost::archive::detail::oserializer<Archive,T>::save_object_data(boost::archive::detail::basic_oarchive &,const void *) const' with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(234) : see reference to class template instantiation 'boost::archive::detail::oserializer<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(233) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::save::invokex(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(309) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>::save' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(237) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::invoke(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(80) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(const T &,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Documents and Settings\gomboc\My Documents\Visual Studio Projects\SerializationTest\demo.cpp(284) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator <<<bus_schedule>(const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_schedule ] c:\Boost\include\boost-1_32\boost\serialization\collections_save_imp.hpp(36) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data c:\Boost\include\boost-1_32\boost\serialization\list.hpp(50) : see reference to function template instantiation 'void boost::serialization::stl::save_collection<Archive,std::list<_Ty>>(Archive &,const Container &)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=bus_route::bus_stop_pointer, Container=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\serialization\split_free.hpp(45) : see reference to function template instantiation 'void std::save<Archive,bus_route::bus_stop_pointer,std::allocator<_Ty>>(Archive &,const std::list<_Ty> &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=bus_route::bus_stop_pointer ] c:\Boost\include\boost-1_32\boost\serialization\split_free.hpp(44) : while compiling class-template member function 'void boost::serialization::free_saver<Archive,T>::invoke(Archive &,const T &,const unsigned int)' with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\serialization\split_free.hpp(70) : see reference to class template instantiation 'boost::serialization::free_saver<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\serialization\list.hpp(78) : see reference to function template instantiation 'void boost::serialization::split_free<Archive,std::list<_Ty>>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=bus_route::bus_stop_pointer, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void std::serialize<Archive,bus_route::bus_stop_pointer,std::allocator<_Ty>>(Archive &,std::list<_Ty> &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=bus_route::bus_stop_pointer ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(152) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\serialization\extended_type_info_typeid.hpp(100) : while compiling class-template member function 'void boost::archive::detail::oserializer<Archive,T>::save_object_data(boost::archive::detail::basic_oarchive &,const void *) const' with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(234) : see reference to class template instantiation 'boost::archive::detail::oserializer<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(233) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::save::invokex(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(309) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>::save' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(237) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::invoke(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(80) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(const T &,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(110) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator <<<T>(const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=std::list<bus_route::bus_stop_pointer> ] c:\Documents and Settings\gomboc\My Documents\Visual Studio Projects\SerializationTest\demo.cpp(187) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator &<std::list<_Ty>>(T &)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=bus_route::bus_stop_pointer, T=std::list<bus_route::bus_stop_pointer> ] c:\Boost\include\boost-1_32\boost\serialization\access.hpp(106) : see reference to function template instantiation 'void bus_route::serialize<Archive>(Archive &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(78) : see reference to function template instantiation 'void boost::serialization::access::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void boost::serialization::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(152) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\serialization\extended_type_info_typeid.hpp(100) : while compiling class-template member function 'void boost::archive::detail::oserializer<Archive,T>::save_object_data(boost::archive::detail::basic_oarchive &,const void *) const' with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(163) : see reference to class template instantiation 'boost::archive::detail::oserializer<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(162) : while compiling class-template member function 'const boost::archive::detail::basic_oserializer &boost::archive::detail::pointer_oserializer<T,Archive>::get_basic_serializer(void) const' with [ T=type, Archive=boost::archive::text_oarchive ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(530) : see reference to class template instantiation 'boost::archive::detail::pointer_oserializer<T,Archive>' being compiled with [ T=type, Archive=boost::archive::text_oarchive ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(65) : see reference to function template instantiation 'const boost::archive::detail::basic_pointer_oserializer &boost::archive::detail::instantiate_pointer_oserializer<Archive,T>(Archive *,T *)' being compiled with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(332) : see reference to function template instantiation 'const boost::archive::detail::basic_pointer_oserializer *boost::archive::detail::interface_oarchive<Archive>::register_type<T>(T *)' being compiled with [ Archive=boost::archive::text_oarchive, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(331) : while compiling class-template member function 'const boost::archive::detail::basic_pointer_oserializer *boost::archive::detail::save_pointer_type<Archive,TPtr>::non_abstract<T>::register_type(Archive &)' with [ Archive=boost::archive::text_oarchive, TPtr=bus_route *, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(349) : see reference to class template instantiation 'boost::archive::detail::save_pointer_type<Archive,TPtr>::non_abstract<T>' being compiled with [ Archive=boost::arc hive::text_oarchive, TPtr=bus_route *, T=type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(475) : see reference to function template instantiation 'const boost::archive::detail::basic_pointer_oserializer *boost::archive::detail::save_pointer_type<Archive,TPtr>::register_type<bus_route>(Archive &,T &)' being compiled with [ Archive=boost::archive::text_oarchive, TPtr=bus_route *, T=bus_route ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(462) : while compiling class-template member function 'void boost::archive::detail::save_pointer_type<Archive,TPtr>::invoke(Archive &,const TPtr)' with [ Archive=boost::archive::text_oarchive, TPtr=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_pointer_type<Archive,TPtr>' being compiled with [ Archive=boost::archive::text_oarchive, TPtr=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,const T & )' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(80) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(const T & ,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(110) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator <<<T>(const T & )' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_route * ] c:\Boost\include\boost-1_32\boost\serialization\nvp.hpp(58) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator &<T>(T & )' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_route * ] c:\Boost\include\boost-1_32\boost\serialization\access.hpp(106) : see reference to function template instantiation 'void boost::serialization::nvp<T>::serialize<Archive>(Archive &,const unsigned int) const' being compiled with [ T=bus_route *, Archive=boost::archive::text_oarchive ] c:\Boost\include\boost-1_32\boost\serialization \serialization.hpp(78) : see reference to function template instantiation 'void boost::serialization::access::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void boost::serialization::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(227) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(222) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::save_only::invokex(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(309) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>::save_only' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(237) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::invoke(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(87) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(const T &,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<bus_route *> ] c:\Boost\include\boost-1_32\boost\serialization\utility.hpp(47) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator &<boost::serialization::nvp<T>>(const boost::serialization::nvp<T> &)' being compiled with [ Archive=boost::archive::text_oarchive, T=bus_route * ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void std::serialize<Archive,bus_schedule::trip_info,bus_route*>(Archive &,std::pair<_Ty1,_Ty2> &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty1=bus_schedule::trip_info, _Ty2=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(152) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\serialization\extended_type_info_typeid.hpp(100) : while compiling class-template member function 'void boost::archive::detail::oserializer<Archive,T>::save_object_data(boost::archive::detail::basic_oarchive &,const void *) const' with [ Archive=boost::archive::text_oarchive, T=std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(234) : see reference to class template instantiation 'boost::archive::detail::oserializer<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(233) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::save::invokex(Archive &,const std::pair<_Ty1,_Ty2> &)' with [ Archive=boost::archive::text_oa rchive, T=std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type, _Ty1=bus_schedule::trip_info, _Ty2=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(309) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>::save' being compiled with [ Archive=boost::archive::text_oarchive, T=std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(237) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::invoke(Archive &,const std::pair<_Ty1,_Ty2> &)' with [ Archive=boost::archive::text_oarchive, T=std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type, _Ty1=bus_schedule::trip_info, _Ty2=bus_route * ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(87) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(T &,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\serialization\nvp.hpp(58) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator &<T>(T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\serialization\access.hpp(106) : see reference to function template instantiation 'void boost::serialization::nvp<T>::serialize<Archive>(Archive &,const unsigned int) const' being compiled with [ T=const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type, Archive=boost::archive::text_oarchive ] c:\Boost\include\boost-1_32\boost\serialization\serialization.hpp(78) : see reference to function template instantiation 'void boost::serialization::access::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost \include\boost-1_32\boost\serialization\serialization.hpp(121) : see reference to function template instantiation 'void boost::serialization::serialize<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(227) : see reference to function template instantiation 'void boost::serialization::serialize_adl<Archive,T>(Archive &,T &,const unsigned int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(222) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::save_only::invokex(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(309) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>::save_only' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(237) : while compiling class-template member function 'void boost::archive::detail::save_non_pointer_type<Archive,T>::invoke(Archive &,const T &)' with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\detail\oserializer.hpp(551) : see reference to class template instantiation 'boost::archive::detail::save_non_pointer_type<Archive,T>' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\basic_text_oarchive.hpp(71) : see reference to function template instantiation 'void boost::archive::save<Archive,T>(Archive &,const T &)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule ::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\archive\detail\interface_oarchive.hpp(80) : see reference to function template instantiation 'void boost::archive::basic_text_oarchive<Archive>::save_override<T>(const T &,int)' being compiled with [ Archive=boost::archive::text_oarchive, T=boost::serialization::nvp<const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type> ] c:\Boost\include\boost-1_32\boost\serialization\collections_save_imp.hpp(42) : see reference to function template instantiation 'Archive &boost::archive::detail::interface_oarchive<Archive>::operator <<<boost::serialization::nvp<T>>(const boost::serialization::nvp<T> &)' being compiled with [ Archive=boost::archive::text_oarchive, T=const std::allocator<std::pair<bus_schedule::trip_info,bus_route *>>::value_type ] c:\Boost\include\boost-1_32\boost\serialization\list.hpp(50) : see reference to function template instantiation 'void boost::serialization::stl::save_collection<Archive,std::list<_Ty>>(Archive &,const Container &)' being compiled with [ Archive=boost::archive::text_oarchive, _Ty=std::pair<bus_schedule::trip_info,bus_route *>, Container=std::list<std::pair<bus_schedule::trip_info,bus_route *>> ] Linking... Creating library Debug/SerializationTest.lib and object Debug/SerializationTest.exp demo.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::archive::basic_text_oprimitive<class std::basic_ostream<char,struct std::char_traits<char> > >::~basic_text_oprimitive<class std::basic_ostream<char,struct std::char_traits<char> > >(void)" (??1?$basic_text_oprimitive@V?$basic_ostream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@XZ) referenced in function "public: virtual __thiscall boost::archive::text_oarchive_impl<class boost::archive::text_oarchive>::~text_oarchive_impl<class boost::archive::text_oarchive>(void)" (??1?$text_oarchive_impl@Vtext_oarchive@archive@boost@@@archive@boost@@UAE@XZ) demo.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::archive::basic_text_iprimitive<class std::basic_istream<char,struct std::char_traits<char> > >::~basic_text_iprimitive<class std::basic_istream<char,struct std::char_traits<char> > >(void)" (??1?$basic_text_iprimitive@V?$basic_istream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@XZ) referenced in function "public: virtual __thiscall boost::archive::text_iarchive_impl<class boost::archive::text_iarchive>::~text_iarchive_impl<class boost::archive::text_iarchive>(void)" (??1?$text_iarchive_impl@Vtext_iarchive@archive@boost@@@archive@boost@@UAE@XZ) demo.obj : error LNK2019: unresolved external symbol "protected: virtual __thiscall boost::archive::detail::basic_iarchive::~basic_iarchive(void)" (??1basic_iarchive@detail@archive@boost@@MAE@XZ) referenced in function "public: virtual __thiscall boost::archive::detail::common_iarchive<class boost::archive::text_iarchive>::~common_iarchive<class boost::archive::text_iarchive>(void)" (??1?$common_iarchive@Vtext_iarchive@archive@boost@@@detail@archive@boost@@UAE@XZ) demo.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::archive::basic_text_iprimitive<class std::basic_istream<char,struct std::char_traits<char> > >::basic_text_iprimitive<class std::basic_istream<char,struct std::char_traits<char> > >(class std::basic_istream<char,struct std::char_traits<char> > &,bool)" (??0?$basic_text_iprimitive@V?$basic_istream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@_N@Z) referenced in function "public: __thiscall boost::archive::text_iarchive_impl<class boost::archive::text_iarchive>::text_iarchive_impl<class boost::archive::text_iarchive>(class std::basic_istream<char,struct std::char_traits<char> > &,unsigned int)" (??0?$text_iarchive_impl@Vtext_iarchive@archive@boost@@@archive@boost@@QAE@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@I@Z) demo.obj : error LNK2019: unresolved external symbol "public: __thiscall boost::archive::basic_text_oprimitive<class std::basic_ostream<char,struct std::char_traits<char> > >::basic_text_oprimitive<class std::basic_ostream<char,struct std::char_traits<char> > >(class std::basic_ostream<char,struct std::char_traits<char> > &,bool)" (??0?$basic_text_oprimitive@V?$basic_ostream@DU?$char_traits@D@std@@@std@@@archive@boost@@QAE@AAV?$basic_ostream@DU?$char_traits@D@std@@@std@@_N@Z) referenced in function "protected: __thiscall boost::archive::text_oarchive_impl<class boost::archive::text_oarchive>::text_oarchive_impl<class boost::archive::text_oarchive>(class std::basic_ostream<char,struct std::char_traits<char> > &,unsigned int)" (??0?$text_oarchive_impl@Vtext_oarchive@archive@boost@@@archive@boost@@IAE@AAV?$basic_ostream@DU?$char_traits@D@std@@@std@@I@Z) demo.obj : 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::text_oarchive>::~common_oarchive<class boost::archive::text_oarchive>(void)" (??1?$common_oarchive@Vtext_oarchive@archive@boost@@@detail@archive@boost@@UAE@XZ) demo.obj : error LNK2001: unresolved external symbol "struct boost::archive::version_type const boost::archive::ARCHIVE_VERSION" (?ARCHIVE_VERSION@archive@boost@@3Uversion_type@12@B) demo.obj : error LNK2001: unresolved external symbol "char const * const boost::archive::ARCHIVE_SIGNATURE" (?ARCHIVE_SIGNATURE@archive@boost@@3PBDB) demo.obj : error LNK2019: unresolved external symbol "protected: __thiscall boost::archive::detail::basic_iarchive::basic_iarchive(void)" (??0basic_iarchive@detail@archive@boost@@IAE@XZ) referenced in function "protected: __thiscall boost::archive::detail::common_iarchive<class boost::archive::text_iarchive>::common_iarchive<class boost::archive::text_iarchive>(void)" (??0?$common_iarchive@Vtext_iarchive@archive@boost@@@detail@archive@boost@@IAE@XZ) demo.obj : error LNK2019: unresolved external symbol "protected: __thiscall boost::archive::detail::basic_oarchive::basic_oarchive(void)" (??0basic_oarchive@detail@archive@boost@@IAE@XZ) referenced in function "protected: __thiscall boost::archive::detail::common_oarchive<class boost::archive::text_oarchive>::common_oarchive<class boost::archive::text_oarchive>(void)" (??0?$common_oarchive@Vtext_oarchive@archive@boost@@@detail@archive@boost@@IAE@XZ) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::text_oarchive_impl<class boost::archive::text_oarchive>::save(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?save@?$text_oarchive_impl@Vtext_oarchive@archive@boost@@@archive@boost@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "protected: void __thiscall boost::archive::basic_text_oarchive<class boost::archive::text_oarchive>::save_override(struct boost::archive::class_name_type const &,int)" (?save_override@?$basic_text_oarchive@Vtext_oarchive@archive@boost@@@archive@boost@@IAEXABUclass_name_type@23@H@Z) demo.obj : error LNK2019: unresolved external symbol "protected: void __thiscall boost::archive::basic_text_iarchive<class boost::archive::text_iarchive>::load_override(struct boost::archive::class_name_type &,int)" (?load_override@?$basic_text_iarchive@Vtext_iarchive@archive@boost@@@archive@boost@@IAEXAAUclass_name_type@23@H@Z) referenced in function "public: void __thiscall boost::archive::text_iarchive_impl<class boost::archive::text_iarchive>::load_override<struct boost::archive::class_name_type>(struct boost::archive::class_name_type &,int)" (??$load_override@Uclass_name_type@archive@boost@@@?$text_iarchive_impl@Vtext_iarchive@archive@boost@@@archive@boost@@QAEXAAUclass_name_type@12@H@Z) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::detail::basic_oarchive::save_object(void const *,class boost::archive::detail::basic_oserializer const &)" (?save_object@basic_oarchive@detail@archive@boost@@QAEXPBXABVbasic_oserializer@234@@Z) referenced in function "public: static void __cdecl boost::archive::detail::save_non_pointer_type<class boost::archive::text_oarchive,class bus_schedule>::save::invokex(class boost::archive::text_oarchive &,class bus_schedule const &)" (?invokex@save@?$save_non_pointer_type@Vtext_oarchive@archive@boost@@Vbus_schedule@@@detail@archive@boost@@SAXAAVtext_oarchive@45@ABVbus_schedule@@@Z) demo.obj : error LNK2019: unresolved external symbol "protected: void __thiscall boost::serialization::extended_type_info::self_register(void)" (?self_register@extended_type_info@serialization@boost@@IAEXXZ) referenced in function "private: __thiscall boost::serialization::extended_type_info_typeid<class bus_schedule const
::extended_type_info_typeid<class bus_schedule const >(void)" (??0?$extended_type_info_typeid@$$CBVbus_schedule@@@serialization@boost@@AAE@XZ) demo.obj : error LNK2001: unresolved external symbol "private: static char const * const boost::serialization::detail::extended_type_info_typeid_0::type_info_key" (?type_info_key@extended_type_info_typeid_0@detail@serialization@boost@@0PBDB) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::detail::basic_iarchive::load_object(void *,class boost::archive::detail::basic_iserializer const &)" (?load_object@basic_iarchive@detail@archive@boost@@QAEXPAXABVbasic_iserializer@234@@Z) referenced in function "public: static void __cdecl boost::archive::detail::load_non_pointer_type<class boost::archive::text_iarchive,class bus_schedule>::load::invoke(class boost::archive::text_iarchive &,class bus_schedule &)" (?invoke@load@?$load_non_pointer_type@Vtext_iarchive@archive@boost@@Vbus_schedule@@@detail@archive@boost@@SAXAAVtext_iarchive@45@AAVbus_schedule@@@Z) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::text_iarchive_impl<class boost::archive::text_iarchive>::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?load@?$text_iarchive_impl@Vtext_iarchive@archive@boost@@@archive@boost@@QAEXAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: static void __cdecl boost::archive::load_access::load_primitive<class boost::archive::text_iarchive,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(class boost::archive::text_iarchive &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (??$load_primitive@Vtext_iarchive@archive@boost@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@load_access@archive@boost@@SAXAAVtext_iarchive@12@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) demo.obj : error LNK2001: unresolved external symbol "struct boost::archive::class_id_type const boost::archive::null_pointer_tag" (?null_pointer_tag@archive@boost@@3Uclass_id_type@12@B) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::detail::basic_oarchive::save_pointer(void const *,class boost::archive::detail::basic_pointer_oserializer const *)" (?save_pointer@basic_oarchive@detail@archive@boost@@QAEXPBXPBVbasic_pointer_oserializer@234@@Z) referenced in function "public: static void __cdecl boost::archive::detail::save_pointer_type<class boost::archive::text_oarchive,class bus_route *>::non_polymorphic<class bus_route>::save(class boost::archive::text_oarchive &,class bus_route const &,class boost::archive::detail::basic_pointer_oserializer const *)" (?save@?$non_polymorphic@Vbus_route@@@?$save_pointer_type@Vtext_oarchive@archive@boost@@PAVbus_route@@@detail@archive@boost@@SAXAAVtext_oarchive@45@ABVbus_route@@PBVbasic_pointer_oserializer@345@@Z) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::detail::basic_oarchive::register_basic_serializer(class boost::archive::detail::basic_oserializer const &)" (?register_basic_serializer@basic_oarchive@detail@archive@boost@@QAEXABVbasic_oserializer@234@@Z) referenced in function "public: class boost::archive::detail::basic_pointer_oserializer const * __thiscall boost::archive::detail::interface_oarchive<class boost::archive::text_oarchive>::register_type<class bus_route>(class bus_route *)" (??$register_type@Vbus_route@@@?$interface_oarchive@Vtext_oarchive@archive@boost@@@detail@archive@boost@@QAEPBVbasic_pointer_oserializer@123@PAVbus_route@@@Z) demo.obj : error LNK2019: unresolved external symbol "public: class boost::archive::detail::basic_pointer_iserializer const * __thiscall boost::archive::detail::basic_iarchive::load_pointer(void * &,class boost::archive::detail::basic_pointer_iserializer const *,class boost::archive::detail::basic_pointer_iserializer const * (__cdecl*)(class boost::serialization::extended_type_info const &))" (?load_pointer@basic_iarchive@detail@archive@boost@@QAEPBVbasic_pointer_iserializer@234@AAPAXPBV5234@P6APBV5234@ABVextended_type_info@serialization@4@@Z@Z) referenced in function "public: static void __cdecl boost::archive::detail::load_pointer_type<class boost::archive::text_iarchive,class bus_route *>::invoke(class boost::archive::text_iarchive &,class bus_route * &)" (?invoke@?$load_pointer_type@Vtext_iarchive@archive@boost@@PAVbus_route@@@detail@archive@boost@@SAXAAVtext_iarchive@34@AAPAVbus_route@@@Z) demo.obj : error LNK2019: unresolved external symbol "public: static class boost::archive::detail::basic_pointer_iserializer const * __cdecl boost::archive::detail::archive_pointer_iserializer<class boost::archive::text_iarchive>::find(class boost::serialization::extended_type_info const &)" (?find@?$archive_pointer_iserializer@Vtext_iarchive@archive@boost@@@detail@archive@boost@@SAPBVbasic_pointer_iserializer@234@ABVextended_type_info@serialization@4@@Z) referenced in function "public: static void __cdecl boost::archive::detail::load_pointer_type<class boost::archive::text_iarchive,class bus_route *>::invoke(class boost::archive::text_iarchive &,class bus_route * &)" (?invoke@?$load_pointer_type@Vtext_iarchive@archive@boost@@PAVbus_route@@@detail@archive@boost@@SAXAAVtext_iarchive@34@AAPAVbus_route@@@Z) demo.obj : error LNK2019: unresolved external symbol "void const * __cdecl boost::serialization::void_upcast(class boost::serialization::extended_type_info const &,class boost::serialization::extended_type_info const &,void const *,bool)" (?void_upcast@serialization@boost@@YAPBXABVextended_type_info@12@0PBX_N@Z) referenced in function "void * __cdecl boost::serialization::void_upcast(class boost::serialization::extended_type_info const &,class boost::serialization::extended_type_info const &,void *)" (?void_upcast@serialization@boost@@YAPAXABVextended_type_info@12@0PAX@Z) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::detail::basic_iarchive::register_basic_serializer(class boost::archive::detail::basic_iserializer const &)" (?register_basic_serializer@basic_iarchive@detail@archive@boost@@QAEXABVbasic_iserializer@234@@Z) referenced in function "public: class boost::archive::detail::basic_pointer_iserializer const * __thiscall boost::archive::detail::interface_iarchive<class boost::archive::text_iarchive>::register_type<class bus_route>(class bus_route *)" (??$register_type@Vbus_route@@@?$interface_iarchive@Vtext_iarchive@archive@boost@@@detail@archive@boost@@QAEPBVbasic_pointer_iserializer@123@PAVbus_route@@@Z) demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall boost::archive::detail::basic_iarchive::next_object_pointer(void *)" (?next_object_pointer@basic_iarchive@detail@archive@boost@@QAEXPAX@Z) referenced in function "private: virtual void __thiscall boost::archive::detail::pointer_iserializer<class bus_route,class boost::archive::text_iarchive>::load_object_ptr(class boost::archive::detail::basic_iarchive &,void * &,unsigned int)const " (?load_object_ptr@?$pointer_iserializer@Vbus_route@@Vtext_iarchive@archive@boost@@@detail@archive@boost@@EBEXAAVbasic_iarchive@234@AAPAXI@Z) demo.obj : error LNK2019: unresolved external symbol "public: static class boost::archive::detail::basic_pointer_oserializer const * __cdecl boost::archive::detail::archive_pointer_oserializer<class boost::archive::text_oarchive>::find(class boost::serialization::extended_type_info const &)" (?find@?$archive_pointer_oserializer@Vtext_oarchive@archive@boost@@@detail@archive@boost@@SAPBVbasic_pointer_oserializer@234@ABVextended_type_info@serialization@4@@Z) referenced in function "public: static void __cdecl boost::archive::detail::save_pointer_type<class boost::archive::text_oarchive,class bus_stop *>::polymorphic<class bus_stop>::save(class boost::archive::text_oarchive &,class bus_stop const &,class boost::archive::detail::basic_pointer_oserializer const *)" (?save@?$polymorphic@Vbus_stop@@@?$save_pointer_type@Vtext_oarchive@archive@boost@@PAVbus_stop@@@detail@archive@boost@@SAXAAVtext_oarchive@45@ABVbus_stop@@PBVbasic_pointer_oserializer@345@@Z) demo.obj : error LNK2019: unresolved external symbol "void const * __cdecl boost::serialization::void_downcast(class boost::serialization::extended_type_info const &,class boost::serialization::extended_type_info const &,void const *,bool)" (?void_downcast@serialization@boost@@YAPBXABVextended_type_info@12@0PBX_N@Z) referenced in function "public: static void __cdecl boost::archive::detail::save_pointer_type<class boost::archive::text_oarchive,class bus_stop *>::polymorphic<class bus_stop>::save(class boost::archive::text_oarchive &,class bus_stop const &,class boost::archive::detail::basic_pointer_oserializer const *)" (?save@?$polymorphic@Vbus_stop@@@?$save_pointer_type@Vtext_oarchive@archive@boost@@PAVbus_stop@@@detail@archive@boost@@SAXAAVtext_oarchive@45@ABVbus_stop@@PBVbasic_pointer_oserializer@345@@Z) demo.obj : error LNK2019: unresolved external symbol "bool __cdecl boost::serialization::operator==(class boost::serialization::extended_type_info const &,class boost::serialization::extended_type_info const &)" (??8serialization@boost@@YA_NABVextended_type_info@01@0@Z) referenced in function "public: static void __cdecl boost::archive::detail::save_pointer_type<class boost::archive::text_oarchive,class bus_stop *>::polymorphic<class bus_stop>::save(class boost::archive::text_oarchive &,class bus_stop const &,class boost::archive::detail::basic_pointer_oserializer const *)" (?save@?$polymorphic@Vbus_stop@@@?$save_pointer_type@Vtext_oarchive@archive@boost@@PAVbus_stop@@@detail@archive@boost@@SAXAAVtext_oarchive@45@ABVbus_stop@@PBVbasic_pointer_oserializer@345@@Z) demo.obj : error LNK2019: unresolved external symbol "public: static class boost::serialization::extended_type_info const * __cdecl boost::serialization::extended_type_info::find(class boost::serialization::extended_type_info const *)" (?find@extended_type_info@serialization@boost@@SAPBV123@PBV123@@Z) referenced in function "public: static class boost::serialization::extended_type_info const * __cdecl boost::serialization::extended_type_info_typeid<class bus_stop const ::get_derived_extended_type_info(class bus_stop const &)" (?get_derived_extended_type_info@?$extended_type_info_typeid@$$CBVbus_stop@@@serialization@boost@@SAPBVextended_type_info@23@ABVbus_stop@@@Z) demo.obj : error LNK2019: unresolved external symbol "protected: __thiscall boost::archive::detail::archive_pointer_oserializer<class boost::archive::text_oarchive>::archive_pointer_oserializer<class boost::archive::text_oarchive>(class boost::serialization::extended_type_info const &)" (??0?$archive_pointer_oserializer@Vtext_oarchive@archive@boost@@@detail@archive@boost@@IAE@ABVextended_type_info@serialization@3@@Z) referenced in function "public: __thiscall boost::archive::detail::pointer_oserializer<class bus_route,class boost::archive::text_oarchive>::pointer_oserializer<class bus_route,class boost::archive::text_oarchive>(void)" (??0?$pointer_oserializer@Vbus_route@@Vtext_oarchive@archive@boost@@@detail@archive@boost@@QAE@XZ) demo.obj : error LNK2019: unresolved external symbol "protected: __thiscall boost::archive::detail::archive_pointer_iserializer<class boost::archive::text_iarchive>::archive_pointer_iserializer<class boost::archive::text_iarchive>(class boost::serialization::extended_type_info const &)" (??0?$archive_pointer_iserializer@Vtext_iarchive@archive@boost@@@detail@archive@boost@@IAE@ABVextended_type_info@serialization@3@@Z) referenced in function "public: __thiscall boost::archive::detail::pointer_iserializer<class bus_route,class boost::archive::text_iarchive>::pointer_iserializer<class bus_route,class boost::archive::text_iarchive>(void)" (??0?$pointer_iserializer@Vbus_route@@Vtext_iarchive@archive@boost@@@detail@archive@boost@@QAE@XZ) demo.obj : error LNK2019: unresolved external symbol "protected: void __thiscall boost::serialization::void_cast_detail::void_caster::self_register(void)" (?self_register@void_caster@void_cast_detail@serialization@boost@@IAEXXZ) referenced in function "public: __thiscall boost::serialization::void_cast_detail::void_caster_primitive<class bus_stop_corner const ,class bus_stop const >::void_caster_primitive<class bus_stop_corner const ,class bus_stop const >(void)" (??0?$void_caster_primitive@$$CBVbus_stop_corner@@$$CBVbus_stop@@@void_cast_detail@serialization@boost@@QAE@XZ) Debug/SerializationTest.exe : fatal error LNK1120: 32 unresolved externals
Build log was saved at "file://c:\Documents and Settings\gomboc\My Documents\Visual Studio Projects\SerializationTest\Debug\BuildLog.htm" SerializationTest - 33 error(s), 2 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped

Dave Gomboc wrote:
I've downloaded boost 1.32, downloaded bjam, ran the vcvars32.bat for MSVC7.1, ran bjam install, updated Tools | Options | Projects | VC++ Directories | Libraries to include "C:\Boost\lib" first. I also added the include directory (which worked, or I would have received a error at #include <boost/...>).
However, when I try to build the first demo app, I get LNK2019 errors. But there are a slew of files in C:\Boost\lib:
You can try using bjam to build the tests - there is a file runtest.bat in the serialization library to do this. assuming you're using the v 7.1 ide you can try the folloing: a) you can build the tests using bjam - there is a runtest.bat file in the serializaition/test directory for this purpose. b) If a) works its most likely a question of getting the project settings in sync with that used by bjam. c) IDE settngs to look out for i) C++ 1) codegen - static linking or dynamic linking to c runtime library. Make sure that it agrees with the appropriate library - see below 2) use wchar_t as a type - not a synonym for unsigned short int. ii) Link 1) search directory - set to the directory which contians the built libraries 2) libraries - use the name of the boost serlialization library you want to use. This has to be in agreement with the C++ codegeneration setting in c.i.1 above good luck robert ramey

Looks like you are attempting to create a static library when you should be creating an executable (demo.cpp has a main function). Also, you need to add one of the serialization libraries that you've listed below to the link... Dave Gomboc wrote:
I've downloaded boost 1.32, downloaded bjam, ran the vcvars32.bat for MSVC7.1, ran bjam install, updated Tools | Options | Projects | VC++ Directories | Libraries to include "C:\Boost\lib" first. I also added the include directory (which worked, or I would have received a error at #include <boost/...>).
However, when I try to build the first demo app, I get LNK2019 errors. But there are a slew of files in C:\Boost\lib:
02/14/2005 02:45 PM 7,967,370 libboost_serialization-vc71-mt-1_32.lib 02/14/2005 02:43 PM 19,093,084 libboost_serialization-vc71-mt-gd-1_32.li b 02/14/2005 02:43 PM 19,093,084 libboost_serialization-vc71-mt-gd.lib 02/14/2005 02:44 PM 8,360,362 libboost_serialization-vc71-mt-s-1_32.lib
02/14/2005 02:44 PM 8,360,362 libboost_serialization-vc71-mt-s.lib 02/14/2005 02:42 PM 19,443,798 libboost_serialization-vc71-mt-sgd-1_32.l ib 02/14/2005 02:42 PM 19,443,798 libboost_serialization-vc71-mt-sgd.lib 02/14/2005 02:45 PM 7,967,370 libboost_serialization-vc71-mt.lib 02/14/2005 02:44 PM 8,341,356 libboost_serialization-vc71-s-1_32.lib 02/14/2005 02:44 PM 8,341,356 libboost_serialization-vc71-s.lib 02/14/2005 02:41 PM 19,460,954 libboost_serialization-vc71-sgd-1_32.lib 02/14/2005 02:41 PM 19,460,954 libboost_serialization-vc71-sgd.lib
(There are also wide-character counterparts.) What step have I missed?
Incidentally, compiling at warning level 4 is pretty noisy. Full compilation output below.
Thanks, Dave
------ Build started: Project: SerializationTest, Configuration: Debug Win32 ------
Compiling... demo.cpp
Linking... Creating library Debug/SerializationTest.lib and object
participants (3)
-
Dave Gomboc
-
Jeffrey Holle
-
Robert Ramey