I use Visual Studios 2010 as my IDE and every application I make require this .dll. Why? Is there a way I do need it for my application to load?
Why Does my Application Require MSVCR100D.dll?
Page 1 of 16 Replies - 1964 Views - Last Post: 16 June 2011 - 11:57 AM
Replies To: Why Does my Application Require MSVCR100D.dll?
#2
Re: Why Does my Application Require MSVCR100D.dll?
Posted 16 June 2011 - 10:28 AM
I found out how to fix it, but I fully do not understand. I made my library static and had a linker problem (error LNK2019: unresolved external symbol).
So then I added some library file in additional dependencies and it compiled. I don't understand why I need to add a .lib to additional dependencies so if someone can shed some light that would be great.
So then I added some library file in additional dependencies and it compiled. I don't understand why I need to add a .lib to additional dependencies so if someone can shed some light that would be great.
#3
Re: Why Does my Application Require MSVCR100D.dll?
Posted 16 June 2011 - 10:31 AM
If you're using a library in your program and the linker doesn't know where that library is located, it's going to give you errors like "Unresolved external symbol". So you need to tell the linker where that library is located in your file-system.
#4
Re: Why Does my Application Require MSVCR100D.dll?
Posted 16 June 2011 - 10:33 AM
You can statically build this dll into your .exe
by going to Project -> Properties
then
C/C++ -> Code Generation
Change the Runtime Library setting
from
/MDd
to
/MTd
MSVCR100D.dll is part of the runtime enviroment for VS 2010
by going to Project -> Properties
then
C/C++ -> Code Generation
Change the Runtime Library setting
from
/MDd
to
/MTd
MSVCR100D.dll is part of the runtime enviroment for VS 2010
#5
Re: Why Does my Application Require MSVCR100D.dll?
Posted 16 June 2011 - 10:37 AM
Alternatively, you could compile in Release Mode rather than Debug Mode and have the user download and install the VC++ 2010 Runtime Redistributable.
#6
Re: Why Does my Application Require MSVCR100D.dll?
Posted 16 June 2011 - 11:51 AM
OKay, thanks guys. One thing, is there a way to know which libraries you need without having to Google it?
#7
Re: Why Does my Application Require MSVCR100D.dll?
Posted 16 June 2011 - 11:57 AM
The standard libraries are already included for you. You don't need to worry about them, the only time you need to know about a library, is when you need to use a non-standard library, e.g. a graphics library or a graphical user interface library. Even then, if the library you're trying to use is in the correct folder where the compiler/linker look, then everything will be fine. You can also edit where the compiler/linker look too.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|