DWT2 getting started problems

Frank Benoit keinfarbton at googlemail.com
Fri May 8 13:35:35 PDT 2009

Kristoffer schrieb:
> 1. Do I need to install the "dwt-win-importlibs.zip" for DWT2?

No they are part of the repository. See:
When build swt they are copied to the dwt2/lib directory

> 2. What about the "-L+tango-user-dmd.lib" in sc.ini under DFLAGS?
Yes, you need it. Or depending how you build your application.

> 3. Can I use DSSS to build apps or is rake the only one supported?
Yes I think. I am not tried yet. Just give the "imp" folder with the
"-I" option and all the libs for linking.

> 4. Do I need a rake file to make a program?
I use it to build the the dwt2 tree. You are free for your application.

> 5. I have successfully built "rake base swt", but "rake all" fails in
> the "org.eclipse.text" module.
Hm, i am working on bigger rework at the moment. I will come back to
those error later. But if you want to use swt, only "base" and "swt" is
needed. For JFace you need "base swt equinox core jface".

Nevertheless, thanks for reporting.

> 6. The "rake swtsnippets" gives the following warning on all the snippets:
> org.eclipse.swt.win32.win32.x86
>  Warning 2: File Not Found org.eclipse.swt.win32.win32.x86

A reported bug in the linker. See

> 7. Building snippet [Snippet130a] gives following error:
I will look into those.

I posted in the poseidon forum, how to set up a own app. See
Again i use a rake build process. Maybe not the most elegant thing. I am
sure the rakefile can be made better, this is just a shrinked copy of
the dwt2 rakefile.

Thanks for you interest in dwt.

More information about the Digitalmars-d-dwt mailing list