[vtkusers] Tcl wrapping for vtkMy (fwd)

Sylvain Jaume jaume at tele.ucl.ac.be
Wed Mar 13 14:54:40 EST 2002


Refering to my earlier question (see below), how can I get my classes
wrapped in Tcl? (Maybe Sebastien, you can have a quick look and tell
me what I did wrong...)

Thanks for any advice!
Sylvain

---------- Forwarded message ----------
Date: Mon, 11 Mar 2002 03:01:46 +0100 (MET)
From: Sylvain Jaume <jaume at tele.ucl.ac.be>
To: vtkusers at public.kitware.com
Subject: [vtkusers] Tcl wrapping for vtkMy

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

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list