[Insight-users] [VTK user][Insight User] Some Build Error About InsightApplications

Bill Lorensen bill.lorensen at gmail.com
Thu May 9 06:56:09 EDT 2013


When you configure ITK with CMake, add
ITKV3_COMPATIBILITY:BOOL=ON



On Tue, May 7, 2013 at 1:17 PM, hongsongyang <hongsongyang at 163.com> wrote:

> Dear All:
>       I used VS2010 to build the VTK and ITK successfully.
> But when I build InsightApplications after cmake configurarion,
> vtkVTKITKCommon project could not be built correctly.
> Here is the error messages:
>
>
> 1>  vtkITKMutualInformationTransform.cxx
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(197): error
> C4716: 'itk::Transform<double,3,3>::TransformVector' : must return a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(212): error
> C4716: 'itk::Transform<double,3,3>::TransformVector' : must return a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(228): error
> C4716: 'itk:: Transform<double,3,3>::TransformVector' : must return a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(243): error
> C4716: 'itk::Transform<double,3,3>::TransformCovariantVector' : must return
> a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(260): error
> C4716: 'itk::Transform<double,3,3>::TransformCovariantVector' : must return
> a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(279): error
> C4716: 'itk::Transform<double,3,3>::TransformDiffusionTensor3D' : must
> return a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(297): error
> C4716: 'itk::Transform<double,3,3>::TransformDiffusionTensor3D' : must
> return a value
> 1>d:\itk\itk\modules\core\transform\include\itktransform.h(319): error
> C4716: 'itk::Transform<double,3,3>::TransformSymmetricSecondRankTensor' :
> must return a value
> 1>d:\itk\itk\modules\cor e\transform\include\itktransform.h(328): error
> C4716: 'itk::Transform<double,3,3>::TransformSymmetricSecondRankTensor' :
> must return a value
> 1>
> 1>Build FAILED.
>
>
> What's the reason for this problem?
>
> Hongsongyang
>
>
>
> _____________________________________
> 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://www.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-users
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130509/4f1c42ac/attachment.htm>


More information about the Insight-users mailing list