|
Boost Users : |
Subject: [Boost-users] Linker errors with stlportstld.5.2.lib
From: Mangal (Manish.Mangal_at_[hidden])
Date: 2009-10-18 02:48:02
Hi
I have a simple test program which compiles in Release mode.
I understand in debug mode I have to define __STL_DEBUG as boost libs are
built with that symbol in debug mode.
Defining that symbol forces me to link against stlportstld.5.2.lib version
of stlport. On doing that
I get several linker errors:
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::priv::__owned_list::~__owned_list(void)"
(__imp_??1__owned_list_at_priv@stlpdmtx_std@@QAE_at_XZ) referenced in function
"public: __thiscall stlpdmtx_std::vector<int,class
stlpdmtx_std::allocator<int> >::~vector<int,class
stlpdmtx_std::allocator<int> >(void)"
(??1?$vector_at_HV?$allocator_at_H@stlpdmtx_std@@@stlpdmtx_std@@QAE_at_XZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::~basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >(void)"
(__imp_??1?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAE_at_XZ)
referenced in function
__unwindfunclet$??0?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@QAE_at_PBD@Z$0
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2001:
unresolved external symbol "__declspec(dllimport) public: __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::~basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >(void)"
(__imp_??1?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAE_at_XZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::allocator<char>::~allocator<char>(void)"
(__imp_??1?$allocator_at_D@stlpdmtx_std@@QAE_at_XZ) referenced in function
"public: __thiscall boost::filesystem::basic_path<class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >,struct
boost::filesystem::path_traits>::basic_path<class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >,struct boost::filesystem::path_traits>(char
const *)"
(??0?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@QAE_at_PBD@Z)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2001:
unresolved external symbol "__declspec(dllimport) public: __thiscall
stlpdmtx_std::allocator<char>::~allocator<char>(void)"
(__imp_??1?$allocator_at_D@stlpdmtx_std@@QAE_at_XZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >(class
stlpdmtx_std::allocator<char> const &)"
(__imp_??0?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAE_at_ABV?$allocator_at_D@1@@Z)
referenced in function "public: __thiscall
boost::filesystem::basic_path<class stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
boost::filesystem::path_traits>::basic_path<class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >,struct boost::filesystem::path_traits>(char
const *)"
(??0?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@QAE_at_PBD@Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::allocator<char>::allocator<char>(void)"
(__imp_??0?$allocator_at_D@stlpdmtx_std@@QAE_at_XZ) referenced in function
"public: __thiscall boost::filesystem::basic_path<class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >,struct
boost::filesystem::path_traits>::basic_path<class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >,struct boost::filesystem::path_traits>(char
const *)"
(??0?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@QAE_at_PBD@Z)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2001:
unresolved external symbol "__declspec(dllimport) public: __thiscall
stlpdmtx_std::allocator<char>::allocator<char>(void)"
(__imp_??0?$allocator_at_D@stlpdmtx_std@@QAE_at_XZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
stlpdmtx_std::priv::__stl_debug_engine<bool>::_VerboseAssert(char const
*,int,char const *,int)"
(__imp_?_VerboseAssert@?$__stl_debug_engine@_N_at_priv@stlpdmtx_std@@SAXPBDH0H_at_Z)
referenced in function "public: int & __thiscall
stlpdmtx_std::vector<int,class stlpdmtx_std::allocator<int>
>::operator[](unsigned int)"
(??A?$vector_at_HV?$allocator_at_H@stlpdmtx_std@@@stlpdmtx_std@@QAEAAHI_at_Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::priv::__owned_list::__owned_list(void *)"
(__imp_??0__owned_list_at_priv@stlpdmtx_std@@QAE_at_PAX@Z) referenced in function
"public: __thiscall stlpdmtx_std::vector<int,class
stlpdmtx_std::allocator<int> >::vector<int,class
stlpdmtx_std::allocator<int> >(class stlpdmtx_std::allocator<int> const &)"
(??0?$vector_at_HV?$allocator_at_H@stlpdmtx_std@@@stlpdmtx_std@@QAE_at_ABV?$allocator_at_H@1@@Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
stlpdmtx_std::__node_alloc::deallocate(void *,unsigned int)"
(__imp_?deallocate@__node_alloc_at_stlpdmtx_std@@SAXPAXI_at_Z) referenced in
function "public: void __thiscall
stlpdmtx_std::allocator<int>::deallocate(int *,unsigned int)"
(?deallocate@?$allocator_at_H@stlpdmtx_std@@QAEXPAHI_at_Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
stlpdmtx_std::priv::__stl_debug_engine<bool>::_Assert(char const *,char
const *,int)"
(__imp_?_Assert@?$__stl_debug_engine@_N_at_priv@stlpdmtx_std@@SAXPBD0H_at_Z)
referenced in function "public: void __thiscall
stlpdmtx_std::allocator<int>::deallocate(int *,unsigned int)"
(?deallocate@?$allocator_at_H@stlpdmtx_std@@QAEXPAHI_at_Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: bool __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::empty(void)const "
(__imp_?empty@?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QBE_NXZ)
referenced in function "public: bool __thiscall
boost::filesystem::basic_path<class stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
boost::filesystem::path_traits>::empty(void)const "
(?empty@?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@QBE_NXZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > &
__thiscall stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char>
>::operator+=(char)"
(__imp_??Y?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAEAAV01_at_D@Z)
referenced in function "private: void __thiscall
boost::filesystem::basic_path<class stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
boost::filesystem::path_traits>::m_append_separator_if_needed(void)"
(?m_append_separator_if_needed@?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@AAEXXZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: struct stlpdmtx_std::priv::_DBG_iter<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
stlpdmtx_std::priv::_DbgTraits<struct stlpdmtx_std::_Nonconst_traits<char> >
> __thiscall stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char>
>::end(void)"
(__imp_?end@?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAE?AU?$_DBG_iter_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@U?$_DbgTraits_at_U?$_Nonconst_traits_at_D@stlpdmtx_std@@@23@@priv_at_2@XZ)
referenced in function "private: void __thiscall
boost::filesystem::basic_path<class stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
boost::filesystem::path_traits>::m_append_separator_if_needed(void)"
(?m_append_separator_if_needed@?$basic_path_at_V?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@Upath_traits_at_filesystem@boost@@@filesystem_at_boost@@AAEXXZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::priv::__owned_link::~__owned_link(void)"
(__imp_??1__owned_link_at_priv@stlpdmtx_std@@QAE_at_XZ) referenced in function
"public: __thiscall stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >
>::~_DBG_iter_base<class stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >
>(void)"
(??1?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@QAE_at_XZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
stlpdmtx_std::priv::__owned_list::_Invalidate_all(void)"
(__imp_?_Invalidate_all@__owned_list_at_priv@stlpdmtx_std@@QAEXXZ) referenced
in function "private: void __thiscall stlpdmtx_std::vector<int,class
stlpdmtx_std::allocator<int> >::_Invalidate_all(void)"
(?_Invalidate_all@?$vector_at_HV?$allocator_at_H@stlpdmtx_std@@@stlpdmtx_std@@AAEXXZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
stlpdmtx_std::priv::__owned_link::__owned_link(class
stlpdmtx_std::priv::__owned_link const &)"
(__imp_??0__owned_link_at_priv@stlpdmtx_std@@QAE_at_ABV012@@Z) referenced in
function "public: __thiscall stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >
>::_DBG_iter_base<class stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >
>(struct stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > >
const &)"
(??0?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@QAE_at_ABU012@@Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void * __cdecl
stlpdmtx_std::__node_alloc::allocate(unsigned int &)"
(__imp_?allocate@__node_alloc_at_stlpdmtx_std@@SAPAXAAI_at_Z) referenced in
function "public: int * __thiscall
stlpdmtx_std::allocator<int>::_M_allocate(unsigned int,unsigned int &)"
(?_M_allocate@?$allocator_at_H@stlpdmtx_std@@QAEPAHIAAI_at_Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: char * __thiscall
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char>
>::end(void)"
(__imp_?end@?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@QAEPADXZ)
referenced in function "bool __cdecl
stlpdmtx_std::priv::_Dereferenceable<struct
stlpdmtx_std::priv::_DBG_iter<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
stlpdmtx_std::priv::_DbgTraits<struct stlpdmtx_std::_Nonconst_traits<char> >
> >(struct stlpdmtx_std::priv::_DBG_iter<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >,struct
stlpdmtx_std::priv::_DbgTraits<struct stlpdmtx_std::_Nonconst_traits<char> >
> const &)"
(??$_Dereferenceable_at_U?$_DBG_iter_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@U?$_DbgTraits_at_U?$_Nonconst_traits_at_D@stlpdmtx_std@@@23@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@YA_NABU?$_DBG_iter_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@U?$_DbgTraits_at_U?$_Nonconst_traits_at_D@stlpdmtx_std@@@23@@01@@Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char>
>::size(void)const "
(__imp_?size@?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@QBEIXZ)
referenced in function "bool __cdecl
stlpdmtx_std::priv::_Incrementable<struct
stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > >
>(struct stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > >
const &,int,struct stlpdmtx_std::random_access_iterator_tag const &)"
(??$_Incrementable_at_U?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@YA_NABU?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@01_at_HABUrandom_access_iterator_tag_at_1@@Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: char * __thiscall
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char>
>::begin(void)"
(__imp_?begin@?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@QAEPADXZ)
referenced in function "bool __cdecl
stlpdmtx_std::priv::_Incrementable<struct
stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > >
>(struct stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > >
const &,int,struct stlpdmtx_std::random_access_iterator_tag const &)"
(??$_Incrementable_at_U?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@YA_NABU?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@01_at_HABUrandom_access_iterator_tag_at_1@@Z)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) void __cdecl
stlpdmtx_std::__stl_throw_length_error(char const *)"
(__imp_?__stl_throw_length_error_at_stlpdmtx_std@@YAXPBD_at_Z) referenced in
function "protected: void __thiscall
stlpdmtx_std::priv::_Vector_base<int,class stlpdmtx_std::allocator<int>
>::_M_throw_length_error(void)const "
(?_M_throw_length_error@?$_Vector_base_at_HV?$allocator_at_H@stlpdmtx_std@@@priv_at_stlpdmtx_std@@IBEXXZ)
1>StlPort_Test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void * __cdecl
stlpdmtx_std::priv::__stl_debug_engine<bool>::_Get_container_ptr(class
stlpdmtx_std::priv::__owned_link const *)"
(__imp_?_Get_container_ptr@?$__stl_debug_engine@_N_at_priv@stlpdmtx_std@@SAPAXPBV__owned_link_at_23@@Z)
referenced in function "public: class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> > *
__thiscall stlpdmtx_std::priv::_DBG_iter_base<class
stlpdmtx_std::priv::_NonDbg_str<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >
>::_Get_container_ptr(void)const "
(?_Get_container_ptr@?$_DBG_iter_base_at_V?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@priv_at_stlpdmtx_std@@@priv_at_stlpdmtx_std@@QBEPAV?$_NonDbg_str_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@23_at_XZ)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >(class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > const &)"
(__imp_??0?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAE_at_ABV01@@Z)
referenced in function "public: virtual class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > __thiscall `anonymous
namespace'::generic_error_category::message(int)const "
(?message_at_generic_error_category@?A0x2869e426@@UBE?AV?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@H_at_Z)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char> >(char
const *,class stlpdmtx_std::allocator<char> const &)"
(__imp_??0?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAE_at_PBDABV?$allocator_at_D@1@@Z)
referenced in function "public: virtual class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > __thiscall `anonymous
namespace'::generic_error_category::message(int)const "
(?message_at_generic_error_category@?A0x2869e426@@UBE?AV?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@H_at_Z)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > & __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::erase(unsigned int,unsigned int)"
(__imp_?erase@?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAEAAV12_at_II@Z)
referenced in function "public: virtual class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > __thiscall `anonymous
namespace'::system_error_category::message(int)const "
(?message_at_system_error_category@?A0x2869e426@@UBE?AV?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@H_at_Z)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: char & __thiscall
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> >::operator[](unsigned int)"
(__imp_??A?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QAEAADI_at_Z)
referenced in function "public: virtual class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > __thiscall `anonymous
namespace'::system_error_category::message(int)const "
(?message_at_system_error_category@?A0x2869e426@@UBE?AV?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@H_at_Z)
1>libboost_system-vc90-mt-gdp-1_40.lib(error_code.obj) : error LNK2019:
unresolved external symbol "__declspec(dllimport) public: unsigned int
__thiscall stlpdmtx_std::basic_string<char,class
stlpdmtx_std::char_traits<char>,class stlpdmtx_std::allocator<char>
>::size(void)const "
(__imp_?size@?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@QBEIXZ)
referenced in function "public: virtual class
stlpdmtx_std::basic_string<char,class stlpdmtx_std::char_traits<char>,class
stlpdmtx_std::allocator<char> > __thiscall `anonymous
namespace'::system_error_category::message(int)const "
(?message_at_system_error_category@?A0x2869e426@@UBE?AV?$basic_string_at_DV?$char_traits_at_D@stlpdmtx_std@@V?$allocator_at_D@2@@stlpdmtx_std@@H_at_Z)
1>C:\Users\MANMA\Desktop\StlPort_Test\Debug\StlPort_Test.exe : fatal error
LNK1120: 26 unresolved externals
#include "stdafx.h"
#include <boost/assign/std/vector.hpp> // for 'operator+=()'
#include <boost/assert.hpp>
using namespace std;
using namespace boost::assign; // bring 'operator+=()' into scope
#include "boost/filesystem.hpp" // includes all needed Boost.Filesystem
declarations
#include <iostream> // for std::cout
int _tmain(int argc, _TCHAR* argv[])
{
vector<int> values;
values += 1,2,3,4,5,6,7,8,9; // insert values at the end of the
container
BOOST_ASSERT( values.size() == 9 );
BOOST_ASSERT( values[0] == 1 );
BOOST_ASSERT( values[8] == 9 );
boost::filesystem::path my_path( "some_dir/file.txt" );
return 0;
}
any help is appreciated
-- View this message in context: http://www.nabble.com/Linker-errors-with-stlportstld.5.2.lib-tp25944396p25944396.html Sent from the Boost - Users mailing list archive at Nabble.com.
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