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
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: