[vtkusers] Using vtk with Wish85

Chris Volpe ARA/SED cvolpe at ara.com
Thu Mar 24 14:03:34 EDT 2011


Thanks, David. I had tried it without the "vtk" at the end originally, and added it out of desperation. Neither worked. But, on a hunch, I thought the space I had in the build directory path ("VTK 5.6") was problematic. That turns out to have been the problem, or rather, the first problem. I renamed the directory, and rebuilt from scratch (after two failed attempts to rebuild from less-than-scratch, one of which included deleting everything CMake-related in the build dir, to no avail), and now I get the following:

(system32) 1 % package require vtk
couldn't change working directory to "D:/Volpe/VTK5.6/bin/RelWithDebInfo": no such file or directory
attempt to provide package vtkCommonTCL 5.6 failed: no version of package vtkCommonTCL provided
attempt to provide package vtkcommon 5.6 failed: no version of package vtkcommon provided
attempt to provide package vtk 5.6 failed: no version of package vtk provided
(system32) 2 %

Note that I did a Debug build, and it's looking for RelWithDebInfo. So now I'm building RelWithDebInfo, though I'm wondering if the wrapping is hard-coded to use that build. It seems that it should work with whatever build I'm using. Is there an environment variable somewhere that I'm missing?

thanks,

-Chris


> -----Original Message-----
> From: David Gobbi [mailto:david.gobbi at gmail.com]
> Sent: Wednesday, March 23, 2011 5:20 PM
> To: Chris Volpe ARA/SED
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] Using vtk with Wish85
> 
> Hi Chris,
> 
> It works for me on WinXP for wish85 and for tclsh85.
> 
> SET TCLLIBPATH={E:/Kitware/VTK/Wrapping/Tcl}
> 
> There is no "vtk" at the end of the path.
> 
>  - David
> 
> 
> On Wed, Mar 23, 2011 at 2:24 PM, Chris Volpe ARA/SED <cvolpe at ara.com>
> wrote:
> > I've built vtk from source on WinXP and I have the vtk.exe executable
> that
> > incorporates Tcl/Tk. Nevertheless, I'd like to be able to use the
> Wish85.exe
> > shell for running vtk scripts. I have my TCLLIBPATH environment
> variable set
> > to the Wrapping/Tcl/vtk folder within my build folder, and my vtk
> DLLs are
> > in my PATH. Yet, when I type "package require vtk", it keeps saying
> "can't
> > find package vtk". I presume I'm missing something simple. I've tried
> > multiple variants of TCLLIBPATH (forward/backward slashes, with or
> without
> > the slash on the end) to no avail. Do others still use Wish85?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Chris
> >
> > --
> > Christopher R. Volpe,
> > Ph.D.
> Email:
> > cvolpe at ara.com
> >
> > Senior Scientist, Information Exploitation Systems             Main
> Desk:
> > 919-582-3300
> >
> > Applied Research Associates,
> > Inc                                                     Direct: 919-
> 582-3380
> >
> > 8537 Six Forks Rd., Suite
> > 6000                                                            Fax :
> > 919-582-3301
> >
> > Raleigh, NC 27615                                         Web:
> > http://www.ara.com/offices/NC.htm



More information about the vtkusers mailing list