::operator=(class std::vector,class std::allocator > > const
&)"
(??4?$vector@U?$sub_match@PBD@boost@@V?$allocator@U?$sub_match@PBD@boost@@@std@@@std@@QAEAAV01@ABV01@@Z)
::~_Vector_val,class
std::allocator > >(void)"
(??1?$_Vector_val@U?$sub_match@PBD@boost@@V?$allocator@U?$sub_match@PBD@boost@@@std@@@std@@QAE@XZ)
::_Vector_val,class
std::allocator > >(class
std::allocator >)"
(??0?$_Vector_val@U?$sub_match@PBD@boost@@V?$allocator@U?$sub_match@PBD@boost@@@std@@@std@@IAE@V?$allocator@U?$sub_match@PBD@boost@@@1@@Z)
::append_set(class boost::re_detail::basic_char_set > const
&,struct boost::mpl::bool_<0> *)"
(?append_set@?$basic_regex_creator@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail@boost@@QAEPAUre_syntax_base@23@ABV?$basic_char_set@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@23@PAU?$bool_@$0A@@mpl@3@@Z)
Hello!
I've built the boost library by Visual Studio 2008 Express with these
parameters:
debug threading=multi link=static runtime-link=shared
--toolset="msvc-9.0" install
Unfortunately I got the following linker errors during building my
application:
libboost_program_options-vc90-mt-gd-1_35.lib(convert.obj) : warning
LNK4217: locally defined symbol ?_Register@facet@locale@std@@QAEXXZ
(public: void __thiscall std::locale::facet::_Register(void)) imported
in function "class std::codecvt const & __cdecl
std::use_facet >(class std::locale
const &)"
(??$use_facet@V?$codecvt@_WDH@std@@@std@@YAABV?$codecvt@_WDH@0@ABVlocale@0@@Z)
libboost_program_options-vc90-mt-gd-1_35.lib(cmdline.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public: void
__thiscall std::_Container_base::_Orphan_all(void)const "
(__imp_?_Orphan_all@_Container_base@std@@QBEXXZ)
libboost_regex-vc90-mt-gd-1_35.lib(instances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: void
__thiscall std::_Container_base::_Orphan_all(void)const "
(__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) referenced in function
"public: class std::vector,class
std::allocator > > & __thiscall
std::vector,class
std::allocator >
libboost_program_options-vc90-mt-gd-1_35.lib(options_description.obj) :
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
void __thiscall std::_Container_base::_Orphan_all(void)const "
(__imp_?_Orphan_all@_Container_base@std@@QBEXXZ)
libboost_program_options-vc90-mt-gd-1_35.lib(value_semantic.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public: void
__thiscall std::_Container_base::_Orphan_all(void)const "
(__imp_?_Orphan_all@_Container_base@std@@QBEXXZ)
libboost_program_options-vc90-mt-gd-1_35.lib(positional_options.obj) :
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
void __thiscall std::_Container_base::_Orphan_all(void)const "
(__imp_?_Orphan_all@_Container_base@std@@QBEXXZ)
libboost_program_options-vc90-mt-gd-1_35.lib(positional_options.obj) :
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(cmdline.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ)
libboost_regex-vc90-mt-gd-1_35.lib(instances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: __thiscall
std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public:
__thiscall std::_Vector_val,class
std::allocator >
libboost_program_options-vc90-mt-gd-1_35.lib(options_description.obj) :
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(value_semantic.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(variables_map.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::~_Container_base(void)"
(__imp_??1_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(positional_options.obj) :
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(cmdline.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ)
libboost_regex-vc90-mt-gd-1_35.lib(instances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: __thiscall
std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ) referenced in function
"protected: __thiscall std::_Vector_val,class std::allocator >
libboost_program_options-vc90-mt-gd-1_35.lib(options_description.obj) :
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(value_semantic.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ)
libboost_program_options-vc90-mt-gd-1_35.lib(variables_map.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::_Container_base::_Container_base(void)"
(__imp_??0_Container_base@std@@QAE@XZ)
libboost_regex-vc90-mt-gd-1_35.lib(instances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: void
__thiscall std::_Container_base::_Swap_all(class std::_Container_base
&)const " (__imp_?_Swap_all@_Container_base@std@@QBEXAAV12@@Z)
referenced in function "public: void __thiscall std::vector,class std::allocator > >::swap(class std::vector,class std::allocator > > &)"
(?swap@?$vector@U?$sub_match@PBD@boost@@V?$allocator@U?$sub_match@PBD@boost@@@std@@@std@@QAEXAAV12@@Z)
libboost_regex-vc90-mt-gd-1_35.lib(instances.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: class
std::_String_iterator __thiscall std::basic_string::insert(class
std::_String_iterator,char)"
(__imp_?insert@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@V32@D@Z)
referenced in function "public: struct boost::re_detail::re_syntax_base
* __thiscall boost::re_detail::basic_regex_creator
libboost_program_options-vc90-mt-gd-1_35.lib(value_semantic.obj) : error
LNK2019: unresolved external symbol "__declspec(dllimport) public: class
std::basic_string & __thiscall std::basic_string::replace(class
std::_String_iterator,class std::_String_iterator,class
std::basic_string const &)"
(__imp_?replace@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@V?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@0ABV12@@Z)
referenced in function "public: class std::basic_string & __thiscall
std::basic_string::_Replace(class
std::_String_iterator,class std::_String_iterator,char *,char *,struct
std::input_iterator_tag)"
(??$_Replace@PAD@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@V?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@1@0PAD1Uinput_iterator_tag@1@@Z)
libboost_program_options-vc90-mt-gd-1_35.lib(convert.obj) : error
LNK2001: unresolved external symbol "__declspec(dllimport) public: class
std::basic_string & __thiscall std::basic_string::replace(class
std::_String_iterator,class std::_String_iterator,class
std::basic_string const &)"
(__imp_?replace@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@V?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@0ABV12@@Z)
libboost_program_options-vc90-mt-gd-1_35.lib(cmdline.obj) : error
LNK2019: unresolved external symbol "__declspec(dllimport) public: class
std::_String_iterator __thiscall std::basic_string::erase(class
std::_String_iterator)"
(__imp_?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@V32@@Z)
referenced in function "public: class std::vector > __thiscall
boost::program_options::detail::cmdline::parse_short_option(class
std::vector,class
std::allocator > > &)"
(?parse_short_option@cmdline@detail@program_options@boost@@QAE?AV?$vector@V?$basic_option@D@program_options@boost@@V?$allocator@V?$basic_option@D@program_options@boost@@@std@@@std@@AAV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@6@@Z)
libboost_program_options-vc90-mt-gd-1_35.lib(convert.obj) : error
LNK2019: unresolved external symbol "__declspec(dllimport) public:
static unsigned int __cdecl
std::codecvt::_Getcat(class std::locale::facet const *
*)" (__imp_?_Getcat@?$codecvt@_WDH@std@@SAIPAPBVfacet@locale@2@@Z)
referenced in function "class std::codecvt const &
__cdecl std::use_facet >(class
std::locale const &)"
(??$use_facet@V?$codecvt@_WDH@std@@@std@@YAABV?$codecvt@_WDH@0@ABVlocale@0@@Z)
libboost_program_options-vc90-mt-gd-1_35.lib(convert.obj) : error
LNK2019: unresolved external symbol "__declspec(dllimport) public: class
std::basic_string,class
std::allocator > & __thiscall std::basic_string,class std::allocator >::replace(class
std::_String_iterator,class
std::allocator >,class std::_String_iterator,class std::allocator >,class
std::basic_string,class
std::allocator > const &)"
(__imp_?replace@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV12@V?$_String_iterator@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@0ABV12@@Z)
referenced in function "public: class std::basic_string,class std::allocator > & __thiscall
std::basic_string,class
std::allocator >::_Replace(class
std::_String_iterator,class
std::allocator >,class std::_String_iterator,class std::allocator >,wchar_t
*,wchar_t *,struct std::input_iterator_tag)"
(??$_Replace@PA_W@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@V?$_String_iterator@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@1@0PA_W1Uinput_iterator_tag@1@@Z)
I downloaded compiled libraries from boost-consulting and it works with
them.
Any idea where is the problem?
Thanks,
Ondrej Kuncar