On Wednesday, 7 January 2015 at 10:05:24 UTC, Mike James wrote:
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote:

DlangUI project is alive and under active development.


Recent changes:
- new controls: ScrollWidget, TreeView, ComboBox, ...
- new dialogs: FileOpenDialog, MessageBox
- a lot of bugfixes
- performance improvements in software renderer
- killer app: new example - Tetris game :)

Try Demos:
   # download sources
   git clone https://github.com/buggins/dlangui.git
   cd dlangui
   # example 1 - demo for most of widgets
   dub run dlangui:example1 --build=release
   # tetris - demo for game development
   dub run dlangui:tetris --build=release

Hi Vadim,

When I follow the building and the running of the demo app using DUB I get the following error:

C:\D\dmd2\src>git clone https://github.com/buggins/dlangui.git
Cloning into 'dlangui'...
remote: Counting objects: 5700, done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 5700 (delta 21), reused 0 (delta 0)
Receiving objects: 100% (5700/5700), 5.33 MiB | 1.51 MiB/s, done.
Resolving deltas: 100% (3333/3333), done.

C:\D\dmd2\src>cd dlangui

src\dlangui\core\files.d(114): Error: module windows is in file 'win32\windows.d' which cannot be read
import path[0] = examples\example1\src
import path[1] = ..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-ft-master\source import path[2] = ..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-util-1.9.0\source import path[3] = ..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-sdl2-master\source import path[4] = ..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-fi-master\source
import path[5] = src
import path[6] = ..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master import path[7] = ..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-gl3-master\source
import path[8] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[9] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
FAIL examples\example1\.dub\build\application-release-windows-x86-dmd_2066-A150B7CA4D2F564C56024EE584D1E13A\ example1 ex
Error executing command run: dmd failed with exit code 1.


What am I doing wrong?

Regards, Mike.


I've reproduced this issue with dub 0.9.22
It looks like some bug in DUB - it cannot find source files from referenced package. It worked for me for newer dub - built from mainstream branch near middle of December.

Submitted fix - list of win32 files into each subproject (example1, tetris).

Now it should build ok with dub 0.9.22 on Windows

Reply via email to