[vtkusers] Tcl wrapping for vtkMy

Sylvain Jaume jaume at tele.ucl.ac.be
Sun Mar 10 21:01:46 EST 2002


Hi,

Following the instructions in vtkMy/README, I compiled vtkMy and both
vtkmyEx1 & vtkmyEx2 works fine. But 'vtk vtkmyEx1.tcl' returns:

::vtk::load_component: vtkmyCommonTCL could not be found.
[...]
The TCLLIBPATH current value is:
/home/jaume/VTK/Wrapping/Tcl:/home/jaume/VTKMY/Wrapping/Tcl
[...]

I set VTKMY_WRAP_TCL:BOOL=ON in CMakeCache.txt.

I run Red Hat 7.2. The .bashrc variables related to VTKMY read:

export VTKMY_SOURCE_DIR=/home/jaume/VTKMY
export VTKMY_BINARY_DIR=/home/jaume/VTKMYBIN
export PATH="$VTKMY_BINARY_DIR/bin:$PATH"
export LD_LIBRARY_PATH="$VTKMY_BINARY_DIR/lib:$LD_LIBRARY_PATH"
export
TCLLIBPATH="$VTK_SOURCE_DIR/Wrapping/Tcl:$VTKMY_SOURCE_DIR/Wrapping/Tcl"

vtk VTK/Examples/Tutorial/Step1/Tcl/Cone.tcl works fine and
% package require vtk
returns 4.0

%package require vtkmy
returns again
::vtk::load_component: vtkmyCommonTCL could not be found.
can't find package vtkmycommon


Any hint would be appreciated!
Sylvain




More information about the vtkusers mailing list