[Insight-users] Build vtkITK failed
Miller, James V (Research)
millerjv at crd.ge.com
Thu Nov 4 08:53:01 EST 2004
Sounds like this is an issue with recent changes to VTK. I don't think
we have tried to build InsightApplications against a CVS version of VTK.
The VTK pipeline has changed, so we probably need to alter the vtkITK code.
We'll need to see if we can make the changes to vtkITK such that it will
build against a CVS version of VTK as well as the previous releases
VTK 4.4 and VTK 4.2.
I believe that InsightApplications builds against VTK 4.2 and VTK 4.4
Jim
-----Original Message-----
From: bear [mailto:xgl99 at mails.tsinghua.edu.cn]
Sent: Thursday, November 04, 2004 12:17 AM
To: Insight-users at itk.org
Subject: Re: [Insight-users] Build vtkITK failed
hi,all
I try to discover the problem myself.
I think the problem is
In the line 137 of
InsightApplications/vtkITK/Common/vtkITKImageToImageFilter.h
void SetOutput ( vtkImageData* d ) { this->vtkImporter->SetOutput ( d ); };
and vtkImporter is declared as vtkImageImport*
I search the class vtkImageImport and all its base
class(vtkImageAlgorithm,vtkAlgorithm,vtkObject). There is no member function
"SetOutput"
The same problem occurs for "SetReleaseDataFlag", "GetInput"
Any opinion about this? do I make a mistake when configuring VTK?
In your mail:
>From: "bear" <xgl99 at mails.tsinghua.edu.cn>
>Reply-To: bear <xgl99 at mails.tsinghua.edu.cn>
>To: Insight-users at itk.org
>Subject: Re: [Insight-users] Build vtkITK failed
>
>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/vtkITKAntiAliasBinaryImage
Filter
>
>
> > > 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
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list