[IGSTK-Users] compiling IGSTK-5.0 bugfix.

Yaniv, Ziv ZYaniv at childrensnational.org
Fri Feb 8 07:06:06 EST 2013


Hi Tim,

IGSTK 5.0 is not compatible with ITK v4. In the next two weeks we will release IGSTK 5.2 which is. 

If you are in a hurry you can download from the toolkit's git repo (http://www.igstk.org/Wiki/IGSTK/Git), but this may not be the final version of IGSTK 5.2 .

           regards
              Ziv

________________________________________
From: igstk-users-bounces at public.kitware.com [igstk-users-bounces at public.kitware.com] on behalf of Tim Hanson [sideskate at gmail.com]
Sent: Friday, February 08, 2013 12:20 AM
To: igstk-users at public.kitware.com
Subject: [IGSTK-Users] compiling IGSTK-5.0 bugfix.

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



More information about the IGSTK-Users mailing list