[Insight-users] Examples: link errors & missing includes - some fixes

Luis Ibanez luis.ibanez@kitware.com
Tue, 15 Oct 2002 17:24:47 -0400


Hi Dean,

The "vtkITK" and "SegmentationEditor" examples
are both using VTK and relying on Tcl wrapping
as configured in your VTK build.

Did you enable Tcl wrapping when you built VTK ?

---

About the <stdio.h>:

The #include has been added both in
FuzzyConnectedness and ShapeDetection
as you pointed out.

I wonder why only Borland complains about
this missing header.

It is probably included as a side effect
from current headers in other platforms.


    Thanks


     Luis

===============================================

dean.inglis@on.aibn.com wrote:
 > Hi Luis,
 >
 > building vtkITK gives the following cmake error:
 > CMake Error: Error splitting file name off end of
 > path:
 > 
c:/Builder/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.h
 > Directory not found: c:/Builder/Insight/Examples/vtkITK/Common/
 >
 > and so on for all the files in ../vtkITK/Common/
 >
 > building MinSizeRel out of source, Borland bcc32
 > compiler, CMake 1.4.5.
 >
 > this also occurs for the SegmentationEditor.
 > Am I missing something in the root CMakeCache?
 >
 > Dean
 >
 > P.S., Any thoughts on the include <stdio.h> ?
 >
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
 >
 > Hi Dean,
 >
 > Thanks for pointing this out.
 > The CMakeLists.txt file on ShapeDetectionLevelSet
 > was fixed this morning.
 >
 > Could you elaborate more on the CMake errors
 > produced by vtkITK ?
 >
 > Thanks
 >
 >
 >
 >     Luis
 >
 >
 > =================================================
 >
 >
 > dean.inglis@on.aibn.com wrote:
 >
 >
 >>Hi,
 >>
 >>FYI, build of Examples/ShapeDetectionLevelSet
 >>should link ITKFltkImageViewer.lib and not
 >>FLTKImageViewer.lib and
 >>ITKvtkFltk and not vtkFltk in
 >>/Examples/ShapeDetectionLevelSet/CMakeListst.txt
 >>
 >>Just tryig to see how many examples Borland will
 >>actually build ... still pb's building
 >>
 >>IBSRValidation
 >>
 >>MutualInformationEuler2DRegistration
 >>
 >>MRIBiasCorrection
 >>
 >>FuzzyConnectedness - needs include <stdio.h> for
 >>sscanf in FuzzyConnectApp.cxx
 >>
 >>ShapeDetection - needs include <stdio.h> for sscanf
 >>in ShapeDetectApp.cxx
 >>
 >>MRIRegistration - typename expected for
 >>RequiredOptionMissing
 >>
 >>vtkITK - CMake errors
 >>
 >>
 >>Dean
 >>
 >>
 >
 >
 > _______________________________________________
 > Insight-users mailing list
 > Insight-users@public.kitware.com
 > http://public.kitware.com/mailman/listinfo/insight-users
 >
 >