Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-09-30 04:31:33


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net