[Insight-users] Problem running ImageRegistratation1...
Luis Ibanez
luis.ibanez at kitware.com
Tue Apr 18 13:26:32 EDT 2006
Hi Eric,
Here is a CMakeLists.txt file that you can use for
configuring and building this Registration example:
PROJECT(Registration)
FIND_PACKAGE(ITK REQUIRED)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ENDIF(ITK_FOUND)
ADD_EXECUTABLE(ImageRegistration1 ImageRegistration1.cxx )
TARGET_LINK_LIBRARIES(ImageRegistration1
ITKAlgorithms ITKBasicFilters ITKIO ITKCommon)
Copy this CMakeLists.txt file and the ImageRegistration1.cxx
in a directory and configure it with CMake.
Regards,
Luis
==============
Eric John wrote:
> Hello,
>
> Problem running imageregistration1...Not clear on the procedure? I tried
> two different ways:
>
> I created new folder to run in, then copied Cmakelists.txt and the .cxx
> file for imageregistration1, run cmake, when I try to run in C++ it
> attepts to build the whole Registration folder?
>
> I also tried copying the whole Registration folder into the new folder,
> run Cmake with source and binary to this folder, then I still get errors
> when running program in C++?
>
> Thanks for any advice,
>
> Eric
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list