Re: Linking not working properly Windows 11

2022-11-06 Thread bauss via Digitalmars-d-learn
On Sunday, 6 November 2022 at 03:59:55 UTC, ryuukk_ wrote: Manually editing / moving files is not recommended for Visual Studio installs The manual editing was not for visual studio but for dmd to set a different linker.

Re: Linking not working properly Windows 11

2022-11-06 Thread bauss via Digitalmars-d-learn
On Saturday, 5 November 2022 at 22:53:33 UTC, Hipreme wrote: On Saturday, 5 November 2022 at 19:19:09 UTC, bauss wrote: On Saturday, 5 November 2022 at 14:54:52 UTC, Hipreme wrote: [...] I have both VS 2019 and 2022, but only 2019 has c++ build tools etc. I assume that should be fine?

Re: Linking not working properly Windows 11

2022-11-05 Thread ryuukk_ via Digitalmars-d-learn
On Saturday, 5 November 2022 at 19:19:09 UTC, bauss wrote: On Saturday, 5 November 2022 at 14:54:52 UTC, Hipreme wrote: On Saturday, 5 November 2022 at 14:14:16 UTC, bauss wrote: On Saturday, 5 November 2022 at 13:42:08 UTC, rikki cattermole wrote: Try ldc, if that works then its just a

Re: Linking not working properly Windows 11

2022-11-05 Thread Hipreme via Digitalmars-d-learn
On Saturday, 5 November 2022 at 19:19:09 UTC, bauss wrote: On Saturday, 5 November 2022 at 14:54:52 UTC, Hipreme wrote: [...] I have both VS 2019 and 2022, but only 2019 has c++ build tools etc. I assume that should be fine? [...] You forgot to put \link.exe in the path

Re: Linking not working properly Windows 11

2022-11-05 Thread bauss via Digitalmars-d-learn
On Saturday, 5 November 2022 at 19:24:54 UTC, Imperatorn wrote: On Saturday, 5 November 2022 at 13:30:43 UTC, bauss wrote: Fresh install of DMD and when trying to use ex. std.file from Phobos I get the following linking error: (I can trigger different ones depending on modules imported etc.)

Re: Linking not working properly Windows 11

2022-11-05 Thread Imperatorn via Digitalmars-d-learn
On Saturday, 5 November 2022 at 13:30:43 UTC, bauss wrote: Fresh install of DMD and when trying to use ex. std.file from Phobos I get the following linking error: (I can trigger different ones depending on modules imported etc.) [...] Im also on Windows 10 and 11 and don't have any problems

Re: Linking not working properly Windows 11

2022-11-05 Thread bauss via Digitalmars-d-learn
On Saturday, 5 November 2022 at 14:54:52 UTC, Hipreme wrote: On Saturday, 5 November 2022 at 14:14:16 UTC, bauss wrote: On Saturday, 5 November 2022 at 13:42:08 UTC, rikki cattermole wrote: Try ldc, if that works then its just a missing library that needs to be linked against regarding MS CRT.

Re: Linking not working properly Windows 11

2022-11-05 Thread rikki cattermole via Digitalmars-d-learn
I've looked up three of those names, they are all deprecated. I'm wondering if Microsoft have removed them.

Re: Linking not working properly Windows 11

2022-11-05 Thread ryuukk_ via Digitalmars-d-learn
On Saturday, 5 November 2022 at 13:30:43 UTC, bauss wrote: Fresh install of DMD and when trying to use ex. std.file from Phobos I get the following linking error: (I can trigger different ones depending on modules imported etc.) ``` lld-link: error: undefined symbol: tzset ``` I assume it

Re: Linking not working properly Windows 11

2022-11-05 Thread Hipreme via Digitalmars-d-learn
On Saturday, 5 November 2022 at 14:14:16 UTC, bauss wrote: On Saturday, 5 November 2022 at 13:42:08 UTC, rikki cattermole wrote: Try ldc, if that works then its just a missing library that needs to be linked against regarding MS CRT. Using LDC doesn't seem to work either, it has similar

Re: Linking not working properly Windows 11

2022-11-05 Thread bauss via Digitalmars-d-learn
On Saturday, 5 November 2022 at 13:42:08 UTC, rikki cattermole wrote: Try ldc, if that works then its just a missing library that needs to be linked against regarding MS CRT. Using LDC doesn't seem to work either, it has similar linking problems. ``` lld-link: error: undefined symbol:

Re: Linking not working properly Windows 11

2022-11-05 Thread bauss via Digitalmars-d-learn
On Saturday, 5 November 2022 at 13:42:08 UTC, rikki cattermole wrote: Try ldc, if that works then its just a missing library that needs to be linked against regarding MS CRT. I will give it a try

Re: Linking not working properly Windows 11

2022-11-05 Thread rikki cattermole via Digitalmars-d-learn
Try ldc, if that works then its just a missing library that needs to be linked against regarding MS CRT.

Re: Linking not working properly Windows 11

2022-11-05 Thread bauss via Digitalmars-d-learn
On Saturday, 5 November 2022 at 13:30:43 UTC, bauss wrote: ``` lld-link: error: undefined symbol: tzset ``` I don't know if this is relevant, so I will just put it here just in case: ``` lld-link: error: undefined symbol: tzset referenced by

Linking not working properly Windows 11

2022-11-05 Thread bauss via Digitalmars-d-learn
Fresh install of DMD and when trying to use ex. std.file from Phobos I get the following linking error: (I can trigger different ones depending on modules imported etc.) ``` lld-link: error: undefined symbol: tzset ``` I assume it has something to do with the C runtime or something, but