Hi Toren,
the easiest way is to download from http://www.equi4.com/pub/tk/downloads.html
You should choose the right species from the table.
The left column is reserved for alpha / binary releases, so do not pick one of these.
Also do not choose the bottom part (TclSh)
In my case I downloaded the Windows UPX (this is important!) version 8.4.16.
The downloaded file is called tclkit-win32.upx.exe.
In order to use it properly you need to do the following:
1. rename the downloaded file to wish.exe
2. move the file to a directory which is in the search PATH for your OS (in Windows this would be in a directory which is in the environment variable PATH)
After doing that retry using it.
Good luck,
Arie
P.S.
Alternatively you could download and install ActiveState Tcl/Tk, but that's like shooting with a nuclear bomb at a bug ;-)
You can download it here
http://www.activestate.com/Products/activetcl/
Ok, not to sound like a total rube, but where is the easiest place to
get wish.exe? I was able to download and install wish85.exe, but it does
not appear to be the same.
I did use the setf for tcl85 but when I do the tktest I get
EVAL: undefined function LTKTEST
[Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION]
-----Original Message-----
From: ltk-user-bounces@common-lisp.net
[mailto:ltk-user-bounces@common-lisp.net] On Behalf Of Peter Herth
Sent: Thursday, December 27, 2007 6:22 AM
To: Talk about Ltk the Lisp Toolkit
Subject: Re: [ltk-user] Newbie Questions
This looks as if with-ltk is called, but it cannot start the Tk
subprocess. To use Ltk "out of the box", the program called "wish"
needs to be executable via your system path. To test, open a dos shell
and type "wish". If Tk is properly installed, it should start up.
Alternatively you can do
(setf ltk:*wish-pathname* "c:\program files\mywish.exe")
where you have to replace "c:\program files\mywish.exe" with the
correct path to where you installed "whish".
HTH,
Peter
On Dec 26, 2007 8:53 PM, Valone, Toren W. <TValone@dmv.ca.gov> wrote:
> Ok, I switched to the package, then found that I had to recode the
> function, when I ran it again I got this,
>
>
> Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file
> specified.
> [Condition of type SYSTEM::SIMPLE-OS-ERROR]
>
>
> -----Original Message-----
> From: ltk-user-bounces@common-lisp.net
> [mailto:ltk-user-bounces@common-lisp.net ] On Behalf Of Peter Herth
> Sent: Wednesday, December 26, 2007 11:40 AM
> To: Talk about Ltk the Lisp Toolkit
> Subject: Re: [ltk-user] Newbie Questions
>
> Hi,
>
> did you change into the ltk package before running the example, e.g.:
> (in-package :ltk) ?
> Peter
>
>
> On Dec 26, 2007 8:31 PM, Valone, Toren W. <TValone@dmv.ca.gov> wrote:
> >
> >
> >
> >
> > Ok, new to Emacs, LISP and LTK, trying to follow along with the LTK
> > tutorial, I am able to compile LTK and load it, but when I run the
> hello-l
> > example I get the following
> >
> >
> >
> > EVAL: undefined function WITH-LTK
> >
> > [Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION]
> >
> >
> >
> >
> >
> > The tutorial says I need TCL/TK , which I got the source for, but
how
> do I
> > compile them or make LISP aware of them?
> >
> >
> > _______________________________________________
> > ltk-user site list
> > ltk-user@common-lisp.net
> > http://common-lisp.net/mailman/listinfo/ltk-user
> >
> _______________________________________________
> ltk-user site list
> ltk-user@common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user
> _______________________________________________
> ltk-user site list
> ltk-user@common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user
>
_______________________________________________
ltk-user site list
ltk-user@common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user
_______________________________________________
ltk-user site list
ltk-user@common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user