[Insight-users] Run-time errors in SegmentationEditor

Daniel Jones lawson.jones at gmail.com
Thu Oct 15 18:52:12 EDT 2009


Hi all,

I'm trying to run the application "SegmentationEditor". It seems to have
compiled correctly, and I was able to specify the path to VTK in the initial
startup window. But when I try to actually run the program, I get the
following error messages:

Command:
-------------------------------
/usr/local/bin/InsightApplications-3.14.0/SegmentationEditor/Wrapping/Tcl/WSTITK
Main.tcl
-------------------------------

Output:
-------------------------------
Error in startup script: invalid command name
"vtkITKWatershedFilterAndWriter"
    while executing
"vtkITKWatershedFilterAndWriter SegmenterWatershed"
    (procedure "SegmenterInitialize" line 9)
    invoked from within
"SegmenterInitialize"
    (procedure "ConstructSegmenterFrame" line 5)
    invoked from within
"ConstructSegmenterFrame .segmenterFrame"
    ("eval" body line 1)
    invoked from within
"eval [subst $function_name] .$suffix"
    ("foreach" body line 8)
    invoked from within
"foreach m $Globals(module_names) {
    set suffix [string tolower $m]
    append suffix "Frame"
    frame .$suffi
    set function_name "Construct"
 ..."
    (file "Main.tcl" line 137)
Generic Warning: In
/build/buildd/vtk-5.0.4/Rendering/vtkTkImageViewerWidget.cxx, line 342
A TkImageViewerWidget is being destroyed before it associated vtkImageViewer
is destroyed. This is very bad and usually due to the order in which objects
are being destroyed. Always destroy the vtkImageViewer before destroying the
user interface components.

Generic Warning: In
/build/buildd/vtk-5.0.4/Rendering/vtkTkImageViewerWidget.cxx, line 342
A TkImageViewerWidget is being destroyed before it associated vtkImageViewer
is destroyed. This is very bad and usually due to the order in which objects
are being destroyed. Always destroy the vtkImageViewer before destroying the
user interface components.

Generic Warning: In
/build/buildd/vtk-5.0.4/Rendering/vtkTkImageViewerWidget.cxx, line 342
A TkImageViewerWidget is being destroyed before it associated vtkImageViewer
is destroyed. This is very bad and usually due to the order in which objects
are being destroyed. Always destroy the vtkImageViewer before destroying the
user interface components.
---------------------------------

Looking in the SegmentationEditor/Common directory, I see a file called
vtkITKWatershedFilterAndWriter.h. But I don't see a
vtkITKWatershedFilterAndWriter.cxx file there, as you might expect. Any
ideas on what is going on?

Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091015/d8dbe299/attachment.htm>


More information about the Insight-users mailing list