Thread overview |
---|
January 17, 2019 December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
hi friends I'm trying to run/build the vibe.d tutorial on Windows. When I run the following: dub init tut -t vibe.d cd tut dub I get this error: [optlink-error.png](https://postimg.cc/gwTB6y0G) I tried adding "subConfigurations": {"vibe-d": "win32"} to my dub.json, but that didn't seem to change anything. |
January 17, 2019 Re: December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
Posted in reply to siavash | On Thursday, 17 January 2019 at 09:17:32 UTC, siavash wrote:
> hi friends
> I'm trying to run/build the vibe.d tutorial on Windows. When I run the following:
> dub init tut -t vibe.d
> cd tut
> dub
> I get this error: [optlink-error.png](https://postimg.cc/gwTB6y0G)
> I tried adding
> "subConfigurations": {"vibe-d": "win32"}
> to my dub.json, but that didn't seem to change anything.
Use "-a=x86_mscoff" also
|
January 17, 2019 Re: December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bauss | On Thursday, 17 January 2019 at 09:32:36 UTC, bauss wrote: > On Thursday, 17 January 2019 at 09:17:32 UTC, siavash wrote: >> hi friends >> I'm trying to run/build the vibe.d tutorial on Windows. When I run the following: >> dub init tut -t vibe.d >> cd tut >> dub >> I get this error: [optlink-error.png](https://postimg.cc/gwTB6y0G) >> I tried adding >> "subConfigurations": {"vibe-d": "win32"} >> to my dub.json, but that didn't seem to change anything. > > Use "-a=x86_mscoff" also Yup, Vibe.d doesn't compile with OPTLINK [1] which is why we should really change the defaults. At least for dub. [1] https://github.com/vibe-d/vibe.d/issues/2243 |
January 17, 2019 Re: December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Thursday, 17 January 2019 at 09:37:06 UTC, Seb wrote: > On Thursday, 17 January 2019 at 09:32:36 UTC, bauss wrote: >> On Thursday, 17 January 2019 at 09:17:32 UTC, siavash wrote: >>> hi friends >>> I'm trying to run/build the vibe.d tutorial on Windows. When I run the following: >>> dub init tut -t vibe.d >>> cd tut >>> dub >>> I get this error: [optlink-error.png](https://postimg.cc/gwTB6y0G) >>> I tried adding >>> "subConfigurations": {"vibe-d": "win32"} >>> to my dub.json, but that didn't seem to change anything. >> >> Use "-a=x86_mscoff" also > > Yup, Vibe.d doesn't compile with OPTLINK [1] which is why we should really change the defaults. At least for dub. > > > > [1] https://github.com/vibe-d/vibe.d/issues/2243 Argh I wanted to share this link [2], it looks like there are tons of issues about OptLink in the Vibe.d issue tracker.... [2] https://github.com/vibe-d/vibe.d/issues/1908 |
January 17, 2019 Re: December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Thursday, 17 January 2019 at 09:38:37 UTC, Seb wrote:
> On Thursday, 17 January 2019 at 09:37:06 UTC, Seb wrote:
>> On Thursday, 17 January 2019 at 09:32:36 UTC, bauss wrote:
>>> On Thursday, 17 January 2019 at 09:17:32 UTC, siavash wrote:
>>>> [...]
>>>
>>> Use "-a=x86_mscoff" also
>>
>> Yup, Vibe.d doesn't compile with OPTLINK [1] which is why we should really change the defaults. At least for dub.
>>
>>
>>
>> [1] https://github.com/vibe-d/vibe.d/issues/2243
>
> Argh I wanted to share this link [2], it looks like there are tons of issues about OptLink in the Vibe.d issue tracker....
>
>
> [2] https://github.com/vibe-d/vibe.d/issues/1908
Yep. I'm pretty sure I also made an issue 1-2 years ago about it.
|
January 18, 2019 Re: December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On 2019-01-17 10:37, Seb wrote: > Yup, Vibe.d doesn't compile with OPTLINK [1] which is why we should really change the defaults. At least for dub. The annoying thing is also if you do set the "-m32mscoff" flag in the Dub file, you'll get a warning from Dub to use the Dub flag "--arch" instead. -- /Jacob Carlborg |
January 20, 2019 Re: December 17 Running vibe.d tutorial on Windows? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Thursday, 17 January 2019 at 09:37:06 UTC, Seb wrote:
> On Thursday, 17 January 2019 at 09:32:36 UTC, bauss wrote:
>> On Thursday, 17 January 2019 at 09:17:32 UTC, siavash wrote:
>>> hi friends
>>> I'm trying to run/build the vibe.d tutorial on Windows. When I run the following:
>>> dub init tut -t vibe.d
>>> cd tut
>>> dub
>>> I get this error: [optlink-error.png](https://postimg.cc/gwTB6y0G)
>>> I tried adding
>>> "subConfigurations": {"vibe-d": "win32"}
>>> to my dub.json, but that didn't seem to change anything.
>>
>> Use "-a=x86_mscoff" also
>
> Yup, Vibe.d doesn't compile with OPTLINK [1] which is why we should really change the defaults. At least for dub.
>
>
>
> [1] https://github.com/vibe-d/vibe.d/issues/2243
It's why Optlink should be tossed in the trash bin where it belongs. Some mutant 20 year old x86 assembly "translated" to C hybrid that isn't being maintained any longer and is only introducing limitations into D's Windows implementation (even for -m32mscoff/-m64 where it isn't required) to circumvent Optlink's bugs.
|
Copyright © 1999-2021 by the D Language Foundation