[Insight-users] trouble to build diffeomorphic Demons

Tao,Guozhi GTao at mdanderson.org
Tue Dec 23 12:37:20 EST 2008


Hi,
I actually use cmake-gui to build ITK binary, I did not see ITK_USE_REVIEW option, so I use add entry to add it.

Now I am trying to use ccmake, still I can not see ITK_USE_REVIEW option, how can I add it. See below cursor interface

 BUILDNAME                        Linux-c++
 BUILD_DOXYGEN                    OFF
 BUILD_EXAMPLES                   OFF
 BUILD_SHARED_LIBS                ON
 BUILD_TESTING                    OFF
 CMAKE_AR                         /usr/bin/ar
 CMAKE_BACKWARDS_COMPATIBILITY    2.4
 CMAKE_BUILD_TYPE
 CMAKE_COLOR_MAKEFILE             ON
 CMAKE_CXX_COMPILER               /usr/bin/c++
 CMAKE_CXX_FLAGS
 CMAKE_CXX_FLAGS_DEBUG            -g
 CMAKE_CXX_FLAGS_MINSIZEREL       -Os -DNDEBUG
 CMAKE_CXX_FLAGS_RELEASE          -O3 -DNDEBUG
 CMAKE_CXX_FLAGS_RELWITHDEBINFO   -O2 -g
 CMAKE_C_COMPILER                 /usr/bin/gcc

 CMAKE_C_FLAGS


Press [enter] to edit option                         CMake Version 2.6 - patch 2
Press [c] to configure
Press [h] for help         Press [q] to quit without generating
Press [t] to toggle advanced mode (Currently On)


Best regards

George

-----Original Message-----
From: Bill Lorensen [mailto:bill.lorensen at gmail.com]
Sent: Tuesday, December 23, 2008 10:32 AM
To: Tao,Guozhi
Cc: insight-users at itk.org
Subject: Re: [Insight-users] trouble to build diffeomorphic Demons

You set it when you run cmakesetup (Windows) or ccmake (Linux) for
your itk build.

Bill

On Tue, Dec 23, 2008 at 11:10 AM, Tao,Guozhi <GTao at mdanderson.org> wrote:
> Hi, Bill:
> When should I set ITK_USE_REVIEW ON?
>
> AT the time of install ITK Binary at the beginging
>
> or when I run cmke to for diffeomorphic demons
>
> -----Original Message-----
> From: Bill Lorensen [mailto:bill.lorensen at gmail.com]
> Sent: Tuesday, December 23, 2008 10:00 AM
> To: Tao,Guozhi
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons
>
> When you run cmake, be sure to set ITK_USE_REVIEW ON. It is off by default.
>
> On Tue, Dec 23, 2008 at 10:56 AM, Tao,Guozhi <GTao at mdanderson.org> wrote:
>> Hi, Luis and Everyone:
>>
>> I am new ITK user and have trouble to build diffeomorphic demons on red hat
>> linux.
>>
>> 1 I installed Cmake and ITK. And I can build the HelloWorld Project and
>> several other registration projects in Example folders.
>>
>> 2 Than I am trying to buid diffeomorphic Demons downloaded from
>> http://hdl.handle.net/1926/510 by Tom.
>>
>> 3 I used the CMakeLists.txt given by Tom since I am not good at creating
>> CMake file. Cmake configuration and generating are ok.
>>
>> 4 When I run make, it shows a lot of errors such as following
>>
>>
>> /hometools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:11:54:
>> error: itkDiffeomorphicDemonsRegistrationFilter.h: No such file or directory
>> /home/tools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:13:60:
>> error: itkFastSymmetricForcesDemonsRegistrationFilter.h: No such file or
>> directory
>> /home/tools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:14:43:
>> error: itkGridForwardWarpImageFilter.h: No such file or directory
>>
>> 5 Clearly the compuater can't find the class written by Tom, which is
>> located at ITK_source/code/Review folder. Can you please help me to figure
>> out this problem.
>>
>> By the way, I followed ITK_gettingstartedI to build ITK, so I disabled build
>> example and application.
>>
>>
>> Thanks a lot and happy Christmas
>>
>>
>> George
>>
>> _______________________________________________
>> 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