digitalmars.D.learn - Dub is not finding the dynamic link library MSVCR120.dll...
- WhatMeWorry (5/5) Feb 19 2023 and is abending with an error saying exactly this. How do I
- Mike Parker (10/15) Feb 19 2023 Any error about a missing DLL is a run-time error that's
- WhatMeworry (5/14) Feb 20 2023 Thanks for setting me straight. I'm trying to make D application
and is abending with an error saying exactly this. How do I specify the path to this library? Can I use one of the environment variables in sc.ini, one of the Windows env variables, or one of the dub options? Btw, I'm bypassing on purpose the official D installation.
Feb 19 2023
On Sunday, 19 February 2023 at 21:05:33 UTC, WhatMeWorry wrote:and is abending with an error saying exactly this. How do I specify the path to this library? Can I use one of the environment variables in sc.ini, one of the Windows env variables, or one of the dub options? Btw, I'm bypassing on purpose the official D installation.Any error about a missing DLL is a run-time error that's unrelated to dub or the compiler. Normally, for end users, a missing MSVC runtime DLL means you have to install the MSVC Redistributable package. This version of the DLL you're missing is from MSVC 2013, so that's the version of the package you'd need. However, I wonder what's causing the problem in the first place. Do you have Visual Studio installed, or are you using the out-of-the-box libraries and linker that ship with DMD?
Feb 19 2023
On Monday, 20 February 2023 at 01:04:25 UTC, Mike Parker wrote:Any error about a missing DLL is a run-time error that's unrelated to dub or the compiler. Normally, for end users, a missing MSVC runtime DLL means you have to install the MSVC Redistributable package. This version of the DLL you're missing is from MSVC 2013, so that's the version of the package you'd need. However, I wonder what's causing the problem in the first place. Do you have Visual Studio installed, or are you using the out-of-the-box libraries and linker that ship with DMD?Thanks for setting me straight. I'm trying to make D application that you can just download and start up. Hopefully with having to install D first or the DLL. I see that msvc120.dll is in the same directory as dmd.exe.and dub.exe.
Feb 20 2023