[vtkusers] VTK4.0 and Tcl/Tk_8.0: Tcl Stubs under Cygwin

piotr.kozaczewski at power.alstom.com piotr.kozaczewski at power.alstom.com
Mon Oct 14 06:44:39 EDT 2002


Dear VTK Users.

I am trying to build TCL Wrapping under cygwin (VTK4.0, WinNT4.0, cygwin,
gcc 2.95.3-5, Tcl/Tk 8.0).
After building *.a libraries and vtk.exe, the vtk.exe has ca. 18 MB.
However, vtk.exe does not run, see messages below:

Administrator at TE_LAPTOP /cygdrive/c/VTK/Graphics/Testing/Tcl
$ echo $TCLLIBPATH
c:/VTK/Wrapping/Tcl

Administrator at TE_LAPTOP /cygdrive/c/VTK/Graphics/Testing/Tcl
$ /cygdrive/c/VTK/bin/vtk disk.tcl
::vtk::load_component: vtkCommonTCL could not be found.

Administrator at TE_LAPTOP /cygdrive/c/VTK/Graphics/Testing/Tcl
$


I think, I should also build shared libs, but then the linker complains
about missing Tcl stubs.

My questions:
1) Is it possible to run (under cygwin) VTK Tcl examples without producing
DLLs? Which way?
2) How to obtain libtclstub80.a and libtkstub80.a libraries?

Thank you very much in advance,
Piotr Kozaczewski




More information about the vtkusers mailing list