refuge
refuge

Reputation: 21

Msvcr90d.dll not found when building in RELEASE

It's strange, if I build my program in debug mode, I have no errors, but if I build my program in released mode, I get an error saying that Msvcr90d.dll is not found. Msvcr90d.dll is a debug library, I'm not sure why it's coming up when I load it for release =/

Upvotes: 2

Views: 1187

Answers (2)

Cătălin Pitiș
Cătălin Pitiș

Reputation: 14341

msvcr90d.dll is a debug version of C/C++ library. It looks like you have a dependency somewhere on a debug target. Check that all the projects in release target use the release version of C runtime, and not the debug. Also, check other 3rd party libraries (DLLs) that you might use, so they not depend on msvcr90d.dll

You can use dependency walker tool to check the dependencies of your binaries, so you can identify the project in your solution that still depends on debug version of C library.

Upvotes: 6

Lou Franco
Lou Franco

Reputation: 89172

If you are getting the warning LNK 4098 during build, please see this

http://msdn.microsoft.com/en-us/library/6wtdswk0(VS.71).aspx

And follow the recommendations.

Also, make sure that you chose the correct C/C++ runtime under the Code Generation tab (Multi-threaded DLL -- not Multithreaded Debug DLL)

Upvotes: 1

Related Questions