unresolved symbols while trying to link to boost_regex library

Discussion in 'C Programming' started by shouvik, Feb 11, 2008.

  1. shouvik

    shouvik

    Joined:
    Feb 11, 2008
    Messages:
    1
    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: Feb 18, 2008
    shouvik, Feb 11, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott Brady Drummonds

    Unresolved Symbols from C++ Code

    Scott Brady Drummonds, Oct 8, 2003, in forum: C++
    Replies:
    3
    Views:
    513
    Jonathan Mcdougall
    Oct 9, 2003
  2. Jim
    Replies:
    0
    Views:
    347
  3. Mastadex
    Replies:
    4
    Views:
    761
    Mastadex
    Oct 1, 2005
  4. ideal.black@gmail.com
    Replies:
    3
    Views:
    2,830
    ideal.black@gmail.com
    Sep 30, 2007
  5. me2faster@excite.com
    Replies:
    8
    Views:
    552
    me2faster@excite.com
    May 17, 2005
Loading...

Share This Page