tkd - basic compilation problem

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 1 02:38:04 PDT 2015


On Wednesday, 1 July 2015 at 07:37:48 UTC, Paul wrote:
> On Tuesday, 30 June 2015 at 16:06:41 UTC, Marc Schütz wrote:
>> On Tuesday, 30 June 2015 at 15:25:27 UTC, Alex Parrill wrote:
>>> On Tuesday, 30 June 2015 at 14:28:49 UTC, Paul wrote:
>>>> Using dub I get this during linking:
>>>>
>>>> Building tkd-test ~master configuration "application", build 
>>>> type debug.
>>>> Compiling using dmd...
>>>> Linking...
>>>> /usr/bin/ld: cannot find -ltcl
>>>> /usr/bin/ld: cannot find -ltk
>>>>
>>>> ...any suggestions please?
>>>
>>> You need to install the libraries. Ex `sudo apt-get install 
>>> libtcl8.5 libtk8.5`
>>
>> Or the corresponding -dev packages.
>
> Hmmm, I have libtcl8.6 and libtk8.6 installed already. The only 
> dev packages I see are tclcl and tclap - I can't find any libtk 
> -dev package.
>

Someone more familiar with Debian/Ubuntu than me may be able to 
help you here, sorry.

> I was hoping to keep a tight rein on what was required to be 
> installed to simplify deployment but its spiraling out of 
> control again LOL.

The -dev packages are only required during development 
(specifically at link time), the resulting binary only needs the 
normal packages installed.


More information about the Digitalmars-d-learn mailing list