May 04, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kyle Hunter | On Sunday, 4 May 2014 at 21:10:28 UTC, Kyle Hunter wrote: > On Sunday, 4 May 2014 at 20:47:58 UTC, Nick Sabalausky wrote: >> On 5/4/2014 3:55 PM, Gary Willoughby wrote: >>> On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote: >>>> Just updated to latest DUB release (v0.9.21), but now I'm getting this: >>> >>> That's building with the config 'library'. If you want to run the >>> example build with: >>> >>> dub --config=example >>> >>> in the root of the tkd repo. >> >> No, I did indeed use "--config=example", see my previous post. Even with your exact line above: >> >> dub --config=example >> >> I still get the same result. > > Same here. I thought this sounded familiar, i raised this a few weeks ago with Sonke on the dub forums (still waiting for a reply.) http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/1339/#post-1453 I can't reproduce it now. I've tested tkd successfully on Windows 7 64bit Windows XP 32bit Ubuntu 12.04 Mac OSX 10.8 I'll look into it further tomorrow. |
May 04, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Sunday, 4 May 2014 at 18:39:19 UTC, Gary Willoughby wrote:
> Strange, works fine here.
Works perfectly fine for me.
ArchLinux x86_64
DMD 2.065
tk 8.6
tcl 8.6
Switching TkTheme to "clam" makes the design much more better than the default one. I quickly tried tile-qt ( and tile-gtk ) but both have some problems, I will try again as this binding seems very cool and lightweight and easy-to-use.
|
May 05, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | > > dub build --force --config=example
> x11: ["x11"]
> tcltk: ["tcltk", "x11"]
> tkd: ["tkd", "tcltk", "x11"]
> Building x11 configuration "library", build type debug.
> Running dmd...
> Building tcltk configuration "library", build type debug.
> Running dmd...
> ..\..\Users\Nick\AppData\Roaming\dub\packages\tcltk-8.6.1\.dub\build\library-debug-windows-x86-dmd-C9527B3CFF40A7D16A18C4624EF00288\tcltk.lib: Error: multiple definition of tcl_38_307: _Tcl_Main and Tcl_Main: _Tcl_Main
> FAIL ..\..\Users\Nick\AppData\Roaming\dub\packages\tcltk-8.6.1\.dub\build\library-debug-windows-x86-dmd-C9527B3CFF40A7D16A18C4624EF00288 tcltk staticLibrary
> Error executing command build: DMD compile run failed with exit code 1
Same here.
It has built the tcl86.lib and tk86.lib ,but need the tcltk.lib.
So Error..
|
May 05, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote: > -Jsource/example/media: Use "stringImportPaths" to specify > import paths in a compiler independent way > Error: multiple definition of tcl_38_307: _Tcl_Main and Tcl_Main: _Tcl_Main These errors should now be fixed in Tkd v1.0.1-beta. |
May 05, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Monday, 5 May 2014 at 08:58:34 UTC, Gary Willoughby wrote:
> On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote:
>
>> -Jsource/example/media: Use "stringImportPaths" to specify
>> import paths in a compiler independent way
>
>> Error: multiple definition of tcl_38_307: _Tcl_Main and Tcl_Main: _Tcl_Main
>
> These errors should now be fixed in Tkd v1.0.1-beta.
I don't have the time to use this right now, but I will need a
working _portable_ GUI framework in a near-future project, so I
just want to say that this is awesome.
BTW, this is probably not a good idea in near future but it I
think it would be good to have a builtin Tkinter equivalent for
D. Even if it's not completely phobos-like (Tkinter is not
entirely pythonic either), having a basic GUI framework ready to
go without any extra setup is a huge advantage.
|
May 05, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On 5/5/2014 4:58 AM, Gary Willoughby wrote: > On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote: > >> -Jsource/example/media: Use "stringImportPaths" to specify >> import paths in a compiler independent way > >> Error: multiple definition of tcl_38_307: _Tcl_Main and Tcl_Main: >> _Tcl_Main > > These errors should now be fixed in Tkd v1.0.1-beta. Excellent. I just grabbed the latest, copied the dlls and setup scripts, and it works now. I did find & file a couple issues though: https://github.com/nomad-software/tcltk/issues/4 https://github.com/nomad-software/tkd/issues/11 Also, regarding DUB directory copying for the tcl init scripts, the docs mention a "postBuildCommands" which I would think could be used for that purpose (or for pretty much anything else). |
May 05, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On Monday, 5 May 2014 at 16:17:34 UTC, Nick Sabalausky wrote: > Excellent. I just grabbed the latest, copied the dlls and setup scripts, and it works now. > > I did find & file a couple issues though: > https://github.com/nomad-software/tcltk/issues/4 > https://github.com/nomad-software/tkd/issues/11 Ok, i'll take a look at these. > Also, regarding DUB directory copying for the tcl init scripts, the docs mention a "postBuildCommands" which I would think could be used for that purpose (or for pretty much anything else). Yeah that's the plan but i need a nice method of referring to the output directory when used as a dependency. I've been through this with Sönke and he reckons the next version of dub will be able to do this. See: https://github.com/rejectedsoftware/dub/issues/299 |
May 06, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | Am I right understand that before using Tkd I should install Tcl/Tk ? I tried to build simple project with dub and got error that system do not have tcl86.DLL |
May 06, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Tuesday, 6 May 2014 at 07:33:55 UTC, Suliman wrote:
> Am I right understand that before using Tkd I should install Tcl/Tk ?
> I tried to build simple project with dub and got error that system do not have tcl86.DLL
Yes. All is explained in the dependencies section in the readme text.
|
May 06, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On Monday, 5 May 2014 at 16:17:34 UTC, Nick Sabalausky wrote:
> I did find & file a couple issues though:
> https://github.com/nomad-software/tcltk/issues/4
> https://github.com/nomad-software/tkd/issues/11
Fixed.
|
Copyright © 1999-2021 by the D Language Foundation