Re: tkd not linking

2015-09-21 Thread karabuta via Digitalmars-d-learn
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:

Just incase, I have install version 8.6 of the Tcl/Tk libraries


Did 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.




Thanks Adam, sudo apt-get install tk-dev worked. Hurray! lets 
start GUI programming in D!


Re: tkd not linking

2015-09-15 Thread Gary Willoughby via Digitalmars-d-learn

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 -ltk


It looks like the libraries are not installed or not installed 
properly.





Re: tkd not linking

2015-09-15 Thread Adam D. Ruppe via Digitalmars-d-learn

On Tuesday, 15 September 2015 at 17:37:40 UTC, karabuta wrote:

Just incase, I have install version 8.6 of the Tcl/Tk libraries


Did 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.