July 02, 2018
On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
> On Monday, July 02, 2018 18:26:27 Chris M. via Digitalmars-d-learn wrote:
>> On Monday, 2 July 2018 at 17:33:20 UTC, Bauss wrote:
>> > On Monday, 2 July 2018 at 12:53:19 UTC, Chris M. wrote:
>> >> [...]
>> >
>> > If I don't get around it tonight then I will tomorrow and see if I can find a solution for you or perhaps figure out what exactly goes wrong.
>> >
>> > Kinda half important for me too to fix something like this since I have a framework relying on vibe.d
>>
>> Thanks for checking, I have no idea what else to try (short of getting MS Build Tools somehow, but I unfortunately can't in my current environment so I'm stuck with DMC + DMD)
>
> How are you compiling for 64-bit without the MS toolchain?
>
> - Jonathan M Davis

Downloaded the DMD and DMC zip files, extracted and added to PATH. Been working for the most part so far.
July 02, 2018
On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
> On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
>> On Monday, July 02, 2018 18:26:27 Chris M. via Digitalmars-d-learn wrote:
>>> On Monday, 2 July 2018 at 17:33:20 UTC, Bauss wrote:
>>> > [...]
>>>
>>> Thanks for checking, I have no idea what else to try (short of getting MS Build Tools somehow, but I unfortunately can't in my current environment so I'm stuck with DMC + DMD)
>>
>> How are you compiling for 64-bit without the MS toolchain?
>>
>> - Jonathan M Davis
>
> Downloaded the DMD and DMC zip files, extracted and added to PATH. Been working for the most part so far.

I thought for 64-bit the bundled lld linker and mingw runtime are used?
https://dlang.org/changelog/2.079.0.html#lld_mingw
So in fact you shouldn't even need DMC?
July 02, 2018
On Monday, July 02, 2018 21:20:26 Seb via Digitalmars-d-learn wrote:
> On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
> > On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
> >> On Monday, July 02, 2018 18:26:27 Chris M. via
> >>
> >> Digitalmars-d-learn wrote:
> >>> On Monday, 2 July 2018 at 17:33:20 UTC, Bauss wrote:
> >>> > [...]
> >>>
> >>> Thanks for checking, I have no idea what else to try (short of getting MS Build Tools somehow, but I unfortunately can't in my current environment so I'm stuck with DMC + DMD)
> >>
> >> How are you compiling for 64-bit without the MS toolchain?
> >>
> >> - Jonathan M Davis
> >
> > Downloaded the DMD and DMC zip files, extracted and added to PATH. Been working for the most part so far.
>
> I thought for 64-bit the bundled lld linker and mingw runtime are
> used?
> https://dlang.org/changelog/2.079.0.html#lld_mingw
> So in fact you shouldn't even need DMC?

Well, that's a nice improvement. I didn't realize that that was the case now (though I rarely do anything with Windows).

- Jonathan M Davis

July 02, 2018
On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote:
> On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
>> On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
>>> On Monday, July 02, 2018 18:26:27 Chris M. via Digitalmars-d-learn wrote:
>>>> On Monday, 2 July 2018 at 17:33:20 UTC, Bauss wrote:
>>>> > [...]
>>>>
>>>> Thanks for checking, I have no idea what else to try (short of getting MS Build Tools somehow, but I unfortunately can't in my current environment so I'm stuck with DMC + DMD)
>>>
>>> How are you compiling for 64-bit without the MS toolchain?
>>>
>>> - Jonathan M Davis
>>
>> Downloaded the DMD and DMC zip files, extracted and added to PATH. Been working for the most part so far.
>
> I thought for 64-bit the bundled lld linker and mingw runtime are used?
> https://dlang.org/changelog/2.079.0.html#lld_mingw
> So in fact you shouldn't even need DMC?

Ah, okay. I'm mostly on Linux so I generally miss anything Windows-related. I was using the following link and figured I'd install DMC as well.

https://dlang.org/dmd-windows.html#requirements
July 03, 2018
On Monday, 2 July 2018 at 23:00:08 UTC, Chris M. wrote:
> On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote:

>> I thought for 64-bit the bundled lld linker and mingw runtime are used?
>> https://dlang.org/changelog/2.079.0.html#lld_mingw
>> So in fact you shouldn't even need DMC?
>
> Ah, okay. I'm mostly on Linux so I generally miss anything Windows-related. I was using the following link and figured I'd install DMC as well.
>

So your linker errors show that you're using lld anyway. I'm on my Linux laptop at a Starbucks atm, but I'm pretty sure that the Windows distribution does not ship with any system libraries that are compatible with lld. It only ships with a small set of OMF link libraries that Walter got permission to distribute a couple decades ago and that only work with the DM linker. So anything that relies on the Windows APIs is not going to build without something to link to.

