[IGSTK-Users] compiling IGSTK-5.0 bugfix.

Andinet Enquobahrie andinet.enqu at kitware.com
Fri Feb 8 08:11:02 EST 2013


Dear Tim

Please see IGSTK 5.0 requirements here

http://public.kitware.com/IGSTKWIKI/index.php/Download_IGSTK#IGSTK_5.0_Requirements

ITK 3.20
VTK 5.6.1 or later
FLTK 1.1

On Fri, Feb 8, 2013 at 12:20 AM, Tim Hanson <sideskate at gmail.com> wrote:
> Hey All,
>
> I'm having a problem compiling IGSTK 5.0 against ITKLatestRelease and
> VTK5.10.1:
>
> [  2%] Building CXX object
> Source/CMakeFiles/IGSTK.dir/igstkMR3DImageToUS3DImageRegistration.cxx.o
> /home/tlh24/igstk/IGSTK-5.0/Source/igstkMR3DImageToUS3DImageRegistration.cxx:
> In member function ‘void
> igstk::MR3DImageToUS3DImageRegistration::CalculateRegistrationProcessing()’:
> /home/tlh24/igstk/IGSTK-5.0/Source/igstkMR3DImageToUS3DImageRegistration.cxx:413:19:
> error: ‘itk::SmartPointer<itk::ImageRegistrationMethod<itk::Image<unsigned
> char, 3u>, itk::Image<short unsigned int, 3u> > >::ObjectType’ has no
> member named ‘StartRegistration’
> make[2]: *** [Source/CMakeFiles/IGSTK.dir/igstkMR3DImageToUS3DImageRegistration.cxx.o]
> Error 1
> make[1]: *** [Source/CMakeFiles/IGSTK.dir/all] Error 2
> make: *** [all] Error 2
>
> Now,
> grep -r StartRegistration * | grep ImageRegistrationMethod
>
> Suggests:
> Modules/Registration/RegistrationMethodsv4/include/itkImageRegistrationMethodv4.h:
>  void StartRegistration(void) { this->Update(); }
>
> hence I changed on line 413 of igstkMR3DImageToUS3DImageRegistration.cxx
> to 'Update' instead of 'StartRegistration'.
>
> FYI ... seems to fix it.
>
> Now we have the error:
>
> /home/tlh24/igstk/IGSTK-5.0/Source/igstkPolarisClassicTracker.cxx:189:5:
> error: ‘os’ was not declared in this scope
>
> Am I doing something wrong?  Should it build out of the box?
>
> Tim
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users



-- 
Andinet Enquobahrie, Ph.D.
Technical Lead
Kitware, Inc.

http://www.kitware.com
(919) 969-6990 x311



More information about the IGSTK-Users mailing list