Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > unresolved symbols while trying to link to boost_regex library

Thread Tools

unresolved symbols while trying to link to boost_regex library

shouvik shouvik is offline
Junior Member
Join Date: Feb 2008
Posts: 1
I am trying to access the function regex_search() by linking to the boost_regex library. However I get the following unresolved symbols
1.undefined symbol: _ZN5boost14reg_expressionIcNS_12regex_traitsIcEEN4 _STL9allocatorIcEEE14set_expressionEPKcS8_j
2.undefined symbol: _ZN5boost9re_detail21raise_regex_exceptionERKN4_ST L12basic_stringIcNS1_11char_traitsIcEENS1_9allocat orIcEEEE
3.undefined symbol: _ZN5boost14c_regex_traitsIcE17transform_primaryERN 4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9all ocatorIcEEEERKS8_
4.undefined symbol: _ZN5boost14c_regex_traitsIcE9transformERN4_STL12ba sic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcE EEERKS8_
The first and third error point to functions set_expression() and transform_primary() respectively. However the other errors are not clear to me.
How can I resolve the link errors

Last edited by shouvik; 02-18-2008 at 12:01 PM..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between libboost_regex-mt-gd-1_33_1.lib and boost_regex-mt-gd-1_33_1.lib C++ 3 09-30-2007 06:54 AM
"LNK2019 - Unresolved external Symbol" while using templates Mastadex C++ 4 09-30-2005 11:20 PM
Unresolved symbols dlclose, dlopen, dlerror, dlsym Ruby 8 05-17-2005 07:30 PM
Pyhon Extensions linker error, unresolved symbols Jim Python 0 11-18-2003 11:13 PM
Unresolved Symbols from C++ Code Scott Brady Drummonds C++ 3 10-08-2003 11:52 PM