dwt and DWT
keinfarbton at googlemail.com
Fri Feb 8 13:59:02 PST 2008
> Hey Frank , I have downloaded both versions by the look of it and am trying to compile an example of grid layout to have a look . I get an error message as so :-
> [tytower at linuxbox import]$ dmd ./test_gridlayout.d
> /usr/bin/../src/phobos/std/c/windows/windows.d(12): static assert is false
> Obviously looking for Windows but I am on a Linux machine.
> So this is where the examples are . Can I transfer the ".d" files to the Linux version and run them from there or have I git something all screwed up?
First of all make sure which dwt you use. See my posting "DWT and all
If you want to use "dwt", it works on windows/phobos only. Then i am not
your man. The "test_gridlayout.d" seems to be taken from this project.
Because of that it also has dependencies to windows and phobos.
If you want to try the port I am working on, look for the projects
dwt-win/dwt-linux. But they are both in very early stage. If this is
your very first contact with D, the project is probably not mature
enough to be useful for you.
Nevertheless, if you want to give it a try you need these:
1.) dmd 1.025 (not 1.026 nor 2.x)
2.) install tango and check if the tango examples are working.
3.) you need a build tool, not only the bare compiler. I use 'dsss'
(v0.75) for all the stuff. Check if you can build tango examples with dsss.
4.) Checkout the sources with mercurial (hg clone/pull/update) dwt-win
or dwt-linux and the dwt-samples
5.) in dwt-samples you can run "dsss build
I hope this helps.
More information about the Digitalmars-d-dwt