I am using Boost.Regex in my VC2011 project and the latest Boost.Regex was compiled to a static and dynamic library.
I've forced my VC project to link the static library (boost_regex-vc110-mt-1_49.lib), but after the project was compiled and when it is run, it reports that:
missing boost_regex-vc110-mt-1_49.dll
I googled the similar problem and someone suggests to use /D "BOOST_ALL_NO_LIB"
, I tried this, but it doesn't help.