digitalmars.D.dwt - How to install DWT
- Carlos (4/4) May 01 2013 I followed the instructions here :
- user (17/17) May 01 2013 DWT is SWT port to D. So almost all the api/docs on SWT will also
- Jacob Carlborg (6/10) May 01 2013 Just copy the library to /usr/local/lib or similar. Copy the .di files
- Carlos (4/12) May 02 2013 ~/dwt/imp/
- Jacob Carlborg (6/9) May 02 2013 Then use ~/dwt/imp. It doesn't really matter where you place it. Just
I followed the instructions here : https://github.com/d-widget-toolkit/dwt#building-1 Now how do I install it inside Ubuntu ? Also some books on learning DWT or online tutorials.
May 01 2013
DWT is SWT port to D. So almost all the api/docs on SWT will also work with D. I usualy just type "SWT examples" or "SWT use ComboBox" in google, then port it to D. If there are any differences, I just open the source or DDoc to compare the D version with the java version. Regarding the installation, DWT is a library so after building it, it creates a *.lib file which can be used just as any other library files. Also the git downloads the source files which can be used for importing in the code. If you just type "dmd" it shows the command line options for specifying the library and include folders. Other way is to edit the SC.ini (comes with DMD) file and specify them in it. I do most of my work in windows and I can give more details if you want. I am not 100% sure for ubuntu, probably ubuntu experts will reply. good luck
May 01 2013
On 2013-05-01 22:57, Carlos wrote:I followed the instructions here : https://github.com/d-widget-toolkit/dwt#building-1See what "user" posted earlier.Now how do I install it inside Ubuntu ? Also some books on learning DWT or online tutorials.Just copy the library to /usr/local/lib or similar. Copy the .di files to /usr/include/d or somewhere you can access it. -- /Jacob Carlborg
May 01 2013
On Thursday, 2 May 2013 at 06:24:58 UTC, Jacob Carlborg wrote:On 2013-05-01 22:57, Carlos wrote:~/dwt/imp/ is full of fubfolders with .di files in. I don't have a usr/inclulde/c folder so I created it.I followed the instructions here : https://github.com/d-widget-toolkit/dwt#building-1See what "user" posted earlier.Now how do I install it inside Ubuntu ? Also some books on learning DWT or online tutorials.Just copy the library to /usr/local/lib or similar. Copy the .di files to /usr/include/d or somewhere you can access it.
May 02 2013
On 2013-05-03 01:41, Carlos wrote:~/dwt/imp/ is full of fubfolders with .di files in. I don't have a usr/inclulde/c folder so I created it.Then use ~/dwt/imp. It doesn't really matter where you place it. Just add it to the command line when compiling: dmd main.d -I~/dwt/imp/<subfolder> -- /Jacob Carlborg
May 02 2013