MSVCR90.DLL was not found

后端 未结 7 1961
再見小時候
再見小時候 2020-12-15 09:10

I know a question like this was already asked, but the situation is a little different, and all the answers on that problem didn\'t work for me.

I\'m trying to compi

相关标签:
7条回答
  • 2020-12-15 09:24

    it is supposedly in the http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2&displaylang=en visual studio 2008 runtime library. Yes! After installing that, openoffice update works.

    0 讨论(0)
  • 2020-12-15 09:30

    Here are some things to check for your configuration of the project- under the general tab:

    • .1 Configuration type - exe in your case.
    • .2 Use of MFC: if this is an MFC application it might be more portable if you do: Use MFC in a static library.
    • .3 Use of ATL - if not using atl (or not sure) say Not using ATL.
    • .4 Under C/C++ -> Runtime Library: Say Multi-threaded Debug (for debug version) or Multi-Threaded (for release version).

    If you are getting specific linker errors that say something is already defined: This means that you have some parts of your app (separate libs being linked to your exe) that are built with different runtime linking:

    You can:

    • Make sure that these libraries were compiled with the same version of visual studio as your application.

    • Change those projects to use static runtime: C/C++ -> Code Generation -> Runtime LIbrary: /MT or MTd (same as #4 above)

    • If you still have some specific errors try telling the linker to ignore certain libraries: Go to Linker->Ignore Specific Library and put in the library that you want to ignore. This is most common for 'libcmt.lib' or 'libcmtd.lib'. It is important also to know that lib ending with 'd' is usually the debug version. If you are creating a release build and you are getting 'already defined in libcmtd.lib' that means that somewhere you are linking a release lib to a debug lib.

    0 讨论(0)
  • 2020-12-15 09:30

    Go to your Project settings, Configuration Properties->C/C++->Code Generation and change Runtime Library from Multi-Threaded DLL to Multi-Threaded and then try to compile but it won't. Then change it to Multi-Threaded Debug and try to compile ,but it won't again and then you change it back to Multi-Threaded DLL and then it should compile and run.

    0 讨论(0)
  • 2020-12-15 09:37

    I have just been bitten by this and this page got me working again.

    The key is to ignore MSVCRT and MSVCR90 libraries for the debug configuration. Set your linker -> Input -> Ignore Specific Library setting to include the following:

    • MSVCRT
    • MSVCR90
    0 讨论(0)
  • 2020-12-15 09:39

    If you give the finished exe to someone else they will need to install the latest visual c runtime to run it. This will only work for release build AFAIK. Visual studio should install the required runtime both release and debug into your path. The project probably has an additional dependency accidently set for an incorrect version of the runtime.

    See if this page helps.

    0 讨论(0)
  • 2020-12-15 09:44

    if you delete the manifest file associated with you .exe, you will get the same error.

    MSVCR90.dll is not installed in system32, but in the side-by-side folder, hence the manifest is required.

    0 讨论(0)
提交回复
热议问题