[IGSTK-Developers] Re: igstkViewer error
Andinet Enquobahrie
andinet.enqu at kitware.com
Fri Dec 16 15:20:39 EST 2005
Julien,
Thank you for pointing that out. We invoked methods from VTK 5.0 by
mistake. Referring to the Wiki on how to build IGSTK, the preferred
version is
VTK4.4 to build the current release of IGSTK.
http://public.kitware.com/IGSTKWIKI/index.php/How_to_build_IGSTK#Building_the_Release_Iteration-6
Hence, I have made the corrections. Please update your cvs checkout and
try it out...
-Andinet
> Andinet,
>
> I'm getting the following errors when compiling IGSTK from CVS (MSVC 6)
>
> E:\Workspace\IGSTK\Source\igstkView.cxx(614) : error C2660:
> 'GetOutputPort' : function does not take 0 parameters
> E:\Workspace\IGSTK\Source\igstkView.cxx(614) : error C2660:
> 'SetInputConnection' : function does not take 1 parameters
> E:\Workspace\IGSTK\Source\igstkView.cxx(622) : error C2660:
> 'SetInputConnection' : function does not take 1 parameters
>
> The line is:
> writer->SetInputConnection( windowToImageFilter->GetOutputPort() );
>
> I'm wondering why this line is not implemented as:
>
> writer->SetInput(windowToImageFilter->GetOutput());
>
> I'm using VTK 4.5.0. What is the current recommended VTK version to
> build IGSTK?
>
> This error doesn't show up on the dashboard...
>
> Thanks a lot,
>
> Julien (back to coding IGSTK!)
>
>
>
More information about the IGSTK-Developers
mailing list