No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] replacing libtcl
From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Thu, 12 Aug 2010 15:20:17 +0200
On 11.08.10 19:51, Kevin Van Workum wrote:
> I would like to include XOTcl functionality to my control script, but
> naively using "package require XOTcl" doesn't seem to work.
"package require XOTcl" is supposed to work. In xotcl 1.6.6,
i count
128 occurrences of "package require XOTcl".
If Tcl does not find the package, it might be the case that
you installed it to some
directory not on your auto_path or (TCLLIBPATH, etc.), or
that you are
using a Tcl distribution, not including it. After the
install you should have e.g.
/usr/local/lib/xotcl1.6.6/pkgIndex.tcl
/usr/local/lib/xotcl1.6.6/libxotcl1.6.6.so
/usr/local/lib/xotcl1.6.6/libxotclstub1.6.6.a
You can certainly initialize via C as well (using Xotcl_Init()),
but i would recommend the "package require" way.
best regards
-gustaf neumann
Date: Thu, 12 Aug 2010 15:20:17 +0200
On 11.08.10 19:51, Kevin Van Workum wrote:
> I would like to include XOTcl functionality to my control script, but
> naively using "package require XOTcl" doesn't seem to work.
"package require XOTcl" is supposed to work. In xotcl 1.6.6,
i count
128 occurrences of "package require XOTcl".
If Tcl does not find the package, it might be the case that
you installed it to some
directory not on your auto_path or (TCLLIBPATH, etc.), or
that you are
using a Tcl distribution, not including it. After the
install you should have e.g.
/usr/local/lib/xotcl1.6.6/pkgIndex.tcl
/usr/local/lib/xotcl1.6.6/libxotcl1.6.6.so
/usr/local/lib/xotcl1.6.6/libxotclstub1.6.6.a
You can certainly initialize via C as well (using Xotcl_Init()),
but i would recommend the "package require" way.
best regards
-gustaf neumann