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

Bill Lorensen bill.lorensen at gmail.com
Mon May 13 07:50:56 EDT 2013


There are several issues. I am working on a patch to resolve them...


On Sun, May 12, 2013 at 9:48 PM, hongsongyang <hongsongyang at 163.com> wrote:

> Dear Lorensen:
>     Besides the ITK 4.3.2, I also build the ITK-4.3.1
> with InsightApplications-4.3.0.
> But after the successfully building of ITK, the building of
> InsightApplication also met
> the same problem under VS2010(OS:Win7 64 bit).
>     How about your investigation progress?
>
> Thanks a lot.
>
> Hongsongyang
>
>
>
>
>
>
> At 2013-05-10 13:37:20,hongsongyang <hongsongyang at 163.com> wrote:
>
> Unfortunately, I could not build InsightApplications correctly on XP
> system.
> That,s my test result.
>
>
> At 2013-05-10 00:50:05,hongsongyang <hongsongyang at 163.com> wrote:
>
> OK. Thank you very much.
> My environment is as follow:
>
> OS: Win7 64bit edition
> Compiler: VS2010 professional edition
> VTK:5.10.1
> ITK: InsightToolkit-4.3.2
> InsightApp: InsightApplications-4.3.0
>
> I also have another Test PC with Win XP system.(Other envrionments are
> same as above).
> I will also try to build VTK,ITK and InsightApp in that PC.
> After that, I will tell you my result.
>
> So..... see you later.
>
> Hongsongyang
>
>
>
> At 2013-05-10 00:35:28,"Bill Lorensen" <bill.lorensen at gmail.com> wrote:
>
> I have no problem building vtkITK with those settings... I'll try on my
> Windows system. That will that will take a while.
>
>
>
> On Thu, May 9, 2013 at 12:30 PM, hongsongyang <hongsongyang at 163.com>wrote:
>
>> Yes, I did so, ITK_LEGACY_REMOVE initial value is OFF.
>> I did not change it at all.
>>
>>
>>
>>
>>
>>
>> At 2013-05-09 22:54:35,"Bill Lorensen" <bill.lorensen at gmail.com> wrote:
>>
>> 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
>>
>>
>>
>>
>
>
> --
> 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/20130513/6164d1dc/attachment.htm>


More information about the Insight-users mailing list