|
Boost : |
From: ÃÍ Ðí (gamexumeng_at_[hidden])
Date: 2004-07-22 11:28:41
I build the regex libs with vc7.1-stlport.
Then I test it:
#include <boost/regex.hpp>
int _tmain(int argc, _TCHAR* argv[])
{
boost::regex ex;
return 0;
}
but link error:
test1.obj : error LNK2019: unresolved external symbol "public: __thiscall
boost::reg_expression<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::reg_expression<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(class
_STL::allocator<char> const &)"
(??0?$reg_expression_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@
QAE_at_ABV?$allocator_at_D@_STL@@@Z) referenced in function "public: __thiscall
boost::basic_regex<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::basic_regex<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(class
_STL::allocator<char> const &)"
(??0?$basic_regex_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@QAE
@ABV?$allocator_at_D@_STL@@@Z)
test1.obj : error LNK2019: unresolved external symbol "public: __thiscall
boost::reg_expression<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::~reg_expression<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(void)"
(??1?$reg_expression_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@
QAE_at_XZ) referenced in function "public: __thiscall
boost::basic_regex<char,class boost::regex_traits<char>,class
_STL::allocator<char> >::~basic_regex<char,class
boost::regex_traits<char>,class _STL::allocator<char> >(void)"
(??1?$basic_regex_at_DV?$regex_traits_at_D@boost@@V?$allocator_at_D@_STL@@@boost@@QAE
@XZ)
how to solve it? thanks.
_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk