[Insight-users] Build vtkITK failed

bear xgl99 at mails.tsinghua.edu.cn
Wed Nov 3 08:36:35 EST 2004


hi Luis,

I just build the entire InsightApplications and fail at vtkITK.
by the way I set USE_FLTK ON ,USE_VTK ON,ITK_USE_PATENTED OFF 

In your mail:
>From: Luis Ibanez <luis.ibanez at kitware.com>
>Reply-To: 
>To: bear <xgl99 at mails.tsinghua.edu.cn>
>Subject: Re: [Insight-users] Build vtkITK failed
>
>
> Hi Bear,
> 
> Are you building the vtkITK application all by itself ?
> or as part of the entire InsightApplications build ?
> 
> InsightApplications has been organized in such a way that
> you *must* configure it by running CMake from the *TOP*
> level directory, not from any of the subdirectories.
> 
> Once you have run CMake at the top level, you can proceed
> to build individual directories, if you are interested in
> a single applications.
> 
> 
> Please let us know how you are running CMake,
> 
> 
>     Thanks
> 
> 
>        Luis
> 
> 
> 
> ------------
> bear wrote:
> 
> > hi,luis
> > Thanks for your kindness.
> > I use both CVS versions of Insight and InsightApplications
> > and I disable Python wrapper in VTK, however I failed again. The error
message
> > reads:
> > 
> > Building shared library libvtkVTKITKCommon.so...
> > Building object file vtkVTKITKCommonTCLInit.o...
> > Building object file vtkITKAntiAliasBinaryImageFilterTcl.o...
> > In file included from
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilterFF.h:9,
> >                  from
> >
/home/src/InsightApplications/vtkITK/Common/vtkITKAntiAliasBinaryImageFilter.h:18,


> > 
> >                  from
> >
/home/src/InsightApplications/Build/vtkITK/Common/vtkITKAntiAliasBinaryImageFilter


> > Tcl.cxx:5:
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h: In
> >    member function `void vtkITKImageToImageFilter::SetOutput(vtkImageData*)':
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h:137:
error:
> > `
> >    SetOutput' undeclared (first use this function)
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h:137:
error:
> > (Each
> >    undeclared identifier is reported only once for each function it appears
> >    in.)
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h: In
> >    member function `virtual void
> >    vtkITKImageToImageFilter::SetReleaseDataFlag(int)':
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h:156:
error:
> > `
> >    SetReleaseDataFlag' undeclared (first use this function)
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h: In
> >    member function `virtual void vtkITKImageToImageFilter::Update()':
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h:174:
error:
> > `
> >    GetInput' undeclared (first use this function)
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h: In
> >    member function `virtual void
vtkITKImageToImageFilter::UpdateWholeExtent()
> >    ':
> > /home/src/InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h:204:
error:
> > `
> >    GetInput' undeclared (first use this function)
> > make[3]: *** [vtkITKAntiAliasBinaryImageFilterTcl.o] Error 1
> > make[2]: *** [default_target] Error 2
> > make[1]: *** [default_target_Common] Error 2
> > make: *** [default_target] Error 2




More information about the Insight-users mailing list