Yes, that error message was from the previously linked page. I think the following .wrap just needs to be updated for the templates you added:
http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Numerics/Optimizersv4/wrapping/itkObjectToObjectMetric.wrap;h=0d772c9400ac1469187b5ea205d2880189de568c;hb=HEAD Brad On May 15, 2012, at 2:23 PM, M Stauffer -V- wrote: > Oh yes, sorry. itkObjectToObjectMetric was refactored to be templated, and > inherit from a new class ObjectToObjectMetricBase. The other metricv4 classes > were modified accordingly. I always forget that the base of the metrics are > in the optimizer module. > > Not sure why this would fail, though. Does the wrapping depending on manual > definition of template use? Or does the build system need a clean rebuild? > BTW, where are the error messages you posted below found from the original > cdash link you sent? > > -M > > From: Bradley Lowekamp [mailto:[email protected]] > Sent: Tuesday, May 15, 2012 2:13 PM > To: M Stauffer -V- > Cc: [email protected]; 'Gaëtan Lehmann' > Subject: Re: [Insight-developers] WrapITK build errors > > It looks like swig failed to produce that output file. It produced the > following error message: > > /Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:31: > error: invalid use of template-name 'itk::ObjectToObjectMetric' without an > argument list > /Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:32: > error: 'template<unsigned int TFixedDimension, unsigned int > TMovingDimension, unsigned int TVirtualDimension> class > itk::ObjectToObjectMetric' used without template parameters > /Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:32: > error: expected initializer before 'itkObjectToObjectMetric_Pointer' > /Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx: > In function 'void _cable_::force_instantiate()': > /Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:39: > error: 'itkObjectToObjectMetric' was not declared in this scope > /Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:40: > error: 'itkObjectToObjectMetric_Pointer' was not declared in this scope > > Brad > > On May 15, 2012, at 2:02 PM, M Stauffer -V- wrote: > >> Hi Brad, >> >> I don't know of a recent refactoring of the v4 optimizers. I don't know how >> the wrapping works, but I noticeed e.g. this filename in the error: >> itkGradientDescentOptimizerv4Java.cpp. The presumed original source file >> itkGradientDescentOptimizerv4.cxx is still in the same place it's been. >> >> -M >> >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Bradley Lowekamp >> Sent: Tuesday, May 15, 2012 12:43 PM >> To: [email protected] Developers >> Cc: Gaëtan Lehmann >> Subject: [Insight-developers] WrapITK build errors >> >> Hello, >> >> It looks like we have been getting some WrapITK build errors since May1st: >> >> http://open.cdash.org/viewBuildError.php?buildid=2279029 >> >> These appear to be related to some v4 registration optimizer refactoring. >> >> Brad >> >> ======================================================== >> Bradley Lowekamp >> Medical Science and Computing for >> Office of High Performance Computing and Communications >> National Library of Medicine >> [email protected] >> >> >> > > ======================================================== > Bradley Lowekamp > Medical Science and Computing for > Office of High Performance Computing and Communications > National Library of Medicine > [email protected] > > > ======================================================== Bradley Lowekamp Medical Science and Computing for Office of High Performance Computing and Communications National Library of Medicine [email protected]
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
