[Insight-developers] Error with new Statistics
Karthik Krishnan
karthik.krishnan at kitware.com
Fri May 22 15:27:28 EDT 2009
Bill:
I just checked in a fix, (I think) for it. Tonight's dash13 build should
confirm it.
Thanks for your other fixes.
--
karthik
On Fri, May 22, 2009 at 1:21 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> Karthik,
>
> If you can't, I'll look at it over the weekend. I have a VS6 compiler.
>
> Bill
>
> On Fri, May 22, 2009 at 12:37 PM, Wes Turner <wes.turner at kitware.com>
> wrote:
> > Karthik,
> >
> > The new statistics framework seems to give an issue while compiling
> > InsightApplications under VS60. Can you look into this?
> >
> > - Wes
> >
> > Site:dash13.kitware
> >
> > Build Name:zApps-Win32-vs60
> >
> > Build Time:2009-05-22T03:34:40 EDT
> >
> > Found 2 Errors
> >
> > Warnings are here.
> >
> > CVS/SVNhttp://public.kitware.com/cgi-bin/viewcvs.cgi/C:/Dashboards/My
> >
> Tests/Insight/Code/Review/Statistics/itkEuclideanDistanceMetric.txx?cvsroot=Insight
> > Build Log Line108
> > Error
> >
> > GaussianMSClassifierValidationApp.cxx
> > Linking...
> > Creating library C:\Dashboards\My
> >
> Tests\InsightApplicationsVS60\MultichannelTissueClassificationValidation\Release\GaussianMSClassificationApp.lib
> > and object C:\Dashboards\My
> >
> Tests\InsightApplicationsVS60\MultichannelTissueClassificationValidation\Release\GaussianMSClassificationApp.exp
> > --------------------Configuration: KmeansMSClassificationApp - Win32
> > Release--------------------
> > Compiling...
> > KmeansMSClassifierValidationApp.cxx
> >
> >
> C:\DASHBO~2\MYTEST~1\Insight\Code\Review\STATIS~1\itkEuclideanDistanceMetric.txx(55)
> > : error C2664: 'unsigned int __cdecl
> > itk::Statistics::MeasurementVectorTraits::Assert(const class
> > itk::FixedArray<unsigned short,2> &,const unsigned int,const char *)' :
> > cannot convert parameter 2 from 'const class itk::Vector<unsigned
> short,2>'
> > to 'const unsigned int'
> >
> > No user-defined-conversion operator available that can perform
> this
> > conversion, or the operator cannot be called
> > C:\DASHBO~2\MYTEST~1\Insight\Code\Common\itkImageHelper.h(142) :
> > while compiling class-template member function 'double __thiscall
> > itk::Statistics::EuclideanDistanceMetric<class itk::Vector<unsigned
> short,2>
> >>::Evaluate(const class itk::Vector<unsigned short,2> &,const class
> > itk::Vector<unsigned short,2> &) const'
> >
> >
> > --
> > Wesley D. Turner, Ph.D.
> > Kitware, Inc.
> > R&D Engineer
> > 28 Corporate Drive
> > Clifton Park, NY 12065-8662
> > Phone: 518-371-3971 x120
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > 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
> >
> >
>
--
Karthik Krishnan
R&D Engineer,
Kitware Inc.
Ph: 518 881 4919
Fax: 518 371 4573
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090522/009a2bd1/attachment.htm>
More information about the Insight-developers
mailing list