Need Help on Compiling DWT2 in XP
keinfarbton at googlemail.com
Wed Apr 1 04:12:23 PDT 2009
Sam Hu schrieb:
> Hi ,I am going to compiling DWT2 +tango 0998+rake.I have done below steps:
> 1.Download Tango0998+DMD1.041
> 2.Download dmc from:
> Up to now the D folder is as below:
> 3.Download and install ruby to C:\ from http://www.ruby-lang.org/en/downloads/
> The version I chose is Ruby 1.8.6-one-click-installer
> Now I have C:\ruby
> 4.Install rake:
> In folder C:\ruby\bin:
>> gem install --remote rake
> Now in C:\ruby\bin I have rake.bat and rake.cmd;
> 5.Install TortoiseHg0.72 to c:\program files\ from below link:
> 6.In c:\dmd\import there are two subfolders:C:\dmd\std and c:\dmd\tango. Create a new folder c:\dmd\import\dwt2;
> 7.Right from c:\dmd\import right click mouse tortoiseHG->Clone a Respository:
> Source Path:http://hg.dsource.org/projects/dwt2
> Destination Path:c:\dmd\import\dwt2
> Leave the other options default.
> OK.All above have been done without any error and HG proceeded completed and successfully.
> What should I do in next step?Please guide me.Thanks.
I have made changes to dwt2 to work it like the following receipt.
Download the tango release and dwt2 to
Then add dmd to the PATH
C:\Project> set PATH=%PATH%;c:\Project\tango-0.99.8-bin-win32-dmd.1.041\bin
Verify the dmd version
Digital Mars D Compiler v1.041
Then build the libs and snippets
C:\Project\dwt2> rake clean base swt
C:\Project\dwt2> rake swtsnippets
(Cancel with Ctrl+C)
To build your own application...
Add the 'imp' dir to your import search path:
Add the 'lib' dir to your library search path:
Add all needed libraries to the commandline:
More information about the Digitalmars-d-dwt