[vtkusers] Re: [CMake] tcl wrapping & LocalUserOptions.cmake
Brad King
brad.king at kitware.com
Mon Sep 27 15:23:39 EDT 2004
Dean Inglis wrote:
> Hi all,
>
> I posted to the vtk users group on this, but am
> not getting much luck with solving the pb, and maybe it
> is a cmake issue so here goes. Enclosed
> is my LocalUserOptions.cmake file that is copied
> by bash script to /Wrapping/Tcl in my VTK source tree
> after a first build pass. cmake is called
> in the binary build tree to pick up the LocalUserOptions
> and a 2nd build pass is done to recompile vtk.exe using
> a modified vtkTkAppInitConfigure.h. My VTK tcl scripts
> run fine but my local (out of source) tree containing
> my own vtk classes bomb with, for example:
>
> can't find package vtklocalgraphics
> while executing
> "package.orig require vtklocalgraphics
> ("eval" body line 1)
> invoked from within
> "eval package.orig $args"
> (procedure "package" line...
>
> TCLLIBPATH is correctly set. The static build is on Win2k,
> using Borland Builder 5 compiler. I'm not sure how to check
> /fix this. Any ideas (other than reverting back to shared build)?
What does "package require vtklocalgraphics"? The vtkLocal example is
setup so that one must write "package require vtkLocalGraphicsTCL" in
your case. Please reply on the VTK list as this belongs there.
-Brad
More information about the vtkusers
mailing list