www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to run the dub bundle with dmd

reply greatsam4sure <greatsam4sure gmail.com> writes:
I came across the problem recently. I have dub 1.11.0 install on 
my windows 10 core i7 but does not support the command "dub add 
package name" since all the packages in dub package register now 
use this command. I cannot find window binary for the recent 
version of dub

I have uninstalled the dub 1.11.0 on my machine, I have to use 
the one bundled with DMD 2.087.1. If I run dub -version, windows 
10 throw an error that says " this app can run on this machine". 
I cannot also install DLS. This same error. I get this error from 
dlang related app such as dub,rdmd, Dls, etc.


I will appreciate any help
Aug 10 2019
next sibling parent reply Dukc <ajieskola gmail.com> writes:
On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure wrote:
 I came across the problem recently. I have dub 1.11.0 install 
 on my windows 10 core i7 but does not support the command "dub 
 add package name" since all the packages in dub package 
 register now use this command. I cannot find window binary for 
 the recent version of dub
What did you precisely write on the console, and what was the output?
 I have uninstalled the dub 1.11.0 on my machine, I have to use 
 the one bundled with DMD 2.087.1. If I run dub -version, 
 windows 10 throw an error that says " this app can run on this 
 machine".
That means that either you installed wrong dub (linux version for example), or the executable file is corrupt. Download a new one.
Aug 10 2019
parent GreatSam4sure <greatsam4sure gmail.com> writes:
On Saturday, 10 August 2019 at 13:30:39 UTC, Dukc wrote:
 On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure 
 wrote:
 I came across the problem recently. I have dub 1.11.0 install 
 on my windows 10 core i7 but does not support the command "dub 
 add package name" since all the packages in dub package 
 register now use this command. I cannot find window binary for 
 the recent version of dub
What did you precisely write on the console, and what was the output?
 I have uninstalled the dub 1.11.0 on my machine, I have to use 
 the one bundled with DMD 2.087.1. If I run dub -version, 
 windows 10 throw an error that says " this app can run on this 
 machine".
That means that either you installed wrong dub (Linux version for example), or the executable file is corrupt. Download a new one.
I am talking of the dub that is bundled with DMD 2.087.1 dmd is working fine but I can't use it dub
Aug 10 2019
prev sibling parent reply Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure wrote:
 I came across the problem recently. I have dub 1.11.0 install 
 on my windows 10 core i7 but does not support the command "dub 
 add package name" since all the packages in dub package 
 register now use this command. I cannot find window binary for 
 the recent version of dub

 I have uninstalled the dub 1.11.0 on my machine, I have to use 
 the one bundled with DMD 2.087.1. If I run dub -version, 
 windows 10 throw an error that says " this app can run on this 
 machine". I cannot also install DLS. This same error. I get 
 this error from dlang related app such as dub,rdmd, Dls, etc.


 I will appreciate any help
Can you make a screenshot of the popup? Kind regards Andre
Aug 10 2019
parent reply greatsam4sure <greatsam4sure gmail.com> writes:
On Saturday, 10 August 2019 at 13:46:23 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure 
 wrote:
 I came across the problem recently. I have dub 1.11.0 install 
 on my windows 10 core i7 but does not support the command "dub 
 add package name" since all the packages in dub package 
 register now use this command. I cannot find window binary for 
 the recent version of dub

 I have uninstalled the dub 1.11.0 on my machine, I have to use 
 the one bundled with DMD 2.087.1. If I run dub -version, 
 windows 10 throw an error that says " this app can run on this 
 machine". I cannot also install DLS. This same error. I get 
 this error from dlang related app such as dub,rdmd, Dls, etc.


 I will appreciate any help
Can you make a screenshot of the popup? Kind regards Andre
I have make a screenshot of the popup but I don't know to post here. Is there away to post a pix here
Aug 10 2019
next sibling parent Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 10 August 2019 at 14:06:11 UTC, greatsam4sure wrote:
 On Saturday, 10 August 2019 at 13:46:23 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure 
 wrote:
 [...]
