digitalmars.D.learn - tkd not linking
- karabuta (25/25) Sep 15 2015 I have tried several times to compile tkd using dub but I keep
- Adam D. Ruppe (8/11) Sep 15 2015 Did you get the development version?
- karabuta (4/15) Sep 21 2015 Thanks Adam, sudo apt-get install tk-dev worked. Hurray! lets
- Gary Willoughby (3/8) Sep 15 2015 It looks like the libraries are not installed or not installed
I have tried several times to compile tkd using dub but I keep getting this message: Linking... /usr/bin/ld: cannot find -ltcl /usr/bin/ld: cannot find -ltk collect2: error: ld returned 1 exit status --- errorlevel 1 FAIL .dub/build/application-debug-linux.posix-x86-dmd_2068-4989C12BA4599 5625492BF92EAC638A/ tkdapps executable Error executing command run: dmd failed with exit code 1. I use Ubuntu 14.04 x32. Here is the dub.json file content { "name": "tkdapps", "description": "A minimal D application.", "copyright": "Copyright © 2015, karabuta", "authors": ["karabuta"], "dependencies": { "tcltk": "8.6.5", "tkd": "1.1.4" } } Just incase, I have install version 8.6 of the Tcl/Tk libraries What is the problem. And how is tcltk different from tkd in the first place?
Sep 15 2015
On Tuesday, 15 September 2015 at 17:37:40 UTC, karabuta wrote:Just incase, I have install version 8.6 of the Tcl/Tk librariesDid you get the development version? sudo apt-get install tk-dev or possibly sudo apt-get install tk8.6-dev should do it. I'm not actually sure if that's required for this (I've never used it) but it might be.What is the problem. And how is tcltk different from tkd in the first place?tkd is just a D wrapper for the library.
Sep 15 2015
On Tuesday, 15 September 2015 at 17:46:42 UTC, Adam D. Ruppe wrote:On Tuesday, 15 September 2015 at 17:37:40 UTC, karabuta wrote:Thanks Adam, sudo apt-get install tk-dev worked. Hurray! lets start GUI programming in D!Just incase, I have install version 8.6 of the Tcl/Tk librariesDid you get the development version? sudo apt-get install tk-dev or possibly sudo apt-get install tk8.6-dev should do it. I'm not actually sure if that's required for this (I've never used it) but it might be.What is the problem. And how is tcltk different from tkd in the first place?tkd is just a D wrapper for the library.
Sep 21 2015
On Tuesday, 15 September 2015 at 17:37:40 UTC, karabuta wrote:I have tried several times to compile tkd using dub but I keep getting this message: Linking... /usr/bin/ld: cannot find -ltcl /usr/bin/ld: cannot find -ltkIt looks like the libraries are not installed or not installed properly.
Sep 15 2015