Msvcr90d.dll not found when created in RELEASE

Strangely, 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 that Msvcr90d.dll was not found. Msvcr90d.dll is a debug library, I'm not sure why it comes up when I download it for release = /

+2


source to share


2 answers


msvcr90d.dll is a debug version of the C / C ++ library. It looks like you have a dependency somewhere on the debug target. Make sure all project targets are using the C runtime release version and not debug. Also, check out other third party libraries (DLLs) you may be using so they don't depend on msvcr90d.dll



To check the dependencies of your binaries, you can use the Dependency Tool so you can identify a project in your solution that still depends on the debug version of the C library.

+6


source


If you get LNK 4098 warning during build see this

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



And follow the recommendations.

Also, make sure you select the correct C / C ++ runtime on the Code Generation tab (multithreaded DLL - not multithreaded DLL debugging)

+1


source







All Articles