Boost logo

Boost Users :

Subject: [Boost-users] Serialization error
From: deneme.true (deneme.true_at_[hidden])
Date: 2016-08-04 03:40:22


Hello,

I got following errors on 64 bit machine when I try to compile my application.

1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl 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_at_Vtext_iarchive_at_archive@boost@@@archive_at_boost@@IEAA_at_AEAV?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@I_at_Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl boost::archive::text_iarchive_impl<class
boost::archive::text_iarchive>::load_override(struct
boost::archive::class_name_type &)"
(?load_override@?$text_iarchive_impl_at_Vtext_iarchive_at_archive@boost@@@archive_at_boost@@IEAAXAEAUclass_name_type_at_23@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl 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_at_Vtext_iarchive_at_archive@boost@@@archive_at_boost@@IEAAXAEAV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl 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_at_V?$basic_istream_at_DU?$char_traits_at_D@std@@@std@@@archive_at_boost@@IEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl 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_at_V?$basic_ostream_at_DU?$char_traits_at_D@std@@@std@@@archive_at_boost@@IEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl 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_at_Vtext_oarchive_at_archive@boost@@@archive_at_boost@@IEAA_at_AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@std@@I_at_Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl 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_at_Vtext_oarchive_at_archive@boost@@@archive_at_boost@@IEAAXAEBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: virtual __cdecl
boost::archive::detail::basic_iserializer::~basic_iserializer(void)"
(??1basic_iserializer_at_detail@archive_at_boost@@MEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl
boost::archive::detail::basic_iserializer::basic_iserializer(class
boost::serialization::extended_type_info const &)"
(??0basic_iserializer_at_detail@archive_at_boost@@IEAA_at_AEBVextended_type_info_at_serialization@3@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: virtual __cdecl
boost::archive::detail::basic_oserializer::~basic_oserializer(void)"
(??1basic_oserializer_at_detail@archive_at_boost@@MEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl
boost::archive::detail::basic_oserializer::basic_oserializer(class
boost::serialization::extended_type_info const &)"
(??0basic_oserializer_at_detail@archive_at_boost@@IEAA_at_AEBVextended_type_info_at_serialization@3@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: void __cdecl
boost::archive::detail::basic_iarchive::reset_object_address(void
const *,void const *)"
(?reset_object_address_at_basic_iarchive_at_detail@archive_at_boost@@QEAAXPEBX0_at_Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: class boost::archive::library_version_type __cdecl
boost::archive::detail::basic_iarchive::get_library_version(void)const
" (?get_library_version_at_basic_iarchive_at_detail@archive_at_boost@@QEBA?AVlibrary_version_type_at_34@XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: void __cdecl
boost::archive::detail::basic_iarchive::load_object(void *,class
boost::archive::detail::basic_iserializer const &)"
(?load_object_at_basic_iarchive_at_detail@archive_at_boost@@QEAAXPEAXAEBVbasic_iserializer_at_234@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: virtual __cdecl
boost::archive::detail::basic_iarchive::~basic_iarchive(void)"
(??1basic_iarchive_at_detail@archive_at_boost@@UEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: void __cdecl
boost::archive::detail::basic_oarchive::end_preamble(void)"
(?end_preamble_at_basic_oarchive_at_detail@archive_at_boost@@QEAAXXZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: void __cdecl
boost::archive::detail::basic_oarchive::save_object(void const *,class
boost::archive::detail::basic_oserializer const &)"
(?save_object_at_basic_oarchive_at_detail@archive_at_boost@@QEAAXPEBXAEBVbasic_oserializer_at_234@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: virtual __cdecl
boost::archive::detail::basic_oarchive::~basic_oarchive(void)"
(??1basic_oarchive_at_detail@archive_at_boost@@MEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl boost::archive::basic_text_oarchive<class
boost::archive::text_oarchive>::newtoken(void)"
(?newtoken@?$basic_text_oarchive_at_Vtext_oarchive_at_archive@boost@@@archive_at_boost@@IEAAXXZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: virtual __cdecl
boost::archive::archive_exception::~archive_exception(void)"
(??1archive_exception_at_archive@boost@@UEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: __cdecl
boost::archive::archive_exception::archive_exception(enum
boost::archive::archive_exception::_exception_code,char const *,char
const *)" (??0archive_exception_at_archive@boost@@QEAA_at_W4_exception_code_at_012@PEBD1_at_Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: __cdecl
boost::archive::archive_exception::archive_exception(class
boost::archive::archive_exception const &)"
(??0archive_exception_at_archive@boost@@QEAA_at_AEBV012@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: virtual bool __cdecl
boost::serialization::typeid_system::extended_type_info_typeid_0::is_equal(class
boost::serialization::extended_type_info const &)const "
(?is_equal_at_extended_type_info_typeid_0_at_typeid_system_at_serialization@boost@@UEBA_NAEBVextended_type_info_at_34@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"public: virtual bool __cdecl
boost::serialization::typeid_system::extended_type_info_typeid_0::is_less_than(class
boost::serialization::extended_type_info const &)const "
(?is_less_than_at_extended_type_info_typeid_0_at_typeid_system_at_serialization@boost@@UEBA_NAEBVextended_type_info_at_34@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl
boost::serialization::typeid_system::extended_type_info_typeid_0::type_unregister(void)"
(?type_unregister_at_extended_type_info_typeid_0_at_typeid_system_at_serialization@boost@@IEAAXXZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl
boost::serialization::typeid_system::extended_type_info_typeid_0::type_register(class
type_info const &)"
(?type_register_at_extended_type_info_typeid_0_at_typeid_system_at_serialization@boost@@IEAAXAEBVtype_info@@@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: virtual __cdecl
boost::serialization::typeid_system::extended_type_info_typeid_0::~extended_type_info_typeid_0(void)"
(??1extended_type_info_typeid_0_at_typeid_system_at_serialization@boost@@MEAA_at_XZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: __cdecl
boost::serialization::typeid_system::extended_type_info_typeid_0::extended_type_info_typeid_0(char
const *)" (??0extended_type_info_typeid_0_at_typeid_system_at_serialization@boost@@IEAA_at_PEBD@Z)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl
boost::serialization::extended_type_info::key_register(void)const "
(?key_register_at_extended_type_info_at_serialization@boost@@IEBAXXZ)
1>wxRememberme.obj : error LNK2001: unresolved external symbol
"protected: void __cdecl
boost::serialization::extended_type_info::key_unregister(void)const "
(?key_unregister_at_extended_type_info_at_serialization@boost@@IEBAXXZ)
1>libeay32mt.lib(txt_db.obj) : error LNK2001: unresolved external
symbol __iob_func
1>libeay32mt.lib(ui_openssl.obj) : error LNK2001: unresolved external
symbol __iob_func
1>ssleay32mt.lib(s3_srvr.obj) : error LNK2001: unresolved external
symbol __iob_func
1>ssleay32mt.lib(t1_enc.obj) : error LNK2001: unresolved external
symbol __iob_func
1>ssleay32mt.lib(d1_both.obj) : error LNK2001: unresolved external
symbol __iob_func
1>libeay32mt.lib(cryptlib.obj) : error LNK2001: unresolved external
symbol __iob_func
1>libeay32mt.lib(pem_lib.obj) : error LNK2001: unresolved external
symbol __iob_func
1>libeay32mt.lib(e_capi.obj) : error LNK2001: unresolved external
symbol __iob_func
1>libeay32mt.lib(gost_eng.obj) : error LNK2001: unresolved external
symbol __iob_func
1>libeay32mt.lib(cryptlib.obj) : error LNK2001: unresolved external
symbol _vsnwprintf

My boost library compile parameter is:

C:\boost_1_61_0>b2 install --prefix=C:\Boost1_61_0 address-model=64 --build-dir=
C:\boost-build toolset=msvc-14.0 variant=debug,release link=static threading=mul
ti runtime-link=static stage

I am using serialization.

Thanks in advance


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