<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19222"></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=862352018-15052012><FONT size=2
face=Verdana>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=862352018-15052012><FONT size=2
face=Verdana></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=862352018-15052012><FONT size=2
face=Verdana>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?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=862352018-15052012><FONT size=2
face=Verdana></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=862352018-15052012><FONT size=2
face=Verdana>-M</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Bradley Lowekamp
[mailto:blowekamp@mail.nih.gov] <BR><B>Sent:</B> Tuesday, May 15, 2012 2:13
PM<BR><B>To:</B> M Stauffer -V-<BR><B>Cc:</B> Insight-developers@itk.org;
'Gaëtan Lehmann'<BR><B>Subject:</B> Re: [Insight-developers] WrapITK build
errors<BR></FONT><BR></DIV>
<DIV></DIV>It looks like swig failed to produce that output file. It produced
the following error message:
<DIV><BR></DIV>
<DIV>
<DIV>/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</DIV>
<DIV>/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</DIV>
<DIV>/Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:32:
error: expected initializer before 'itkObjectToObjectMetric_Pointer'</DIV>
<DIV>/Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:
In function 'void _cable_::force_instantiate()':</DIV>
<DIV>/Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:39:
error: 'itkObjectToObjectMetric' was not declared in this scope</DIV>
<DIV>/Users/cosmo-macpro/DEVEL/GITROOT/Dashboards/ITK-i386-WRAPITK/Wrapping/Modules/ITKOptimizersv4/itkObjectToObjectMetric.cxx:40:
error: 'itkObjectToObjectMetric_Pointer' was not declared in this scope</DIV>
<DIV><BR></DIV>
<DIV>Brad</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>On May 15, 2012, at 2:02 PM, M Stauffer -V- wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<META name=GENERATOR content="MSHTML 8.00.6001.19222">
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=034010118-15052012><FONT size=2
face=Verdana>Hi Brad,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=034010118-15052012><FONT size=2
face=Verdana></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=034010118-15052012><FONT size=2
face=Verdana>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=034010118-15052012><FONT size=2
face=Verdana></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=034010118-15052012><FONT size=2
face=Verdana>-M</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> <A
href="mailto:insight-developers-bounces@itk.org">insight-developers-bounces@itk.org</A>
[mailto:insight-developers-bounces@itk.org] <B>On Behalf Of </B>Bradley
Lowekamp<BR><B>Sent:</B> Tuesday, May 15, 2012 12:43 PM<BR><B>To:</B> <A
href="mailto:Insight-developers@itk.org">Insight-developers@itk.org</A>
Developers<BR><B>Cc:</B> Gaëtan Lehmann<BR><B>Subject:</B>
[Insight-developers] WrapITK build errors<BR></FONT><BR></DIV>
<DIV></DIV>Hello,
<DIV><BR></DIV>
<DIV>It looks like we have been getting some WrapITK build errors since
May1st:</DIV>
<DIV><BR></DIV>
<DIV><A
href="http://open.cdash.org/viewBuildError.php?buildid=2279029">http://open.cdash.org/viewBuildError.php?buildid=2279029</A></DIV>
<DIV><BR></DIV>
<DIV>These appear to be related to some v4 registration optimizer
refactoring.</DIV>
<DIV><BR></DIV>
<DIV>Brad</DIV>
<DIV><BR>
<DIV><SPAN style="FONT-SIZE: 12px" class=Apple-style-span></SPAN>
<DIV
style="WORD-WRAP: break-word; FONT-SIZE: 12px; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>========================================================</FONT></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>Bradley Lowekamp<SPAN
class=Apple-converted-space> </SPAN><SPAN
class=Apple-converted-space> </SPAN></FONT></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>Medical Science and Computing for</FONT></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>Office of High Performance Computing and
Communications</FONT></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>National Library of Medicine<SPAN
class=Apple-converted-space> </SPAN></FONT></DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica><A
href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</A></FONT></DIV><BR
class=Apple-interchange-newline></SPAN></DIV><BR
class=Apple-interchange-newline></DIV><BR></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR>
<DIV><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto"
class=Apple-style-span>
<P style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>========================================================</FONT></P>
<P style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>Bradley Lowekamp<SPAN
class=Apple-converted-space> </SPAN><SPAN
class=Apple-converted-space> </SPAN></FONT></P>
<P style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>Medical Science and Computing for</FONT></P>
<P style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>Office of High Performance Computing and
Communications</FONT></P>
<P style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica>National Library of Medicine<SPAN
class=Apple-converted-space> </SPAN></FONT></P>
<P style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" size=3
face=Helvetica><A
href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</A></FONT></P><BR
class=Apple-interchange-newline></SPAN></DIV></SPAN></SPAN><BR
class=Apple-interchange-newline></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>