[Insight-users] Segmentation Editor

Mathieu Malaterre malat@free.fr
Fri, 24 Jan 2003 19:21:19 +0100


Hi itk-gurus,
   I am trying to build Segmentation Editor with *shared-lib* enabled. 
Does anyone of you manage to get it built ? Dean Inglis manage to get it 
build if choosing static lib instead.

Here is the problem I am having:

g++ -o vtkPatchedImageReader.o -DvtkWSTCommon_EXPORTS   
-ftemplate-depth-50  -I/usr/X11R6/include -O2 -g -fPIC
-I/home/malat/Kitware/Insight/Applications/SegmentationEditor/Common 
-I/home/malat/Kitware/Insight/Code/Algorith
ms -I/home/malat/Kitware/Insight/Code/BasicFilters 
-I/home/malat/Kitware/Insight/Code/Common -I/home/malat/Kitwa
re/Insight/Code/Numerics -I/home/malat/Kitware/Insight/Code/IO 
-I/home/malat/Kitware/Insight/Code/Numerics/FEM -
I/home/malat/Kitware/Insight/Code/Numerics/Statistics 
-I/home/malat/Kitware/InsightBin/Code/Numerics/vxl -I/home
/malat/Kitware/Insight/Code/Numerics/vxl 
-I/home/malat/Kitware/InsightBin/Code/Numerics/vxl/vcl -I/home/malat/Ki
tware/Insight/Code/Numerics/vxl/vcl 
-I/home/malat/Kitware/Insight/Code/SpatialObject -I/home/malat/Kitware/Insig
ht/Utilities/png -I/home/malat/Kitware/Insight/Utilities/zlib 
-I/home/malat/Kitware/Insight/Utilities/MetaIO -I/
home/malat/Kitware/Insight/Utilities/MetaIO/SpatialObject 
-I/home/malat/Kitware/Insight/Utilities/DICOMParser -I
/home/malat/Kitware/InsightBin -I/home/malat/Kitware/VTKBin 
-I/home/malat/Kitware/VTK/Parallel -I/home/malat/Kit
ware/VTK/Hybrid -I/home/malat/Kitware/VTK/Patented 
-I/home/malat/Kitware/VTK/Rendering -I/home/malat/Kitware/VTK
/IO -I/home/malat/Kitware/VTK/Imaging -I/home/malat/Kitware/VTK/Graphics 
-I/home/malat/Kitware/VTK/Filtering -I/
home/malat/Kitware/VTK/Common 
-I/home/malat/Kitware/VTK/Common/Testing/Cxx 
-I/home/malat/Kitware/VTKBin/Utilitie
s/jpeg -I/home/malat/Kitware/VTK/Utilities/jpeg 
-I/home/malat/Kitware/VTKBin/Utilities/tiff -I/home/malat/Kitwar
e/VTK/Utilities/tiff -I/home/malat/Kitware/VTKBin/Utilities/expat 
-I/home/malat/Kitware/VTK/Utilities/expat -I/h
ome/malat/Kitware/VTKBin/Utilities/png 
-I/home/malat/Kitware/VTK/Utilities/png -I/home/malat/Kitware/VTKBin/Util
ities/zlib -I/home/malat/Kitware/VTK/Utilities/zlib 
-I/usr/share/doc/NVIDIA_GLX-1.0/include -I/usr/include/pytho
n2.2 
-I/home/malat/Kitware/Insight/Applications/SegmentationEditor/../vtkITK/Common 
-I/home/malat/Kitware/Insigh
t/Applications/SegmentationEditor/Common   -D_PTHREADS  -c 
/home/malat/Kitware/Insight/Applications/Segmentation
Editor/Common/vtkPatchedImageReader.cxx
/home/malat/Kitware/Insight/Applications/SegmentationEditor/Common/vtkPatchedImageReader.cxx: 
In
function `void vtkPatchedImageReaderUpdate2 (vtkPatchedImageReader *, 
vtkImageData *, IT *, OT *) [with
IT = VTK_TT, OT = VTK_TT]':
/home/malat/Kitware/Insight/Applications/SegmentationEditor/Common/vtkPatchedImageReader.cxx:882:   
instantiated
 from `vtkPatchedImageReaderUpdate1 (vtkPatchedImageReader *, 
vtkImageData *, T *) [with T = VTK_TT]'
/home/malat/Kitware/Insight/Applications/SegmentationEditor/Common/vtkPatchedImageReader.cxx:914:   
instantiated
 from here
/home/malat/Kitware/Insight/Applications/SegmentationEditor/Common/vtkPatchedImageReader.cxx:803: 
ambiguous
overload for `vtkOStreamWrapper & << streampos'
/home/malat/Kitware/Insight/Applications/SegmentationEditor/Common/vtkPatchedImageReader.cxx:803: 
candidates
are: operator<<(int, long long int) <builtin>
/home/malat/Kitware/VTK/Common/vtkOStreamWrapper.h:55:                 
vtkOStreamWrapper
&vtkOStreamWrapper::operator<< (const vtkIndent &)
/home/malat/Kitware/VTK/Common/vtkOStreamWrapper.h:62:                 
vtkOStreamWrapper
&vtkOStreamWrapper::operator<< (char)
/home/malat/Kitware/VTK/Common/vtkOStreamWrapper.h:63:                 
vtkOStreamWrapper
&vtkOStreamWrapper::operator<< (short int)
/home/malat/Kitware/VTK/Common/vtkOStreamWrapper.h:64:                 
vtkOStreamWrapper

[snip]


I am really stuck with it. Any idea.

Thanks a lot,
Mathieu