October 02, 2020 Re: Trying to create a trivial 64 bit D Lang DLL on a Windows 10 machine and cant get past linking. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ferhat Kurtulmuş | 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
|
October 02, 2020 Re: Trying to create a trivial 64 bit D Lang DLL on a Windows 10 machine and cant get past linking. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Friday, 2 October 2020 at 08:33:25 UTC, Imperatorn wrote:
> 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:
>>>> [...]
>>>
>>> Yes, I've been doing that.
>>>
>>>> [...]
>>>
>>> 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
Haha. Yes my c compiler is also located at c:\c
|
October 02, 2020 Re: Trying to create a trivial 64 bit D Lang DLL on a Windows 10 machine and cant get past linking. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On 02/10/2020 9:33 PM, Imperatorn wrote: > Did you create a D-partition just for D. Pro You can mount directories as a drive on Windows. https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/subst |
Copyright © 1999-2021 by the D Language Foundation