This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Cygwin Tcl/Tk: Itk configbody error
- From: "Jerzy Witkowski" <jwi at pl dot ibm dot com>
- To: insight at sources dot redhat dot com
- Date: Fri, 18 Apr 2003 10:51:10 +0200
- Subject: Cygwin Tcl/Tk: Itk configbody error
Hello,
Since Itcl and Itk lib*.a libraries supplied in binary distribution did not
work in Cygwin, I built *.dll libraries from sources and they work. But
recently I encountered an error trying to run the following program:
package require Itcl
itcl::class A {
public variable b ""
public variable c ""
}
itcl::configbody A::b {}
package require Itk
itcl::configbody A::c {}
The error is:
class "A" not found in context "::"
while executing
"itcl::configbody A::c {}
"
(file "err.tcl" line 8)
It seems that Itk changes something in configbody definition (configbody
for variable b executed correctly).
The problem is serious, because it makes the whole Iwidgets library
unusable. Please help.
Best regards,
Jerzy Witkowski