Install DWT2 using DMD and Tango
Fabian
contact-fab at freenet.de
Thu Jun 9 04:23:31 PDT 2011
On 08.06.2011 23:57, Jesse Phillips wrote:
> Andrew Wiley Wrote:
>
>> On Wed, Jun 8, 2011 at 11:54 AM, Fabian<contact-fab at freenet.de> wrote:
>>
>>> Hi
>>> I'm trying to install DWT2 to create GUI applications with D.
>>> I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and
>>> Rake. But when I try to build the packages I get the following error
>>> message:
>>>
>>> http://imageshack.us/photo/my-images/62/dwt2error.png/
>>>
>>> Is there anybody who can help me?
>>> I believe it's possible to use DWT2 and Tango - isn't it?
>>>
>>
>> It's called DWT2 because it's a port of the existing DWT code to D2. Tango
>> is a replacement standard library for D1, so no, they can't really be used
>> together.
>> I'm not sure about the state of DWT1, but it should be fairly stable, even
>> if it hasn't been worked on recently.
>
> No, DWT2 is a strategy change to how DWT is structured. The change was to use the structure of SWT instead of renaming and moving everything. This was to make porting easier. It also combined dwt-linux, dwt-windows dwt-mac under one repository.
>
> Fabian,
>
> I think you should check that Tango is properly installed. From the repo:
>
> The sc.ini/dmd.conf of the DMD in the PATH needs to have all
> necessary parameters to build a application with the std lib.
>
> E.g. for Tango it can look like this:
> [Environment]
> LINKCMD=%@P%\link.exe
> LIB="%@P%\..\..\..\..\tango\lib"
> DFLAGS="-I%@P%\..\..\..\..\tango" -version=Tango -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd.lib
>
My sc.ini looks like this:
[Version]
version=7.51 Build 020
[Environment]
LIB="%@P%\..\lib";
LINKCMD=%@P%\link.exe
DFLAGS="-I%@P%\..\import" "-I%@P%\..\import\tango\core\vendor"
-version=Tango -defaultlib=tango.lib -debuglib=tango.lib -L+tango.lib
More information about the Digitalmars-d-learn
mailing list