[Insight-users] [VTK user][Insight User] Some Build Error About InsightApplications
Bill Lorensen
bill.lorensen at gmail.com
Thu May 9 10:54:35 EDT 2013
Did you also
ITK_LEGACY_REMOVE:BOOL=OFF
On Thu, May 9, 2013 at 8:19 AM, hongsongyang <hongsongyang at 163.com> wrote:
> I have done this ITKV3_COMPATIBILITY:BOOL=ON configuration.
> If not so, After I finished the ITK building, and I start configuring
> InsightApplications with CMake, CMake will list error log as follow:
>
> CMake Error at CMakeLists.txt:33 (message):
> ITK must be built with ITKV3_COMPATIBILITY ON and ITK_LEGACY_REMOVE OFF
>
> So I think the problem has no relationship with what you suggested.
>
> Hongsongyang.
>
>
>
>
>
>
> At 2013-05-09 18:56:09,"Bill Lorensen" <bill.lorensen at gmail.com> wrote:
>
> 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
>
>
>
>
--
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/3fdf49e8/attachment.htm>
More information about the Insight-users
mailing list