Menu

can not link Regex for Windows in VS 2008

Help
Dan Dan
2010-04-04
2012-07-26
  • Dan Dan

    Dan Dan - 2010-04-04

    Hi,

    I have used "Regex" for Windows in MS VS 2008. The code is compiled
    successfully, but I get link error. I also have included library directory and
    library fie "regex.lib" to the VS linker but I still get unresolved references
    error from the linker. Can anybody help?

    Thank,

    D.

     
  • GnuWin

    GnuWin - 2010-04-05

    Which 'unresolved references' do you get?

     
  • Allan

    Allan - 2010-04-25

    You may be linking with the wrong version of the C/C++ runtime library. In the
    Visual C++ IDE make sure you have selected to include the default libraries
    and check the build log. If it is Windows XP or Vista you are building on you
    may still want to update to the Windows SDK for Windows 7 anyway.