On Friday, 13 February 2015 at 10:00:33 UTC, Chris wrote:
On Thursday, 12 February 2015 at 14:16:49 UTC, Vadim Lopatin wrote:
On Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:
On Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin Got an error message after cloning and running "dub run"


Compiling using dmd...
Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA2DE13262C4DBFEB2E69/ dlangide executable
Error executing command run: dmd failed with exit code 1.

I used dmd 2.066.1

Btw, have you thought of integrating the version manager dvm somehow. I find it extremely useful, especially when upgrading my code to a new version of dmd.

I'm really looking forward to using this IDE for my D projects one day.

Following works for me:

dub fetch dlangui
dub run dlangui:helloworld
dub run dlangui:example1
dub run dlangui:tetris

I see no errors.
DMD is v2.066.0 and DUB is 0.9.22

That works for me too, but the error I got was from this:

git clone https://github.com/buggins/dlangide.git
cd dlangide
dub run

Building dlangide 0.2.1 configuration "application", build type debug.
Compiling using dmd...
Error: cannot read file ../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA2DE13262C4DBFEB2E69/ dlangide executable
Error executing command run: dmd failed with exit code 1.

(dmd 2.066.0)

Looks like DUB issue. It selects dlangui:helloworld instead if dlangui

git clone https://github.com/buggins/dlangide.git
cd dlangide
dub run

It's working for me.

$ dub run
WARNING: A deprecated branch based version specification is used for the dependency dlangui. Please use numbered version s instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branc
h instead.
Building dlib ~master configuration "library", build type debug.
Running dmd...
Target derelict-util 1.9.1 is up to date. Use --force to rebuild.
Target derelict-ft 1.0.2 is up to date. Use --force to rebuild.
Target derelict-sdl2 1.9.2 is up to date. Use --force to rebuild.
Target derelict-gl3 1.0.12 is up to date. Use --force to rebuild.
Building dlangui ~master configuration "library", build type debug.
Running dmd...
Building dlangide 0.2.3 configuration "application", build type debug.
Compiling using dmd...
Linking...
Copying files for dlangui...
Running .\bin\dlangide.exe

Try
dub upgrade --force-remove

As well, check your DUB version.
0.9.22 should work ok.

Reply via email to