You'll probably have no choice but to install the build tools.

July 03, 2018
On Monday, 2 July 2018 at 23:00:08 UTC, Chris M. wrote:
> On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote:
>> On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
>>> On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
>>>> [...]
>>>
>>> Downloaded the DMD and DMC zip files, extracted and added to PATH. Been working for the most part so far.
>>
>> I thought for 64-bit the bundled lld linker and mingw runtime are used?
>> https://dlang.org/changelog/2.079.0.html#lld_mingw
>> So in fact you shouldn't even need DMC?
>
> Ah, okay. I'm mostly on Linux so I generally miss anything Windows-related. I was using the following link and figured I'd install DMC as well.
>
> https://dlang.org/dmd-windows.html#requirements

BTW have you tried using LDC?
They might ship a newer version of LLD.
July 03, 2018
On Tuesday, 3 July 2018 at 05:36:12 UTC, Seb wrote:
> On Monday, 2 July 2018 at 23:00:08 UTC, Chris M. wrote:
>> On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote:
>>> On Monday, 2 July 2018 at 19:24:38 UTC, Chris M. wrote:
>>>> On Monday, 2 July 2018 at 18:48:16 UTC, Jonathan M Davis wrote:
>>>>> [...]
>>>>
>>>> Downloaded the DMD and DMC zip files, extracted and added to PATH. Been working for the most part so far.
>>>
>>> I thought for 64-bit the bundled lld linker and mingw runtime are used?
>>> https://dlang.org/changelog/2.079.0.html#lld_mingw
>>> So in fact you shouldn't even need DMC?
>>
>> Ah, okay. I'm mostly on Linux so I generally miss anything Windows-related. I was using the following link and figured I'd install DMC as well.
>>
>> https://dlang.org/dmd-windows.html#requirements
>
> BTW have you tried using LDC?
> They might ship a newer version of LLD.

After hashing it out with some people on the Discord, I'm fairly certain we narrowed it down to the 64-bit user32.lib from mingw missing these functions.

https://issues.dlang.org/show_bug.cgi?id=19051
July 03, 2018
On Tuesday, 3 July 2018 at 13:32:21 UTC, Chris M. wrote:

>
> After hashing it out with some people on the Discord, I'm fairly certain we narrowed it down to the 64-bit user32.lib from mingw missing these functions.
>
> https://issues.dlang.org/show_bug.cgi?id=19051

So are the mingw libs only shipped in the zip file? I don't have them with the installer version of 2.080.0, nor lld for that matter. But I see them in the zip for the 2.081.0 RC.
July 03, 2018
On Tuesday, 3 July 2018 at 14:38:53 UTC, Mike Parker wrote:
> On Tuesday, 3 July 2018 at 13:32:21 UTC, Chris M. wrote:
>
>>
>> After hashing it out with some people on the Discord, I'm fairly certain we narrowed it down to the 64-bit user32.lib from mingw missing these functions.
>>
>> https://issues.dlang.org/show_bug.cgi?id=19051
>
> So are the mingw libs only shipped in the zip file? I don't have them with the installer version of 2.080.0, nor lld for that matter. But I see them in the zip for the 2.081.0 RC.

Seems to be an option in the 2.080.1 installer (which I ignored before since I wasn't entirely sure how things worked on Windows), not sure about previous versions though.
July 03, 2018
On Tuesday, 3 July 2018 at 15:10:34 UTC, Chris M. wrote:
> On Tuesday, 3 July 2018 at 14:38:53 UTC, Mike Parker wrote:
>> On Tuesday, 3 July 2018 at 13:32:21 UTC, Chris M. wrote:
>>
>>>
>>> After hashing it out with some people on the Discord, I'm fairly certain we narrowed it down to the 64-bit user32.lib from mingw missing these functions.
>>>
>>> https://issues.dlang.org/show_bug.cgi?id=19051
>>
>> So are the mingw libs only shipped in the zip file? I don't have them with the installer version of 2.080.0, nor lld for that matter. But I see them in the zip for the 2.081.0 RC.
>
> Seems to be an option in the 2.080.1 installer (which I ignored before since I wasn't entirely sure how things worked on Windows), not sure about previous versions though.

BTW in case someone has a bit of time to look at the MinGW headers. They are built as part of the `build-mingw-libs` branch at the installer repo:

https://github.com/dlang/installer/blob/build-mingw-libs/windows/build_mingw.bat

This is automated via AppVeyor:

https://github.com/dlang/installer/blob/build-mingw-libs/appveyor.yml

And it's added to the zip here:

https://github.com/dlang/installer/blob/master/create_dmd_release/build_all.d#L505

I think the installer detects whether Visual Studio is installed or nor, but I'm not sure on this (I don't use Windows).