[Starkit] [NEWBIE] New Problem
tclkit at techscribe.com
tclkit at techscribe.com
Thu Jun 3 22:13:20 CEST 2004
Hi.
Thanks to Brett and after reviewing the fractal.kit example as well as sdx.kit
itself, to determine how multiple packages are managed in a vfs file, I
installed the itcl32 and iwidgets4.0.1 packages in a directory called test.vfs,
while mirroring the file structure of sdx.vfs. (I also tried this with
iwidgets3.0.1 package that ships with itcl32).
My new problem is that iwidgets.tcl requires Itk 3.2 and while attempting to
load itk.tcl I get the following error:
Couldn't load library "C:/Tclkit/teset.vfs/lib/itk3.2/itk.tcl": invalid argument
while executing.
Background:
main.tcl in test.vfs requires app-test
app-test contains a file called test.tcl.
test.tcl contains the line
package require Iwidgets 4.0.1
Iwidgets requires Itcl 3.2 and Itk 3.2
Initially Tclkit complained that it couldn't find itk32. I noticed that the
pkgIndex files that accompany Tclkit use the filename format <filename>.tcl,
whereas the pkgIndex that accompanies the itcl32 distribution uses the format
<filename>.<version-number>. Thus the required Itk 3.2 evaluated to the filename
itk32 instead of evaluating to the filename itk.tcl. I modified the pkgIndex
files for the iwidgets and itcl32 distribution to adhere to what appears to be
the Tclkit convention, namely using <filename>.tcl instead of
<filename>.<version-number>. (But the required Itcl 3.2 did not generate an
error, even the pkgIndex file also used the <filename>.<version-number> format!...?)
In any event, I'm getting the "invalid argument while executing" error for Itk
3.2, and I have no clue what is causing it.
I get the same invalid argument error, even after
- removing all lines following the "require Iwidgets 4.0.1" from test.tcl;
- removing all lines following "require Itk 3.2" from iwidgets.tcl;
- removing all lines (except for the commented out lines in the top of the file
describing its contents) from the file itk.tcl.
So, where is the "invalid argument while executing" error -- that appears to
prevent itk.tcl from being successfully loaded -- coming from, when there's
practically nothing left to execute?
TIA,
Joseph
-------------------------------------------------
Mail sent from: 24.126.78.239
More information about the Starkit
mailing list