August 09, 2019 Re: Dub version | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Friday, 9 August 2019 at 14:15:36 UTC, Andre Pany wrote:
> On Friday, 9 August 2019 at 13:59:51 UTC, GreatSam4sure wrote:
>> On Friday, 9 August 2019 at 13:01:51 UTC, Andre Pany wrote:
>>> On Friday, 9 August 2019 at 12:10:21 UTC, GreatSam4sure wrote:
>>>> On Friday, 9 August 2019 at 09:01:54 UTC, Andre Pany wrote:
>>>>> [...]
>>>>
>>>>
>>>>
>>>>
>>>> I am at lost here. Before I can run my D project using dub.1.11.0 executable install on my system but after uninstalling and install dmd 2.087.1 cannot run my project using dub from the project root folder. In windows 10 it shows this app can't run on your PC. To find a version for your PC, check with the software publisher. The same how's for the com and rdmd
>>>>
>>>>
>>>> What is the way out.
>>>
>>> With recent version of Dub the default architecture changed from x86 to x86_64. You can force the old architecture by using argument -a x86.
>>>
>>> Does this help?
>>>
>>> Kind regards
>>> Andre
>>
>>
>> No luck sir. I can only run D app by installing dub 1.11.0.
>>
>> Just to be clear, are you saying once DMD is installed I don't need to install dub again or add it as a dependency to app?
>> Pls clarify.
>
> The package manager Dub is included within the DMD archive / DMD setup executable.
>
> Does you have the problem also for a simple hello world sub project?
>
> Please execute:
>
> dub init sample1
> cd sample1
> dub build -a x86
> sample1.exe
>
> Kind regards
> Andre
Yes, from command prompt
Dub init sample1
Click enter
Windows 10 says this app can't run on your PC
This problem is common with Windows 10
It may be due to their smart screen app.
But all packages in dub registering has be updated to:
Dub add arsd- official
So what is the solution to this problem
|
August 09, 2019 Re: Dub version | ||||
---|---|---|---|---|
| ||||
Posted in reply to GreatSam4sure | On Friday, 9 August 2019 at 15:41:08 UTC, GreatSam4sure wrote:
> On Friday, 9 August 2019 at 14:15:36 UTC, Andre Pany wrote:
>> On Friday, 9 August 2019 at 13:59:51 UTC, GreatSam4sure wrote:
>>> On Friday, 9 August 2019 at 13:01:51 UTC, Andre Pany wrote:
>>>> On Friday, 9 August 2019 at 12:10:21 UTC, GreatSam4sure wrote:
>>>>> [...]
>>>>
>>>> With recent version of Dub the default architecture changed from x86 to x86_64. You can force the old architecture by using argument -a x86.
>>>>
>>>> Does this help?
>>>>
>>>> Kind regards
>>>> Andre
>>>
>>>
>>> No luck sir. I can only run D app by installing dub 1.11.0.
>>>
>>> Just to be clear, are you saying once DMD is installed I don't need to install dub again or add it as a dependency to app?
>>> Pls clarify.
>>
>> The package manager Dub is included within the DMD archive / DMD setup executable.
>>
>> Does you have the problem also for a simple hello world sub project?
>>
>> Please execute:
>>
>> dub init sample1
>> cd sample1
>> dub build -a x86
>> sample1.exe
>>
>> Kind regards
>> Andre
>
>
>
> Yes, from command prompt
>
> Dub init sample1
> Click enter
>
> Windows 10 says this app can't run on your PC
>
> This problem is common with Windows 10
>
> It may be due to their smart screen app.
>
>
> But all packages in dub registering has be updated to:
>
> Dub add arsd- official
>
>
> So what is the solution to this problem
I misunderstood you, I thought the resulting binary is causing the issue, but actually dub is causing the issue.
If I remember correctly, in the blocking dialog is an option to execute Dub anyway. Could you try it?
But the dialog should not be shown at all.
Kind regards
Andre
|
Copyright © 1999-2021 by the D Language Foundation