unresolved symbols while trying to link to boost_regex library

Joined
Feb 11, 2008
Messages
1
Reaction score
0
Hi,
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_STL12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE
3.undefined symbol: _ZN5boost14c_regex_traitsIcE17transform_primaryERN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKS8_
4.undefined symbol: _ZN5boost14c_regex_traitsIcE9transformERN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKS8_
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
Thanks
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top