[Insight-users] Question regarding ITK installation ( CMake Error at CMakeLists.txt:292)

R S rshroff08 at gmail.com
Tue Apr 17 22:21:40 EDT 2012


Hello,

I am very new to ITK and I am in the process of building and installing ITK
InsightToolking 4.1.0. I have two questions regarding the installation
process. I apologize if either of these questions have been asked before. I
was unable to find any information after a thorough search of past
mailing-list posts.

*First question:* In the ccmake configuration gui, where can I set the
flags ITK_PATENTED and ITK_USE_REVIEW to ON ? I don't see these flags in
the advanced mode of ccmake.

*Second question*: When I tried to configure my make file, I get the
following *error*:

 CMake Error at CMakeLists.txt:292 (message):
   No such module "ITKDisplacementField" needed by "ITKRegistrationCommon"
 Call Stack (most recent call first):
   CMakeLists.txt:308 (itk_module_check)
   CMakeLists.txt:315 (itk_module_check)

I followed the steps outlined in (
http://www.itk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux) in
order to install ITK.
1. Downloaded ITK (InsightToolkit-4.1.0)
2. Downloaded CMake (2.8.7)
3. Created binary folder bin/ in /usr/local/itk/InsightToolkit-
4.1.0/ folder
4. Ran the command: sudo ccmake -DITK_USE_REVIEW=ON ..
5. Set BUILD_SHARED_LIBS to On.
6. Pressed 'c' to configure.

I am running Ubuntu (lucid) 10.04, Kernel Linux 2.6.32-40-generic, GNOME
2.30.2 on a Dell Inspiron 1525 laptop with 3.4 GB RAM, dual processors
(Intel Core2 Duo T8300).

My make configuration file (using ccmake in advanced mode) is as follows:
 BUILD_EXAMPLES
ON
 BUILD_SHARED_LIBS
ON
 BUILD_TESTING
ON
 BZRCOMMAND
BZRCOMMAND-NOTFOUND
 CMAKE_AR
/usr/bin/ar
 CMAKE_BUILD_TYPE
Release
 CMAKE_COLOR_MAKEFILE
ON
 CMAKE_CXX_COMPILER
/usr/bin/c++
 CMAKE_CXX_FLAGS

 CMAKE_CXX_FLAGS_DEBUG

 CMAKE_CXX_FLAGS_MINSIZEREL

 CMAKE_CXX_FLAGS_RELEASE

 CMAKE_CXX_FLAGS_RELWITHDEBINFO

 CMAKE_C_COMPILER
/usr/bin/gcc
 CMAKE_C_FLAGS

 CMAKE_C_FLAGS_DEBUG
-g
 CMAKE_C_FLAGS_MINSIZEREL         -Os
-DNDEBUG

CMAKE_C_FLAGS_RELEASE            -O3
-DNDEBUG
 CMAKE_C_FLAGS_RELWITHDEBINFO     -O2
-g
 CMAKE_EXE_LINKER_FLAGS

 CMAKE_EXE_LINKER_FLAGS_DEBUG

 CMAKE_EXE_LINKER_FLAGS_MINSIZE

 CMAKE_EXE_LINKER_FLAGS_RELEASE

 CMAKE_EXE_LINKER_FLAGS_RELWITH

 CMAKE_INSTALL_PREFIX
/usr/local
 CMAKE_LINKER
/usr/bin/ld
 CMAKE_MAKE_PROGRAM
/usr/bin/make
 CMAKE_MODULE_LINKER_FLAGS

 CMAKE_MODULE_LINKER_FLAGS_DEBU

 CMAKE_MODULE_LINKER_FLAGS_MINS

 CMAKE_MODULE_LINKER_FLAGS_RELE

 CMAKE_MODULE_LINKER_FLAGS_RELW

 CMAKE_NM
/usr/bin/nm
 CMAKE_OBJCOPY
/usr/bin/objcopy

 CMAKE_OBJDUMP
/usr/bin/objdump
 CMAKE_RANLIB
/usr/bin/ranlib
 CMAKE_SHARED_LINKER_FLAGS

 CMAKE_SHARED_LINKER_FLAGS_DEBU

 CMAKE_SHARED_LINKER_FLAGS_MINS

 CMAKE_SHARED_LINKER_FLAGS_RELE

 CMAKE_SHARED_LINKER_FLAGS_RELW

 CMAKE_SKIP_RPATH
OFF
 CMAKE_STRIP
/usr/bin/strip
 CMAKE_USE_RELATIVE_PATHS
OFF
 CMAKE_VERBOSE_MAKEFILE
OFF
 COVERAGE_COMMAND
/usr/bin/gcov
 CPPCHECK_EXECUTABLE
CPPCHECK_EXECUTABLE-NOTFOUND
 CPPCHECK_ROOT_DIR

 CVSCOMMAND
CVSCOMMAND-NOTFOUND
 CVS_UPDATE_OPTIONS               -d -A
-P
 DART_TESTING_TIMEOUT
1500

ExternalData_OBJECT_STORES

 ExternalData_URL_TEMPLATES

 HGCOMMAND
HGCOMMAND-NOTFOUND
 ITKV3_COMPATIBILITY
OFF
 ITK_COMPUTER_MEMORY_SIZE
1
 ITK_CPPCHECK_TEST
OFF
 ITK_LEGACY_REMOVE
OFF
 ITK_LEGACY_SILENT
OFF
 ITK_USE_64BITS_IDS
OFF
 ITK_USE_BRAINWEB_DATA
OFF
 ITK_USE_CONCEPT_CHECKING
ON
 ITK_USE_GPU
OFF
 ITK_USE_KWSTYLE
OFF
 ITK_USE_STRICT_CONCEPT_CHECKIN
OFF
 MAKECOMMAND                      /usr/bin/make
-i
 MAXIMUM_NUMBER_OF_HEADERS
35
 MEMORYCHECK_COMMAND
MEMORYCHECK_COMMAND-NOTFOUND

 MEMORYCHECK_SUPPRESSIONS_FILE

 PYTHON_EXECUTABLE
/usr/bin/python2.6
 SCPCOMMAND
/usr/bin/scp
 SITE
mri
 SLURM_SBATCH_COMMAND
SLURM_SBATCH_COMMAND-NOTFOUND
 SLURM_SRUN_COMMAND
SLURM_SRUN_COMMAND-NOTFOUND
 SVNCOMMAND
SVNCOMMAND-NOTFOUND
 USE_FFTWD
OFF
 USE_FFTWF
OFF
 USE_SYSTEM_FFTW
OFF

Let me know if you need any other additional information. Thanks!

Sincerely,
RS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120417/e657f2db/attachment.htm>


More information about the Insight-users mailing list