[Insight-users] Problem building itkTimeVaryingBSplineVelocityFieldImageRegistrationTest.cxx
Mark C. Reynolds
mcr at islandpeaksoftware.com
Sun May 12 09:42:57 EDT 2013
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
>
>
>
>
CMakeLists.txt:
------------------------------------------------------------------------------------------------------------
cmake_minimum_required(VERSION 2.8)
project(VelField)
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
if (ITKVtkGlue_LOADED)
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
endif()
add_executable(VelField VelField.cxx)
if( "${ITK_VERSION_MAJOR}" LESS 4 )
target_link_libraries(VelField ITKReview ${ITK_LIBRARIES})
else( "${ITK_VERSION_MAJOR}" LESS 4 )
target_link_libraries(VelField ${ITK_LIBRARIES})
endif( "${ITK_VERSION_MAJOR}" LESS 4 )
----------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130512/f3315bfe/attachment.htm>
More information about the Insight-users
mailing list