Dear All,
I am using Boost library version 1.34.1 in VC7.1 sp1.
I don't know why I always fail with linking Boost Serialization and
STLport library.
But I can successfully build with Boost Serialization with VC7.1
build-in STL library.
Do I need to modify my STLport library for Boost?
I try STLport v5.1.5, v5.0.3, and v4.6.2. both of these version of
STLport also fail in Linking process.
Thank you.
Kevin Tang.
Linking...
Creating library Debug/iSentenceRecognizer.lib and object Debug/iSentenceRecognizer.exp
iSentenizer.obj : error LNK2019: unresolved external
symbol "public: __thiscall boost::archive::text_oarchive_impl<class
boost::archive::text_oarchive>::text_oarchive_impl<class
boost::archive::text_oarchive>(...)
iSentenizer.obj : error LNK2019:
unresolved external symbol "public: __thiscall boost::archive::text_iarchive_impl<class
boost::archive::text_iarchive>::text_iarchive_impl<class
boost::archive::text_iarchive>(...)
iSentenizer.obj : error LNK2019:
unresolved external symbol "public: __thiscall boost::archive::basic_text_oprimitive<class
_STL::basic_ostream<char,class _STL::char_traits<char> >
>::~basic_text_oprimitive<class _STL::basic_ostream<char,class
_STL::char_traits<char> > >(void)" (...)
iSentenizer.obj : error LNK2019:
unresolved external symbol "public: __thiscall boost::archive::basic_text_iprimitive<class
_STL::basic_istream<char,class _STL::char_traits<char> >
>::~basic_text_iprimitive<class _STL::basic_istream<char,class
_STL::char_traits<char> > >(void)" (...)
iSentenizer.obj : error LNK2019:
unresolved external symbol "public: void
__thiscall boost::archive::text_oarchive_impl<class
boost::archive::text_oarchive>::save(class
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> > const &)" (...)
iSentenizer.obj : error LNK2019:
unresolved external symbol "public: void
__thiscall boost::archive::text_iarchive_impl<class
boost::archive::text_iarchive>::load(class
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> > &)" (...)
Y:\2008\iSentenceRecognition\iSentenceRecognition/Debug/iSentenceRecognizer.dll
: fatal error LNK1120: 6 unresolved externals