<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT
face=Arial color=#0000ff> > </FONT></SPAN>Has anyone actually
tried this....I'm not having much luck with TclPro 1.4.1 and <SPAN
class=562295121-12122003><FONT face=Arial
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT
face=Arial color=#0000ff> > </FONT></SPAN>vtk 4.3.0 (8/19/2003
build). My simple script runs fine but the executable on WinXP <SPAN
class=562295121-12122003><FONT face=Arial
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT
face=Arial color=#0000ff> > </FONT></SPAN>can't find the vtk
package even on the same system. Any cookbook examples really<SPAN
class=562295121-12122003><FONT face=Arial
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=sans-serif><FONT size=2><SPAN class=562295121-12122003><FONT
face=Arial color=#0000ff> > </FONT></SPAN>appreciated. Thanks for
the lead Kevin! ....john</FONT></FONT> <BR><SPAN
class=562295121-12122003><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff size=2>I've
done it before, so its definitely possible. I don't know exactly
what problem you're having, but there are a few things that can hang you up
using the wrapper. If you're using VTK with shared libraries,
make sure that when you wrap your executable, you use the shared
library version of Tcl/Tk, or you won't be able to load new
libraries. Second, if you're wrapping the tcl files that provide the
vtk package, you can get hung up on the path. Depending on
how you specify the path to the package files, the wrapped
executable may search the local system, or the files wrapped into your
executable. I don't remember precisely how it decides one way or the
other, but the documentation spells it out pretty clearly. Same
goes for the Tcl and Tk library files (not the dll's the .tcl files in
TCL_LIBRARY and TK_LIBRARY). You can wrap those into
the executable, but you have to be careful how you specify the
path. If you do everything correctly, the only files that you should have
to ship are your executable, and the dll's for Tcl and VTK.</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff size=2>Sorry
that's probably not much help, but the few times I've done this, its been a
little touchy, and I found you just have to keep trying until it
works.</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff size=2>Good
luck,</FONT></SPAN></DIV>
<DIV><SPAN class=562295121-12122003><FONT face=Arial color=#0000ff
size=2>Kevin.</FONT></SPAN><SPAN
class=562295121-12122003> </SPAN></DIV></BODY></HTML>