Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199905011835.NAA10855@modi.xraylith.wisc.edu> X-Authentication-Warning: modi.xraylith.wisc.edu: localhost.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol To: Paul Thiessen cc: cygwin AT sourceware DOT cygnus DOT com, khan AT modi DOT xraylith DOT wisc DOT edu Subject: Re: Help! problems running tcl/tk apps In-reply-to: Your message of "Sat, 01 May 1999 10:55:00 EDT." Date: Sat, 01 May 1999 13:35:01 -0500 From: Mumit Khan Paul Thiessen writes: > I'm having trouble running C/C++ programs compiled and linked with > cygwin's tcl/tk libraries (I'm using the latest download of the full > cygwin release). The program compiles just fine, but when I run it I get > the errors (shown is the start of a long list of errors) shown below. I've > tried copying the libraries from cygwin's shared/{tcl,tk}8.0/ directories > into one of the directories mentioned below, but to no avail. Where is > this MouseWheel stuff coming from anyway? I don't see it in any of these > tk/tcl library files... Confused. > Any idea why this is happening or how I can set things up so that it > works properly? > Thanks, > > - Paul > > Errors: > > Can't find a usable tk.tcl in the following directories: > /usr/local/lib/tk8.0 /usr/local/lib/tk8.0 /usr/local/lib/tk8.0 > D:/tk8.0 D:/s > hare/tk8.0 D:/library D:/share/tk8.0 D:/tk8.0/library D:/library > /usr/local/tk8. > 0/library > > /usr/local/lib/tk8.0/tk.tcl: bad event type or keysym "MouseWheel" > bad event type or keysym "MouseWheel" > while executing > "bind Listbox { > %W yview scroll [expr - (%D / 120) * 4] units > }" > (file "/usr/local/lib/tk8.0/listbox.tcl" line 128) > invoked from within > Cygwin b20.1 comes with Tcl/Tk 8.0p2, but MouseWheel wasn't introduced till 8.0.4 (or was it 8.0.3?). You're out of luck, sorry. Of course, you could my 8.0.4 binaries instead (or use the diffs to build from sources). See http://www.xraylith.wisc.edu/~khan/software/tcl/ Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com