November 08, 2015 Re: Why my app require MSVCR120.dll? | ||||
---|---|---|---|---|
| ||||
Posted in reply to suliman | On Sunday, 8 November 2015 at 05:11:50 UTC, suliman wrote: > On Sunday, 8 November 2015 at 04:50:49 UTC, thedeemon wrote: >> On Saturday, 7 November 2015 at 10:03:58 UTC, Suliman wrote: >> >>> I am using DMD. >> >> -m64 or -m32mscoff ? > > Without any keys. I use dub for building I suspect your issue is caused by botan library on which vibe-d depends: http://code.dlang.org/packages/botan It says it needs MS linker on Windows and so most probably depends on MSVC runtime. Usually when you build something with DMD without -m64 or -m32mscoff it makes a binary without such dependencies, it uses its own C library (snn.lib) statically linked. |
January 18, 2017 Re: Why my app require MSVCR120.dll? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cauterite | On Friday, 6 November 2015 at 18:34:45 UTC, Cauterite wrote:
> On Friday, 6 November 2015 at 13:16:46 UTC, Suliman wrote:
>> On Windows 7 it's work fine. On Windows 10 (clean install) it's do not start and require MSVCR120.dll
>
> D doesn't make particularly heavy use of the C runtime, so there's a good chance you can link against a different C runtime DLL — preferably one that's always available by default like msvcrt.dll.
How can I link with msvcrt.dll ?
|
January 18, 2017 Re: Why my app require MSVCR120.dll? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Wednesday, 18 January 2017 at 09:54:43 UTC, Suliman wrote:
> On Friday, 6 November 2015 at 18:34:45 UTC, Cauterite wrote:
>> On Friday, 6 November 2015 at 13:16:46 UTC, Suliman wrote:
>>> On Windows 7 it's work fine. On Windows 10 (clean install) it's do not start and require MSVCR120.dll
>>
>> D doesn't make particularly heavy use of the C runtime, so there's a good chance you can link against a different C runtime DLL — preferably one that's always available by default like msvcrt.dll.
>
> How can I link with msvcrt.dll ?
Or maybe there is way to statically link with MSVCR120.dll?
|
Copyright © 1999-2021 by the D Language Foundation