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-4989C12BA459945625492BF92EAC638A/ 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?