DlangUI project update

Mike James via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jan 7 02:05:23 PST 2015


On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote:
> Hello!
>
> DlangUI project is alive and under active development.
>
> https://github.com/buggins/dlangui
>
> 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
>
> DlangUI is cross-platform GUI library written in D.
> Main features:
> - cross platform: uses SDL for linux/macos, Win32 API or SDL 
> for Windows
> - hardware acceleration: uses OpenGL for drawing when built 
> with version USE_OPENGL
> - easy to extend: since it's native D library, you can add your 
> own widgets and extend functionality
> - Unicode and internationalization support
> - easy to customize UI - look and feel can be changed using 
> themes and styles
> - API is a bit similar to Android - two phase layout, styles
>
> Screenshots (a bit outdated): 
> http://buggins.github.io/dlangui/screenshots.html
>
> See project page for details.
>
> I would like to get any feedback.
> Will be glad to see advises, bug reports, feature requests.
>
> Best regards,
>      Vadim

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

C:\D\dmd2\src\dlangui>dub run dlangui:example1 --build=release
Building package dlangui:example1 in 
C:\D\dmd2\src\dlangui\examples\example1\
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-ft. Please use numbered ver
sions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use 
a b
ranch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-sdl2. Please use numbered v
ersions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use a
  branch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-fi. Please use numbered ver
sions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use 
a b
ranch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency dlangui:dlanguilib. Please use numbe
red versions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to
use a branch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-gl3. Please use numbered ve
rsions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use a
branch instead.
Target derelict-util 1.9.0 is up to date. Use --force to rebuild.
Target derelict-ft ~master is up to date. Use --force to rebuild.
Target derelict-sdl2 ~master is up to date. Use --force to 
rebuild.
Target derelict-fi ~master is up to date. Use --force to rebuild.
Target dlib ~master is up to date. Use --force to rebuild.
Target derelict-gl3 ~master is up to date. Use --force to rebuild.
Building dlangui:dlanguilib 0.2.2+commit.2.g15226e8 configuration 
"library", build type release.
Running dmd...
Building dlangui:example1 0.2.2+commit.2.g15226e8 configuration 
"application", build type release.
Compiling using dmd...
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
ecutable
Error executing command run: dmd failed with exit code 1.


C:\D\dmd2\src\dlangui>


What am I doing wrong?

Regards, Mike.


More information about the Digitalmars-d-announce mailing list