Can you make a screenshot of the popup? Kind regards Andre
I have make a screenshot of the popup but I don't know to post here. Is there away to post a pix here
Please use a free service and paste the link here. This is the first link I found on Google https://imgbb.com/ Kind regards Andre
Aug 10 2019
prev sibling parent reply Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 10 August 2019 at 14:06:11 UTC, greatsam4sure wrote:
 On Saturday, 10 August 2019 at 13:46:23 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure 
 wrote:
 [...]
Can you make a screenshot of the popup? Kind regards Andre
I have make a screenshot of the popup but I don't know to post here. Is there away to post a pix here
Could you also please check wheter the dub executable is "signed". Maybe this was forgotten in the recent version and now causing the issue. Kind regards Andre
Aug 10 2019
next sibling parent reply greatsam4sure <greatsam4sure gmail.com> writes:
On Saturday, 10 August 2019 at 15:17:56 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 14:06:11 UTC, greatsam4sure 
 wrote:
 On Saturday, 10 August 2019 at 13:46:23 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure 
 wrote:
 [...]
Can you make a screenshot of the popup? Kind regards Andre
I have make a screenshot of the popup but I don't know to post here. Is there away to post a pix here
Could you also please check wheter the dub executable is "signed". Maybe this was forgotten in the recent version and now causing the issue. Kind regards Andre
thanks, below is the link to the screenshot https://ibb.co/CJLNQ6t
Aug 10 2019
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
This is a crazy question but is your Windows install 64bit?
Aug 10 2019
parent reply greatsam4sure <greatsam4sure gmail.com> writes:
On Saturday, 10 August 2019 at 15:42:39 UTC, rikki cattermole 
wrote:
 This is a crazy question but is your Windows install 64bit?
yes. See the spec below https://ibb.co/M1TwY7W
Aug 10 2019
parent reply Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 10 August 2019 at 16:44:48 UTC, greatsam4sure wrote:
 On Saturday, 10 August 2019 at 15:42:39 UTC, rikki cattermole 
 wrote:
 This is a crazy question but is your Windows install 64bit?
yes. See the spec below https://ibb.co/M1TwY7W
I am currently assuming it is not a general problem. Do you have a virus scanner on your system? You might also try instead of DMD try LDC https://github.com/ldc-developers/ldc/releases/download/v1.16.0/ldc2-1.16.0-windows-x64.7z Does the issue occur here too? Kind regards Andre
Aug 11 2019
parent GreatSam4sure <greatsam4sure gmail.com> writes:
On Sunday, 11 August 2019 at 10:04:47 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 16:44:48 UTC, greatsam4sure 
 wrote:
 On Saturday, 10 August 2019 at 15:42:39 UTC, rikki cattermole 
 wrote:
 This is a crazy question but is your Windows install 64bit?
yes. See the spec below https://ibb.co/M1TwY7W
I am currently assuming it is not a general problem. Do you have a virus scanner on your system? You might also try instead of DMD try LDC https://github.com/ldc-developers/ldc/releases/download/v1.16.0/ldc2-1.16.0-windows-x64.7z Does the issue occur here too? Kind regards Andre
The problem is solved after I reset my window but I lost all installed app. I have to start again. I am still installing some of them
Aug 12 2019
prev sibling parent greatsam4sure <greatsam4sure gmail.com> writes:
On Saturday, 10 August 2019 at 15:17:56 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 14:06:11 UTC, greatsam4sure 
 wrote:
 On Saturday, 10 August 2019 at 13:46:23 UTC, Andre Pany wrote:
 On Saturday, 10 August 2019 at 13:18:19 UTC, greatsam4sure 
 wrote:
 [...]
Can you make a screenshot of the popup? Kind regards Andre
I have make a screenshot of the popup but I don't know to post here. Is there away to post a pix here
Could you also please check wheter the dub executable is "signed". Maybe this was forgotten in the recent version and now causing the issue. Kind regards Andre
dub is digitally sign. It says name of signer: D language foundation I have download dub for GitHub but I cannot build it with dub or rdmd. It gives the same error on the screenshot
Aug 10 2019