
30 Sep
2006
30 Sep
'06
8:31 a.m.
Maggie Nguyen wrote:
I fixed the problem.
For debug: my project setting as: C/C++ > Code Generation > Runtime LIbrary as "Multi-threaded DLL (/MD)"
But in my release setting: C/C++ > Code Generation > Runtime LIbrary as "Multi-threaded (/MT)"
When I changed it to "Multi-threaded DLL (/MD)", then it works!
As indicated in the boost/boost/config/user.hpp, which needs _DLL flag. Thanks, Maggie
Looks like you solved your own problem: BTW you can use /MT to build if you want, but you would obviously need to build the matching Boost.Regex lib to go with it. John.