[Insight-developers] Error with new Statistics
Wes Turner
wes.turner at kitware.com
Fri May 22 12:37:49 EDT 2009
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<http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=338245>
are
here.
CVS/SVNhttp://public.kitware.com/cgi-bin/viewcvs.cgi/C:/Dashboards/My
Tests/Insight/Code/Review/Statistics/itkEuclideanDistanceMetric.txx?cvsroot=Insight<http://public.kitware.com/cgi-bin/viewcvs.cgi/C:/Dashboards/My%20Tests/Insight/Code/Review/Statistics/itkEuclideanDistanceMetric.txx?cvsroot=Insight>Build
Log Line108Error
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090522/2291f374/attachment.htm>
More information about the Insight-developers
mailing list