Trying to create a trivial 64 bit D Lang DLL on a Windows 10 machine and cant get past linking.

Imperatorn johan_forsberg_86 at hotmail.com
Fri Oct 2 08:33:25 UTC 2020


On Friday, 2 October 2020 at 08:07:33 UTC, Ferhat Kurtulmuş wrote:
> On Friday, 2 October 2020 at 07:34:03 UTC, WhatMeWorry wrote:
>> On Thursday, 1 October 2020 at 21:56:46 UTC, Ferhat Kurtulmuş 
>> wrote:
>>> On Thursday, 1 October 2020 at 21:35:42 UTC, WhatMeWorry 
>>> wrote:
>>>> [...]
>>>
>>> 1) try running your commands in Visual Studio Native x64 CMD.
>>
>> Yes, I've been doing that.
>>
>>> 2) try link with msvcrt.lib
>>
>> The only msvcrt.lib I can find on my Windows 10 machine is:
>>
>> "C:\Windows Kits\10\Lib\10.0.19041.0\um\x64\ntstc_msvcrt.lib"
>>
>> Also on Microsoft's docs
>> https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019 it talks about a ucrt.lib?
>
> Here are the steps I used with success:
>
> in a VCx64 cmd ->
> set PATH=%PATH%;D:\dlang\dmd.2.094.0.windows\dmd2\windows\bin64

Did you create a D-partition just for D. Pro


More information about the Digitalmars-d-learn mailing list