[Insight-users] Problem building itkTimeVaryingBSplineVelocityFieldImageRegistrationTest.cxx

Mark C. Reynolds mcr at islandpeaksoftware.com
Sun May 12 13:34:04 EDT 2013


On 05/12/2013 10:48 AM, Bill Lorensen wrote:
> Do you have other versions of ITK installed? or just ITKv4?
>
>
> On Sun, May 12, 2013 at 9:42 AM, Mark C. Reynolds
> <mcr at islandpeaksoftware.com <mailto:mcr at islandpeaksoftware.com>> wrote:
>
>     On 05/12/2013 12:04 AM, Bill Lorensen wrote:
>>     Please share your CMakeLists.txt file
>>
>>
>>
>>     On Sat, May 11, 2013 at 7:29 PM, Mark C. Reynolds
>>     <mcr at islandpeaksoftware.com <mailto:mcr at islandpeaksoftware.com>>
>>     wrote:
>>
>>         I want to make a standalone from
>>         itkTimeVaryingBSplineVelocityFieldImageRegistrationTest.cxx.
>>
>>         So I took this file, renamed it to VelField.cxx,
>>         added a dummy main(), created a trivial
>>         CMakeFiles.txt and attempted to compile.
>>
>>         I get method not found on lines 276-279, because
>>         of claims that the methods SetSplineOrder(),
>>         SetRequiredTransformDomainSpacing(). and
>>         SetRequiredTransformDomainSize()
>>         do not exist.
>>
>>         This is peculiar, because the original file compiles
>>         to an object file just fine, and is run successfully
>>         as part of the v4 registration tests.
>>
>>         Can someone please tell me what is going wrong?
>>
>>         Thanks,
>>
>>         Mark
>>
>>         _____________________________________
>>         Powered by www.kitware.com <http://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
>>
>>
>>
>>
>

The problem is solved. Somehow I had both ITK-4.2 and ITK-4.4 on the
machine.
When I removed the former and re-ran cmake everyting built fine. Thank you
for you help.

- Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130512/c4c749c6/attachment.htm>


More information about the Insight-users mailing list