This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]