Re: tkd - basic compilation problem

2015-07-02 Thread Gary Willoughby via Digitalmars-d-learn
On Wednesday, 1 July 2015 at 19:45:04 UTC, Paul wrote: I can't see how they answer the questions I've asked. Let me see. On Tuesday, 30 June 2015 at 12:58:21 UTC, Paul wrote: I downloaded the archive from https://github.com/nomad-software/tkd and files are same as in the git repo. Tcl/tk is

Re: tkd - basic compilation problem

2015-07-02 Thread Paul via Digitalmars-d-learn
On Thursday, 2 July 2015 at 17:41:45 UTC, Gary Willoughby wrote: This is exactly why you use dub, so you don't have to worry about all this! You're right, there's sufficient information there if using dub.

Re: tkd - basic compilation problem

2015-07-02 Thread Gary Willoughby via Digitalmars-d-learn
On Thursday, 2 July 2015 at 18:34:13 UTC, Paul wrote: On Thursday, 2 July 2015 at 17:41:45 UTC, Gary Willoughby wrote: This is exactly why you use dub, so you don't have to worry about all this! You're right, there's sufficient information there if using dub. Please read that page again.

Re: tkd - basic compilation problem

2015-07-01 Thread Jordi Sayol via Digitalmars-d-learn
El 30/06/15 a les 16:28, Paul via Digitalmars-d-learn ha escrit: 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

Re: tkd - basic compilation problem

2015-07-01 Thread via Digitalmars-d-learn
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

Re: tkd - basic compilation problem

2015-07-01 Thread Paul via Digitalmars-d-learn
On Wednesday, 1 July 2015 at 09:38:05 UTC, Marc Schütz wrote: 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

Re: tkd - basic compilation problem

2015-07-01 Thread Paul via Digitalmars-d-learn
On Wednesday, 1 July 2015 at 17:43:11 UTC, Gary Willoughby wrote: On Tuesday, 30 June 2015 at 12:58:21 UTC, Paul wrote: ... I really don't understand posts like this when literally all information needed is in the README file: https://github.com/nomad-software/tkd Just read RTFM. I read

Re: tkd - basic compilation problem

2015-07-01 Thread Paul via Digitalmars-d-learn
On Wednesday, 1 July 2015 at 18:38:27 UTC, Jordi Sayol wrote: For shared linking against libphobos2.so and libtkd.so: $ dmd `pkg-config --cflags --libs tkd` -J/usr/share/libtkd-doc/example/media/ /usr/share/libtkd-doc/example/example.d For static linking against libphobos2.a and libtkd.a: $

Re: tkd - basic compilation problem

2015-07-01 Thread Gary Willoughby via Digitalmars-d-learn
On Tuesday, 30 June 2015 at 12:58:21 UTC, Paul wrote: ... I really don't understand posts like this when literally all information needed is in the README file: https://github.com/nomad-software/tkd Just read RTFM.

Re: tkd - basic compilation problem

2015-07-01 Thread Paul via Digitalmars-d-learn
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.

Re: tkd - basic compilation problem

2015-06-30 Thread Paul via Digitalmars-d-learn
On Tuesday, 30 June 2015 at 13:22:43 UTC, Paul wrote: On Tuesday, 30 June 2015 at 13:19:25 UTC, Marc Schütz wrote: If you don't want to use DUB, you need to download the other two packages from code.dlang.org and specifiy -I/path/to/tcltk -I/path/to/x11 -I/path/to/tkd in the DMD invocation.

Re: tkd - basic compilation problem

2015-06-30 Thread Paul via Digitalmars-d-learn
On Tuesday, 30 June 2015 at 13:19:25 UTC, Marc Schütz wrote: If you don't want to use DUB, you need to download the other two packages from code.dlang.org and specifiy -I/path/to/tcltk -I/path/to/x11 -I/path/to/tkd in the DMD invocation. Thank you, I'll try that.

Re: tkd - basic compilation problem

2015-06-30 Thread via Digitalmars-d-learn
If you don't want to use DUB, you need to download the other two packages from code.dlang.org and specifiy -I/path/to/tcltk -I/path/to/x11 -I/path/to/tkd in the DMD invocation.

tkd - basic compilation problem

2015-06-30 Thread Paul via Digitalmars-d-learn
I downloaded the archive from https://github.com/nomad-software/tkd and files are same as in the git repo. Tcl/tk is installed on this machine (test 'hello world' script works fine) but I get this error when compiling the example from the github page: tkd/interpreter/tcl.d(16): Error: module

Re: tkd - basic compilation problem

2015-06-30 Thread via Digitalmars-d-learn
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

Re: tkd - basic compilation problem

2015-06-30 Thread Alex Parrill via Digitalmars-d-learn
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

Re: tkd - basic compilation problem

2015-06-30 Thread via Digitalmars-d-learn
On Tuesday, 30 June 2015 at 12:58:21 UTC, Paul wrote: I downloaded the archive from https://github.com/nomad-software/tkd and files are same as in the git repo. Tcl/tk is installed on this machine (test 'hello world' script works fine) but I get this error when compiling the example from the

Re: tkd - basic compilation problem

2015-06-30 Thread Paul via Digitalmars-d-learn
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?