January 20, 2017 Re: Release Candidate 2.073.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 2017-01-19 14:57, Jacob Carlborg wrote: > The changelog is missing an entry to the new default Ddoc theme. I'll > see if I can add that. Do we want an image, HTML page or something to show? https://github.com/dlang/dlang.org/pull/1558 -- /Jacob Carlborg |
January 20, 2017 Re: Release Candidate 2.073.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On 19.01.2017 21:56, Suliman wrote: > On Thursday, 19 January 2017 at 19:22:07 UTC, Rainer Schuetze wrote: >> >> >> On 19.01.2017 08:32, Suliman wrote: >>> http://dlang.org/changelog/2.073.0.html#mscrtlib-option >>> How can I set this flag in dub.json? I tried: >>> "dflags": [ "-mscrt=msvcrt" ] >>> but got error: >>> Error: unrecognized switch '-mscrt=msvcrt' >> >> Ouch, the switch is actually called -mscrtlib. We need to fix the >> documentation... > > Thanks! Now it's compile. > > What version of cruntime (I tried: libcmtd, msvcrt msvcrtd) I should use > to prevent depending my project on `msvcr120.dll`. Now when I try run > vibed-based project on another PC it's give me error about absent > `msvcr120.dll`. If you just want a single executable, the default (libcmt) is good enough. It adds the C runtime as a static library in the link step. The DLL version of the C runtime is used with msvcrt and msvcrtd (the latter is the debug version). This is usually needed if the executable passes memory or other resources to other DLLs. Microsoft recommends to install the redistributable package in that case, e.g. https://www.microsoft.com/en-us/download/details.aspx?id=40784 |
January 20, 2017 Re: Release Candidate 2.073.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | > If you just want a single executable, the default (libcmt) is good enough. It adds the C runtime as a static library in the link step.
I already tried it, but app is still require msvcr120.dll when run it's on another PC.
|
Copyright © 1999-2021 by the D Language Foundation