Tkd - Cross platform GUI toolkit based on Tcl/Tk

Nick Sabalausky via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun May 4 11:19:48 PDT 2014


On 5/4/2014 12:44 PM, Nick Sabalausky wrote:
> On 5/4/2014 12:18 PM, Gary Willoughby wrote:
>> Tkd v1.0.0-beta
>>
>> https://github.com/nomad-software/tkd
>> http://code.dlang.org/packages/tkd
>>
>
> Looks great, anxious to give this a try!
>
> BTW, on the main readme page, the links into the API docs don't appear
> to be working (although it might be a GitHub issue).
>

I'm getting compile errors building the example (Win32 DMD 2.065.0):

 > dub build --config=example
## Warning for package tkd, configuration example ##

The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass 
custom flags
to the compiler, or use one of the suggestions below:

-Jsource/example/media: Use "stringImportPaths" to specify import paths 
in a compiler independent way

Checking dependencies in 'C:\DevProj\tkd'
Building configuration "example", build type debug
Running dmd (compile)...
source\tkd\interpreter\tcl.d(189): Error: not a property name.toStringz
source\tkd\interpreter\tcl.d(189): Error: not a property value.to!string
source\tkd\interpreter\tcl.d(189): Error: not a property to(value).toStringz
source\tkd\widget\common\value.d(45): Error: template instance 
tkd.interpreter.tcl.Tcl.setVariable!string error instantiating
source\example\example.d(36):        instantiated from here: 
setValue!(Entry)
source\example\example.d(36): Error: template instance 
tkd.widget.entry.Entry.Value!(_valueVariable, string).setValue!(Entry) 
error instantiating
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, 
_param_1, _param_2, _param_3).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property 
Tcl_GetStringResult(this._interpreter).to!string
source\tkd\dialog\colordialog.d(97): Error: template instance 
tkd.interpreter.tcl.Tcl.eval!(string, string, string) error instantiating
source\example\example.d(51):        instantiated from here: 
show!(ColorDialog)
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, 
_param_1, _param_2).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property 
Tcl_GetStringResult(this._interpreter).to!string
source\tkd\dialog\colordialog.d(101): Error: template instance 
tkd.interpreter.tcl.Tcl.eval!(string, string) error instantiating
source\example\example.d(51):        instantiated from here: 
show!(ColorDialog)
source\tkd\interpreter\tcl.d(130): Error: not a property 
Tcl_GetStringResult(this._interpreter).to!string
source\tkd\interpreter\tcl.d(132): Error: not a property result.to!string
source\tkd\dialog\colordialog.d(104): Error: template instance 
tkd.interpreter.tcl.Tcl.getResult!string error instantiating
source\example\example.d(51):        instantiated from here: 
show!(ColorDialog)
source\tkd\dialog\colordialog.d(104): Error: not a property 
this._tk.getResult
source\example\example.d(51): Error: template instance 
tkd.dialog.colordialog.ColorDialog.show!(ColorDialog) error instantiating
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, 
_param_1, _param_2, _param_3, _param_4).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property 
Tcl_GetStringResult(this._interpreter).to!string
source\tkd\dialog\directorydialog.d(111): Error: template instance 
tkd.interpreter.tcl.Tcl.eval!(string, string, string, bool) error 
instantiating
source\example\example.d(65):        instantiated from here: 
show!(DirectoryDialog)
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, 
_param_1, _param_2, _param_3).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property 
Tcl_GetStringResult(this._interpreter).to!string
Error: Build command failed with exit code 1

Run 'dub help' for usage information.



More information about the Digitalmars-d-announce mailing list