Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
September 19, 2020 Vibe.d | ||||
---|---|---|---|---|
| ||||
Hi, I am building a webapp using vibe.d which is working well on macOS and Linux. However, when I run it on windows I get: Program exited with code -1073741701 I created a new default project with: dub init test -t vibe.d and get the same error code when running it. Any suggestions what could be wrong? |
September 19, 2020 Re: Vibe.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack | On Saturday, 19 September 2020 at 13:13:56 UTC, Jack wrote:
> Hi,
>
> I am building a webapp using vibe.d which is working well on macOS and Linux. However, when I run it on windows I get:
> Program exited with code -1073741701
>
> I created a new default project with: dub init test -t vibe.d
> and get the same error code when running it.
>
> Any suggestions what could be wrong?
I managed to get it to work with ldc, still not sure why it isn't working with dmd.
|
September 19, 2020 Re: Vibe.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack | On Saturday, 19 September 2020 at 13:13:56 UTC, Jack wrote:
> Hi,
>
> I am building a webapp using vibe.d which is working well on macOS and Linux. However, when I run it on windows I get:
> Program exited with code -1073741701
>
> I created a new default project with: dub init test -t vibe.d
> and get the same error code when running it.
>
> Any suggestions what could be wrong?
Any code for us to test?
|
September 19, 2020 Re: Vibe.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack | On Saturday, 19 September 2020 at 13:31:35 UTC, Jack wrote:
> On Saturday, 19 September 2020 at 13:13:56 UTC, Jack wrote:
>> Hi,
>>
>> I am building a webapp using vibe.d which is working well on macOS and Linux. However, when I run it on windows I get:
>> Program exited with code -1073741701
>>
>> I created a new default project with: dub init test -t vibe.d
>> and get the same error code when running it.
>>
>> Any suggestions what could be wrong?
>
> I managed to get it to work with ldc, still not sure why it isn't working with dmd.
In case you have an older version of dub, dmd will build an x86 executable by default with OMF (Windows). Never versions of dub defaults to architecture x86_64 with COFF.
LDC builds only COFF for x86 and x86_64.
Kind regards
Andre
|
September 19, 2020 Re: Vibe.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Saturday, 19 September 2020 at 17:57:09 UTC, Andre Pany wrote:
> On Saturday, 19 September 2020 at 13:31:35 UTC, Jack wrote:
>> On Saturday, 19 September 2020 at 13:13:56 UTC, Jack wrote:
>>> Hi,
>>>
>>> I am building a webapp using vibe.d which is working well on macOS and Linux. However, when I run it on windows I get:
>>> Program exited with code -1073741701
>>>
>>> I created a new default project with: dub init test -t vibe.d
>>> and get the same error code when running it.
>>>
>>> Any suggestions what could be wrong?
>>
>> I managed to get it to work with ldc, still not sure why it isn't working with dmd.
>
> In case you have an older version of dub, dmd will build an x86 executable by default with OMF (Windows). Never versions of dub defaults to architecture x86_64 with COFF.
> LDC builds only COFF for x86 and x86_64.
>
> Kind regards
> Andre
Never => newer
|
September 05, 2021 Re: Vibe.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Saturday, 19 September 2020 at 17:57:09 UTC, Andre Pany wrote:
> In case you have an older version of dub, dmd will build an x86 executable by default with OMF (Windows). Never versions of dub defaults to architecture x86_64 with COFF.
> LDC builds only COFF for x86 and x86_64.
>
> Kind regards
> Andre
I'm getting the same error after newly installing on my laptop.
Not sure what to do to fix the issue.
|
September 05, 2021 Re: Vibe.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to HuskyNator | On Sunday, 5 September 2021 at 12:12:20 UTC, HuskyNator wrote:
> On Saturday, 19 September 2020 at 17:57:09 UTC, Andre Pany wrote:
>> In case you have an older version of dub, dmd will build an x86 executable by default with OMF (Windows). Never versions of dub defaults to architecture x86_64 with COFF.
>> LDC builds only COFF for x86 and x86_64.
>>
>> Kind regards
>> Andre
>
> I'm getting the same error after newly installing on my laptop.
> Not sure what to do to fix the issue.
Worked it out,
Had to do with my Visual Studio installation (I think?). The dmd installer was quite vague about this imo, only telling me to install VS, but not what part. Somehow got it to work now.
|
Copyright © 1999-2021 by the D Language Foundation