I know there are a lot of threads about this, but none seem to fit my situation.

In my case, only the Release build of my project fails with this error.

The Debug build works OK.

 

Initially I thought it had to do with my own project settings (I’m using MS VS2005 w/ SP1).

But I managed to isolate the problem to the Boost library.

I built Boost Regex using VC80.

It seems odd to me that it would need MSVCP80D.DLL in a release build. At least, I assume it was built in release. I used the Makefile that came with the Boost download, with some minor changes.

Is there something I can change in the Makefile to make it not need this DLL?

 

Thank you.