Problem building SWTSnippets with D 2.074.x

Mike James foo at bar.com
Thu Nov 23 11:07:54 UTC 2017


On Thursday, 16 November 2017 at 02:36:34 UTC, JamesD wrote:
> On Wednesday, 15 November 2017 at 07:19:17 UTC, Mike Parker 
> wrote:
>> On Tuesday, 14 November 2017 at 11:33:44 UTC, Mike James wrote:
>>
>>>
>>> Has there been any progress on this matter? The snippets 
>>> still don't compile with the latest compiler...
>>>
>>
>> https://github.com/dlang/dmd/pull/7315
>
> Until the issue above is resolved, you can compile with dwtlib.
> dwtlib is a work around that uses the *.d source files instead 
> of the *.di files.
>
>      dwtlib - DUB package for the D Widget Toolkit
>      https://code.dlang.org/packages/dwtlib
>
> Also try gdub, a gui to test individual snippets (see screen 
> shot);
>
>      GDUB is a DWT GUI front end for DUB, a D language build 
> tool.
>      https://code.dlang.org/packages/gdub

Hi James,

When I tried this I got...

Build_dwtlib working in  : 
C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt
Build_dwtlib builiding   : Windows 64-bit
Build_dwtlib command line: rdmd build.d -m64 clean base swt
(in 
C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt)
Cleaning
Building dwt-base
workdir=>C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt\base\src
dmd.exe 
@C:\Users\mikej\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt\rsp
java\nonstandard\RuntimeTraits.d(61): Error: undefined identifier 
TypeInfo_Typedef

object.Exception at build.d(256): compile error
----------------
0x0040594A
0x00406E14
0x0041E56F
0x0041E533
0x0041E434
0x0041751F
0x75D78654 in BaseThreadInitThunk
0x77914A47 in RtlGetAppContainerNamedObjectPath
0x77914A17 in RtlGetAppContainerNamedObjectPath

object.Exception at tools\build_dwtlib.d(123): Build_dwtlib ERROR 
spawning cmd.
----------------
0x004029D0
0x00409ABF
0x00409A83
0x00409984
0x00406AE3
0x75D78654 in BaseThreadInitThunk
0x77914A47 in RtlGetAppContainerNamedObjectPath
0x77914A17 in RtlGetAppContainerNamedObjectPath
Press any key to continue . . .

Regards, Mike.


More information about the Digitalmars-d-dwt mailing list