dwtlib 3.0.0
The dub package for dwt
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
dwtlib - DUB package for the D Widget Toolkit
DWT is a library for creating cross-platform GUI applications. It's a port of the SWT Java library from Eclipse.
dwtlib is the dub package repository for DWT.
Status
WORKING and tested on:
- Windows 10 Home 32-bit and 64-bit
- Ubuntu 16.04 LTS 32-bit and 64-bit
- DMD32 D Compiler v2.074.0, DUB version 1.3.0
DWT cloned from Github is NOT compatable with DMD v2.074.0 as-is
There is some issue with DMD v2.074.0 writing *.di files
DWT imports the *.di files and fails
dwtlib imports the *.d source files versus the *.di files
Building (refer to doc/dlang-install)
Install DMD (includes DUB)
Browse to http://dlang.org/ Click to download the lastest version (e.g. 2.074.0) Open with Software install (Ubuntu) Install
Check Version
$ dmd --version DMD32 D Compiler v2.074.0 $ dub --version DUB version 1.3.0
Quick Test
$ rdmd examples/console/hello.d
Fetch the DUB package
$ dub fetch dwtlib
Get the linux libraries (no extra libs required for Windows):
$ cd /home/<USER>/.dub/packages/dwtlib-3.0.0/dwtlib/tools/get-libs $ bash ./get-libs.sh
(It's not necessary to get the libs before building the dwt lib)
Build the DWT static libraries:
$ cd /home/<USER>/.dub/packages/dwtlib-3.0.0/dwtlib $ dub fetch dwtlib Ubuntu 32-bit and 64-bit: $ bash ./build_dwtlib.bat Windows 32-bit : $ rdmd build_dwtlib.bat Windows 64-bit : $ rdmd build_dwtlib.bat_m64 $ cd ../examples Ubuntu : $ bash ./example.sh Windows: $ example.bat
Add a dependency to your app's dub.json or dub.sdl, see the examples.
dependency "dwtlib" version=">=3.0.0"
Snippets
Run Snippets with rdub in the examples folder:
Ubuntu : $ bash ./snippets_demo.sh
Windows: $ snippets_demo.bat
- Registered by JamesD
- 3.0.0 released 7 years ago
- jasc2v8/dwtlib
- github.com/jasc2v8/dwtlib
- EPL-1.0
- Dependencies:
- none
- Versions:
-
3.2.5 2018-Feb-17 3.2.4 2018-Feb-16 3.2.3 2018-Feb-16 3.2.1 2018-Feb-16 3.1.1 2017-May-23 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
3 downloads this month
-
435 downloads total
-
- Score:
- 0.1
- Short URL:
- dwtlib.dub.pm