[Insight-users] Two Problems about ITK 2.2.0

Siwei Yang s.yang at dkfz-heidelberg.de
Mon Nov 28 08:53:04 EST 2005


Hi Luis,
thank you for your reply.
My gcc is  version 3.3.3.
I post the following text (CMakeCache.txt), and hopefully , that someone
can fix this problem.

p.s: Some lines have been omitted, otherwise the mail is too big to be sent.

Thanks
best wishes
Siwei Yang


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

########################
# EXTERNAL cache entries
########################

//Name of build on the dashboard
BUILDNAME:STRING=Linux-c++

//Build source documentation using doxygen
BUILD_DOXYGEN:BOOL=OFF

//Build the Examples directory.
BUILD_EXAMPLES:BOOL=OFF

//Build ITK with shared libraries.
BUILD_SHARED_LIBS:BOOL=OFF

//Build the testing tree.
BUILD_TESTING:BOOL=OFF

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//For backwards compatibility, what version of CMake commands and
// syntax should this version of CMake allow.
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.0

//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
//
CMAKE_BUILD_TYPE:STRING=Release

//C++ compiler
CMAKE_CXX_COMPILER:STRING=c++

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=' -L/usr/X11R6/lib64
-L/usr/local/lib/InsightToolkit '

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3

//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

//C compiler
CMAKE_C_COMPILER:STRING=gcc

//Flags for C compiler.
CMAKE_C_FLAGS:STRING=' -L/usr/X11R6/lib64 '

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=-O3

//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=-L/usr/X11R6/lib64
-L/usr/local/lib/InsightToolkit

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Use HP pthreads.
CMAKE_HP_PTHREADS:BOOL=

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=-L/usr/X11R6/lib64
-L/usr/local/lib/InsightToolkit

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=-L/usr/X11R6/lib64
-L/usr/local/lib/InsightToolkit

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when using shared libraries.
//
CMAKE_SKIP_RPATH:BOOL=NO

//Thread library used.
CMAKE_THREAD_LIBS:STRING=-lpthread

//Use the pthreads library.
CMAKE_USE_PTHREADS:BOOL=1

//If true, cmake will use relative paths in makefiles and projects.
//
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

//Use sproc libs.
CMAKE_USE_SPROC:BOOL=

//Use the win32 thread library.
CMAKE_USE_WIN32_THREADS:BOOL=

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//X11 extra flags.
CMAKE_X_CFLAGS:STRING=-I/usr/X11R6/include

//Libraries and options used in X11 programs.
CMAKE_X_LIBS:STRING=-lSM;-lICE;/usr/X11R6/lib64/libX11.so;/usr/X11R6/lib64/libXext.so

//Path to program used to compress files for transfer to the dart
// server
COMPRESSIONCOMMAND:FILEPATH=/bin/gzip

//Path to the coverage program that Dart client uses for performing
// coverage inspection
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov

//Path to a program.
CVSCOMMAND:FILEPATH=/usr/bin/cvs

//Options passed to the cvs update command.
CVS_UPDATE_OPTIONS:STRING=-d -A -P

//Limit of reported errors, -1 reports all.
DART_BUILD_ERROR_REPORT_LIMIT:BOOL=OFF

//Limit of reported warnings, -1 reports all.
DART_BUILD_WARNING_REPORT_LIMIT:BOOL=OFF

//If you have Dart installed, where is it located?
DART_ROOT:PATH=DART_ROOT-NOTFOUND

//Time alloted for a test before Dart will kill the test.
DART_TESTING_TIMEOUT:STRING=1500

//Show the actual output of the build, or if off show a . for each
// 1024 bytes.
DART_VERBOSE_BUILD:BOOL=OFF

//Should Dart server send email when build errors are found in
// Continuous builds?
DELIVER_CONTINUOUS_EMAIL:BOOL=Off

//Value Computed by CMake
FilteringExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Filtering

//Value Computed by CMake
FilteringExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Filtering

//Value Computed by CMake
GDCM_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/gdcm

//Value Computed by CMake
GDCM_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/gdcm

//Path to gunzip executable
GUNZIPCOMMAND:FILEPATH=/bin/gunzip

//Value Computed by CMake
IOExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/IO

//Value Computed by CMake
IOExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/IO

//Dependencies for the target
ITKAlgorithms_LIB_DEPENDS:STATIC=ITKNumerics;ITKStatistics;

//Dependencies for the target
ITKBasicFilters_LIB_DEPENDS:STATIC=ITKCommon;

//Dependencies for the target
ITKCommon_LIB_DEPENDS:STATIC=itkvnl_inst;itksys;-lpthread;-ldl;-lm;

//Dependencies for target
ITKDICOMParser_LIB_DEPENDS:STATIC=

//Value Computed by CMake
ITKEXPAT_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/expat

//Dependencies for target
ITKEXPAT_LIB_DEPENDS:STATIC=

//Value Computed by CMake
ITKEXPAT_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/expat

//Dependencies for the target
ITKFEM_LIB_DEPENDS:STATIC=ITKNumerics;ITKCommon;ITKBasicFilters;ITKIO;-lm;

//Dependencies for the target
ITKIO_LIB_DEPENDS:STATIC=ITKCommon;ITKNrrdIO;itkjpeg8;itkjpeg12;itkjpeg16;itkgdcm;itkpng;itkzlib;itktiff;ITKSpatialObject;ITKMetaIO;ITKDICOMParser;ITKEXPAT;ITKniftiio;

//Value Computed by CMake
ITKJPEG_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/itkjpeg

//Value Computed by CMake
ITKJPEG_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/itkjpeg

//Dependencies for the target
ITKMetaIO_LIB_DEPENDS:STATIC=itkzlib;

//Value Computed by CMake
ITKNrrdIO_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/NrrdIO

//Dependencies for the target
ITKNrrdIO_LIB_DEPENDS:STATIC=itkzlib;

//Value Computed by CMake
ITKNrrdIO_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/NrrdIO

//Dependencies for the target
ITKNumerics_LIB_DEPENDS:STATIC=ITKCommon;

//Value Computed by CMake
ITKPNG_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/png

//Value Computed by CMake
ITKPNG_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/png

//Dependencies for the target
ITKSpatialObject_LIB_DEPENDS:STATIC=ITKNumerics;ITKCommon;ITKMetaIO;

//Dependencies for the target
ITKStatistics_LIB_DEPENDS:STATIC=ITKCommon;

//Value Computed by CMake
ITKTIFF_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/tiff

//Value Computed by CMake
ITKTIFF_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/tiff

//Value Computed by CMake
ITKTesting_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Testing

//Value Computed by CMake
ITKTesting_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Testing

//Value Computed by CMake
ITKZLIB_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/zlib

//Value Computed by CMake
ITKZLIB_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/zlib

//Value Computed by CMake
ITK_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0

//Build cswig Java wrapper support
ITK_CSWIG_JAVA:BOOL=OFF

//Build cswig Python wrapper support (requires CableSwig).
ITK_CSWIG_PYTHON:BOOL=OFF

//Build cswig Tcl wrapper support (requires CableSwig).
ITK_CSWIG_TCL:BOOL=OFF

//What is the path where the file ITKData.readme can be found
ITK_DATA_ROOT:PATH=/data/src/InsightToolkit-2.2.0/Testing/Data

//BETA-Try to explicitly build some of the core templates explictitly
// rather than over and over again.
ITK_EXPLICIT_INSTANTIATION:BOOL=OFF

//Value Computed by CMake
ITK_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0

//Build algorithms that are covered with Patents. It is YOUR responsibility
// to obtain a license from the patent holder in order to use these
// methods.
ITK_USE_PATENTED:BOOL=OFF

//Use the system's png library.
ITK_USE_SYSTEM_PNG:BOOL=OFF

//Use the system's tiff library.
ITK_USE_SYSTEM_TIFF:BOOL=OFF

//Use an outside build of VXL.
ITK_USE_SYSTEM_VXL:BOOL=OFF

//Use the system's zlib library.
ITK_USE_SYSTEM_ZLIB:BOOL=OFF

//Dependencies for the target
ITKniftiio_LIB_DEPENDS:STATIC=ITKznz;-lm;

//Dependencies for the target
ITKznz_LIB_DEPENDS:STATIC=itkzlib;

//Value Computed by CMake
ImageExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Image

//Value Computed by CMake
ImageExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Image

//Value Computed by CMake
ImageRegistration_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Registration

//Value Computed by CMake
ImageRegistration_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Registration

//Value Computed by CMake
ImageSegmentation_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Segmentation

//Value Computed by CMake
ImageSegmentation_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Segmentation

//Value Computed by CMake
IteratorExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Iterators

//Value Computed by CMake
IteratorExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Iterators

//Path to java command, used by the Dart server to create html.
//
JAVACOMMAND:FILEPATH=/usr/java/j2sdk1.4.2_05/bin/java

//Command used to build entire project from the command line.
MAKECOMMAND:STRING=/usr/bin/gmake -i

//Path to Rational purify command, used for memory error detection.
//
MEMORYCHECK_COMMAND:FILEPATH=/usr/bin/valgrind

//File that contains suppressions for the memmory checker
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=

//Value Computed by CMake
MeshExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Mesh

//Value Computed by CMake
MeshExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Mesh

//Value Computed by CMake
NIFTILIB_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/nifti/niftilib

//Value Computed by CMake
NIFTILIB_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/nifti/niftilib

//Value Computed by CMake
NIFTI_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/nifti

//Value Computed by CMake
NIFTI_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/nifti

//Value Computed by CMake
NumericsExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Numerics

//Value Computed by CMake
NumericsExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Numerics

//Value Computed by CMake
PathExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Path

//Value Computed by CMake
PathExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Path

//Path to scp command, used by some Dart clients for submitting
// results to a Dart server (when not using ftp for submissions)
//
SCPCOMMAND:FILEPATH=/usr/bin/scp

//Name of the computer/site where compile is being run
SITE:STRING=birch

//Value Computed by CMake
SpatialObjectsExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/SpatialObjects

//Value Computed by CMake
SpatialObjectsExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/SpatialObjects

//Value Computed by CMake
StatisticsExamples_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Statistics

//Value Computed by CMake
StatisticsExamples_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Examples/Statistics

//Path to a program.
TCL_TCLSH:FILEPATH=/usr/bin/tclsh

//Use the FFTW v3 library
USE_FFTW:BOOL=OFF

//Use the SGI SCSL High Performance Computing math library
USE_SCSL:BOOL=OFF

//Whether vnl_vector/vnl_matrix accessor methods check index bounds.
//
VNL_CONFIG_CHECK_BOUNDS:BOOL=ON

//Whether backward-compatibility methods are provided by vnl.
VNL_CONFIG_LEGACY_METHODS:BOOL=OFF

//Whether thread-safe vnl implementations are used.
VNL_CONFIG_THREAD_SAFE:BOOL=ON

//What is the path where the file avfCROP.1023c.raw can be found
//
VW_RAW_DATA_PATH:PATH=VW_RAW_DATA_PATH-NOTFOUND

//Re-run the configuration tests?
VXL_UPDATE_CONFIGURATION:BOOL=OFF

//What is the path where the file X11/X.h can be found
X11_X11_INCLUDE_PATH:PATH=/usr/X11R6/include

//Where can the X11 library be found
X11_X11_LIB:FILEPATH=/usr/X11R6/lib64/libX11.so

//Where can the Xext library be found
X11_Xext_LIB:FILEPATH=/usr/X11R6/lib64/libXext.so

//What is the path where the file X11/Xlib.h can be found
X11_Xlib_INCLUDE_PATH:PATH=/usr/X11R6/include

//What is the path where the file X11/Xutil.h can be found
X11_Xutil_INCLUDE_PATH:PATH=/usr/X11R6/include

//Value Computed by CMake
ZNZLIB_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/nifti/znzlib

//Value Computed by CMake
ZNZLIB_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/nifti/znzlib

//Value Computed by CMake
itkdicomparser_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/DICOMParser

//Value Computed by CMake
itkdicomparser_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/DICOMParser

//Dependencies for the target
itkgdcm_LIB_DEPENDS:STATIC=itkjpeg8;itkjpeg12;itkjpeg16;

//Dependencies for target
itkjpeg12_LIB_DEPENDS:STATIC=

//Dependencies for target
itkjpeg16_LIB_DEPENDS:STATIC=

//Dependencies for target
itkjpeg8_LIB_DEPENDS:STATIC=

//Dependencies for the target
itknetlib_LIB_DEPENDS:STATIC=m;

//Dependencies for the target
itkpng_LIB_DEPENDS:STATIC=itkzlib;-lm;

//Value Computed by CMake
itksys_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/kwsys

//Dependencies for target
itksys_LIB_DEPENDS:STATIC=

//Value Computed by CMake
itksys_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/kwsys

//Dependencies for the target
itktestlib_LIB_DEPENDS:STATIC=itkvcl;

//Dependencies for the target
itktiff_LIB_DEPENDS:STATIC=itkzlib;itkjpeg8;-lm;

//Dependencies for the target
itkvcl_LIB_DEPENDS:STATIC=m;

//Dependencies for the target
itkvnl_LIB_DEPENDS:STATIC=itkvcl;

//Dependencies for the target
itkvnl_algo_LIB_DEPENDS:STATIC=itknetlib;itkvnl;

//Dependencies for the target
itkvnl_inst_LIB_DEPENDS:STATIC=itkvnl;itkvnl_algo;itknetlib;

//Dependencies for target
itkzlib_LIB_DEPENDS:STATIC=

//Value Computed by CMake
vcl_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl/vcl

//Value Computed by CMake
vcl_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl/vcl

//Value Computed by CMake
vxl_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl

//Value Computed by CMake
vxl_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl

//Value Computed by CMake
vxl_config_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl/config/cmake/config

//Value Computed by CMake
vxl_config_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl/config/cmake/config

//Value Computed by CMake
vxlcore_BINARY_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl/core

//Value Computed by CMake
vxlcore_SOURCE_DIR:STATIC=/data/src/InsightToolkit-2.2.0/Utilities/vxl/core


########################
# INTERNAL cache entries
########################

...
......
...
...
//Result of TRY_COMPILE
CMAKE_ANSI_FOR_SCOPE:INTERNAL=TRUE
//Have include iostream
CMAKE_ANSI_STREAM_HEADERS:INTERNAL=1
//Advanced flag for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_BACKWARDS_COMPATIBILITY
CMAKE_BACKWARDS_COMPATIBILITY-ADVANCED:INTERNAL=0
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/gmake
//This is the directory where this CMakeCahe.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/data/src/InsightToolkit-2.2.0
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
//Minor version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MINOR_VERSION:INTERNAL=0
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 3
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/local/bin/cmake
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/bin/ctest
//Advanced flag for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//full path to the compiler cmake found
CMAKE_CXX_COMPILER_FULLPATH:INTERNAL=/usr/bin/c++
//Result of TRY_COMPILE
CMAKE_CXX_COMPILER_WORKS:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//full path to the compiler cmake found
CMAKE_C_COMPILER_FULLPATH:INTERNAL=/usr/bin/gcc
//Result of TRY_COMPILE
CMAKE_C_COMPILER_WORKS:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/local/bin/ccmake
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Have include sstream
CMAKE_HAS_ANSI_STRING_STREAM:INTERNAL=1
//Is X11 around.
CMAKE_HAS_X:INTERNAL=1
//Have function connect
CMAKE_HAVE_CONNECT:INTERNAL=1
//Have function gethostbyname
CMAKE_HAVE_GETHOSTBYNAME:INTERNAL=1
//Have include inttypes.h
CMAKE_HAVE_INTTYPES_H:INTERNAL=1
//Have include limits.h
CMAKE_HAVE_LIMITS_H:INTERNAL=1
//Have include CMAKE_HAVE_NETINET_IN_H
CMAKE_HAVE_NETINET_IN_H:INTERNAL=1
//Have include CMAKE_HAVE_NET_IF_ARP_H
CMAKE_HAVE_NET_IF_ARP_H:INTERNAL=1
//Have includes CMAKE_HAVE_NET_IF_DL_H
CMAKE_HAVE_NET_IF_DL_H:INTERNAL=
//Have include CMAKE_HAVE_NET_IF_H
CMAKE_HAVE_NET_IF_H:INTERNAL=1
//Have library pthreads
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
//Have include pthread.h
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Have function remove
CMAKE_HAVE_REMOVE:INTERNAL=1
//Have function shmat
CMAKE_HAVE_SHMAT:INTERNAL=1
//Have include stdint.h
CMAKE_HAVE_STDINT_H:INTERNAL=1
//Have include CMAKE_HAVE_STDLIB_H
CMAKE_HAVE_STDLIB_H:INTERNAL=1
//Have include CMAKE_HAVE_SYS_IOCTL_H
CMAKE_HAVE_SYS_IOCTL_H:INTERNAL=1
//Have include sys/prctl.h
CMAKE_HAVE_SYS_PRCTL_H:INTERNAL=1
//Have include CMAKE_HAVE_SYS_SOCKET_H
CMAKE_HAVE_SYS_SOCKET_H:INTERNAL=1
//Have includes CMAKE_HAVE_SYS_SOCKIO_H
CMAKE_HAVE_SYS_SOCKIO_H:INTERNAL=
//Have include unistd.h
CMAKE_HAVE_UNISTD_H:INTERNAL=1
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/data/src/InsightToolkit-2.2.0
//Advanced flag for variable: CMAKE_HP_PTHREADS
CMAKE_HP_PTHREADS-ADVANCED:INTERNAL=1
//Have library ICE
CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER:INTERNAL=1
//Advanced flag for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
//
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Does the compiler support ansi for scope.
CMAKE_NO_ANSI_FOR_SCOPE:INTERNAL=0
//Does the compiler support headers like iostream.
CMAKE_NO_ANSI_STREAM_HEADERS:INTERNAL=0
//Does the compiler support std::.
CMAKE_NO_STD_NAMESPACE:INTERNAL=0
//Advanced flag for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/local/share/CMake
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
//
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
//
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Result of TRY_RUN
CMAKE_SIZEOF_CHAR:INTERNAL=1
//Result of TRY_RUN
CMAKE_SIZEOF_DOUBLE:INTERNAL=8
//Result of TRY_RUN
CMAKE_SIZEOF_FLOAT:INTERNAL=4
//Result of TRY_RUN
CMAKE_SIZEOF_INT:INTERNAL=4
//Result of TRY_RUN
CMAKE_SIZEOF_LONG:INTERNAL=8
//Result of TRY_RUN
CMAKE_SIZEOF_SHORT:INTERNAL=2
//Result of TRY_RUN
CMAKE_SIZEOF_VOID_P:INTERNAL=8
//Advanced flag for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_STD_NAMESPACE:INTERNAL=TRUE
//Advanced flag for variable: CMAKE_THREAD_LIBS
CMAKE_THREAD_LIBS-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/bin/uname
//Advanced flag for variable: CMAKE_USE_PTHREADS
CMAKE_USE_PTHREADS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_USE_SPROC
CMAKE_USE_SPROC-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_USE_WIN32_THREADS
CMAKE_USE_WIN32_THREADS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Result of TRY_RUN
CMAKE_WORDS_BIGENDIAN:INTERNAL=0
//Advanced flag for variable: CMAKE_X_CFLAGS
CMAKE_X_CFLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_X_LIBS
CMAKE_X_LIBS-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
COMPILE_RESULT:INTERNAL=TRUE
//Advanced flag for variable: COMPRESSIONCOMMAND
COMPRESSIONCOMMAND-ADVANCED:INTERNAL=1
//Advanced flag for variable: COVERAGE_COMMAND
COVERAGE_COMMAND-ADVANCED:INTERNAL=1
//Advanced flag for variable: CVSCOMMAND
CVSCOMMAND-ADVANCED:INTERNAL=1
//Advanced flag for variable: CVS_UPDATE_OPTIONS
CVS_UPDATE_OPTIONS-ADVANCED:INTERNAL=1
//Path to an executable
.
.
.
.
.

//Advanced flag for variable: JAVACOMMAND
JAVACOMMAND-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_CXX_HAS_CSTDDEF_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_CXX_HAS_FULL_SPECIALIZATION_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_CXX_HAS_MEMBER_TEMPLATES_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS_COMPILED:INTERNAL=FALSE
//Result of TRY_COMPILE
KWSYS_IOS_HAVE_STD_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_IOS_USE_ANSI_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_IOS_USE_SSTREAM_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STAT_HAS_ST_MTIM_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT_COMPILED:INTERNAL=FALSE
//Result of TRY_COMPILE
KWSYS_STL_HAS_ALLOCATOR_OBJECTS_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STL_HAS_ALLOCATOR_REBIND_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STL_HAS_ALLOCATOR_TEMPLATE_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STL_HAS_ITERATOR_TRAITS_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STL_HAVE_STD_COMPILED:INTERNAL=TRUE
//Result of TRY_COMPILE
KWSYS_STL_STRING_HAVE_NEQ_CHAR_COMPILED:INTERNAL=TRUE
//Path to an executable
KdTreeBasedKMeansClustering_CMAKE_PATH:INTERNAL=/data/src/InsightToolkit-2.2.0/Examples/Statistics
//Path to an executable
KdTree_CMAKE_PATH:INTERNAL=/data/src/InsightToolkit-2.2.0/Examples/Statistics
//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:INTERNAL=/data/src/InsightToolkit-2.2.0/bin
//Path to an executable
LandmarkSpatialObject_CMAKE_PATH:INTERNAL=/data/src/InsightToolkit-2.2.0/Examples/SpatialObjects
//Path to an executable
.
.
.
//Advanced flag for variable: MAKECOMMAND
MAKECOMMAND-ADVANCED:INTERNAL=1
//Advanced flag for variable: MEMORYCHECK_COMMAND
MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1
//Advanced flag for variable: MEMORYCHECK_SUPPRESSIONS_FILE
MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1
//Path to an executable
.
.
.
.
//Advanced flag for variable: USE_FFTW
USE_FFTW-ADVANCED:INTERNAL=1
//Advanced flag for variable: USE_SCSL
USE_SCSL-ADVANCED:INTERNAL=1
//VXL test
VCL_ALLOWS_INLINE_INSTANTIATION:INTERNAL=1
//VXL test
VCL_ALLOWS_NAMESPACE_STD:INTERNAL=1
//VXL test
VCL_CANNOT_SPECIALIZE_CV:INTERNAL=1
//VXL test
VCL_CAN_DO_COMPLETE_DEFAULT_TYPE_PARAMETER:INTERNAL=1
//VXL test
VCL_CAN_DO_IMPLICIT_TEMPLATES:INTERNAL=1
//VXL test
VCL_CAN_DO_NON_TYPE_FUNCTION_TEMPLATE_PARAMETER:INTERNAL=1
//VXL test
VCL_CAN_DO_PARTIAL_SPECIALIZATION:INTERNAL=1
//VXL test
VCL_CAN_DO_STATIC_TEMPLATE_MEMBER:INTERNAL=1
//VXL test
VCL_CAN_DO_TEMPLATE_DEFAULT_TYPE_PARAMETER:INTERNAL=1
//VXL test  (successful run)
VCL_CHAR_IS_SIGNED:INTERNAL=1
//Result of TRY_COMPILE
VCL_CHAR_IS_SIGNED_COMPILED:INTERNAL=TRUE
//Test  (failed to run)
VCL_COMPLEX_POW_WORKS:INTERNAL=0
//Result of TRY_COMPILE
VCL_COMPLEX_POW_WORKS_COMPILED:INTERNAL=TRUE
//Have include algorithm
VCL_CXX_HAS_HEADER_ALGORITHM:INTERNAL=1
//Have include bitset
......=1
......=1
........
........
VCL_HAS_NAMESPACES:INTERNAL=1
//VXL test
VCL_HAS_RTTI:INTERNAL=1
//VXL test  (successful run)
VCL_HAS_SLICED_DESTRUCTOR_BUG:INTERNAL=1
//Result of TRY_COMPILE
VCL_HAS_SLICED_DESTRUCTOR_BUG_COMPILED:INTERNAL=TRUE
//Test  (failed to compile)
VCL_HAS_TEMPLATE_SYMBOLS:INTERNAL=0
//Result of TRY_COMPILE
VCL_HAS_TEMPLATE_SYMBOLS_COMPILED:INTERNAL=FALSE
//VXL test
VCL_HAS_TYPENAME:INTERNAL=1
//VXL test  (successful run)
VCL_HAS_WORKING_STRINGSTREAM:INTERNAL=1
//Result of TRY_COMPILE
VCL_HAS_WORKING_STRINGSTREAM_COMPILED:INTERNAL=TRUE
//VXL test
VCL_NEEDS_INLINE_INSTANTIATION:INTERNAL=1
//Test
VCL_NEEDS_NAMESPACE_STD:INTERNAL=0
//VXL test
VCL_NEED_FRIEND_FOR_TEMPLATE_OVERLOAD:INTERNAL=1
//VXL test
VCL_NO_STATIC_DATA_MEMBERS:INTERNAL=1
//Test
VCL_NULL_TMPL_ARGS:INTERNAL=0
//VXL test  (successful run)
VCL_NUMERIC_LIMITS_HAS_INFINITY:INTERNAL=1
//Result of TRY_COMPILE
VCL_NUMERIC_LIMITS_HAS_INFINITY_COMPILED:INTERNAL=TRUE
//VXL test
VCL_OVERLOAD_CAST:INTERNAL=1
//VXL test  (successful run)
VCL_PROCESSOR_HAS_INFINITY:INTERNAL=1
//Result of TRY_COMPILE
VCL_PROCESSOR_HAS_INFINITY_COMPILED:INTERNAL=TRUE
//VXL test
VCL_STATIC_CONST_INIT_FLOAT:INTERNAL=1
//VXL test
VCL_STATIC_CONST_INIT_INT:INTERNAL=1
//Test
VCL_STATIC_CONST_INIT_NO_DEFN:INTERNAL=0
//VXL test
VCL_SUNPRO_CLASS_SCOPE_HACK:INTERNAL=1
//VXL test
VCL_TEMPLATE_MATCHES_TOO_OFTEN:INTERNAL=1
//Are we using an version of gcc < 3.0
VNL_COMPILER_IS_GNUCXX_2XX:INTERNAL=0
//Advanced flag for variable: VNL_CONFIG_CHECK_BOUNDS
VNL_CONFIG_CHECK_BOUNDS-ADVANCED:INTERNAL=1
//Advanced flag for variable: VNL_CONFIG_LEGACY_METHODS
VNL_CONFIG_LEGACY_METHODS-ADVANCED:INTERNAL=1
//Advanced flag for variable: VNL_CONFIG_THREAD_SAFE
VNL_CONFIG_THREAD_SAFE-ADVANCED:INTERNAL=1
//Advanced flag for variable: VW_RAW_DATA_PATH
VW_RAW_DATA_PATH-ADVANCED:INTERNAL=1
//Result of TRY_RUN
VXL_BIG_ENDIAN:INTERNAL=0
//VXL test result
VXL_BYTE:INTERNAL=char
//Serial number of last configuration
VXL_CONFIG_SERIAL_LAST:INTERNAL=2004-02-10-001
//Have symbol finite
VXL_C_MATH_HAS_FINITE:INTERNAL=1
//Have symbol finitef
VXL_C_MATH_HAS_FINITEF:INTERNAL=1
//Have symbol finitel
VXL_C_MATH_HAS_FINITEL:INTERNAL=1
//Have symbol sqrtf
VXL_C_MATH_HAS_SQRTF:INTERNAL=1
//VXL test result
VXL_HAS_BYTE:INTERNAL=1
//Have include ieeefp.h
VXL_HAS_IEEEFP_H:INTERNAL=
//VXL test result
VXL_HAS_IEEE_128:INTERNAL=1
//VXL test result
VXL_HAS_IEEE_32:INTERNAL=1
//VXL test result
VXL_HAS_IEEE_64:INTERNAL=1
//VXL test result
VXL_HAS_IEEE_96:INTERNAL=0
//VXL test result
VXL_HAS_INT_16:INTERNAL=1
//VXL test result
VXL_HAS_INT_32:INTERNAL=1
//VXL test result
VXL_HAS_INT_64:INTERNAL=1
//VXL test result
VXL_HAS_INT_8:INTERNAL=1
//Have include pthread.h
VXL_HAS_PTHREAD_H:INTERNAL=1
//Have include semaphore.h
VXL_HAS_SEMAPHORE_H:INTERNAL=1
//Have symbol finite
VXL_IEEEFP_HAS_FINITE:INTERNAL=
//VXL test result
VXL_IEEE_128:INTERNAL=long double
//VXL test result
VXL_IEEE_32:INTERNAL=float
//VXL test result
VXL_IEEE_64:INTERNAL=double
//VXL test result
VXL_IEEE_96:INTERNAL=void
//VXL test result
VXL_INT_16:INTERNAL=short
//VXL test result
VXL_INT_32:INTERNAL=int
//VXL test result
VXL_INT_64:INTERNAL=long
//VXL test result
VXL_INT_8:INTERNAL=char
//Have symbol drand48
VXL_STDLIB_HAS_DRAND48:INTERNAL=1
//Have symbol lrand48
VXL_STDLIB_HAS_LRAND48:INTERNAL=1
//VXL test
VXL_STDLIB_HAS_QSORT:INTERNAL=1
//Have symbol srand48
VXL_STDLIB_HAS_SRAND48:INTERNAL=1
//Have symbol intptr_t
VXL_UNISTD_HAS_INTPTR_T:INTERNAL=1
//Have function lchown
VXL_UNISTD_HAS_LCHOWN:INTERNAL=1
//Have function pread
VXL_UNISTD_HAS_PREAD:INTERNAL=1
//Have function pwrite
VXL_UNISTD_HAS_PWRITE:INTERNAL=1
//Have function tell
VXL_UNISTD_HAS_TELL:INTERNAL=
//Have function ualarm
VXL_UNISTD_HAS_UALARM:INTERNAL=1
//Have symbol useconds_t
VXL_UNISTD_HAS_USECONDS_T:INTERNAL=1
//Have function usleep
VXL_UNISTD_HAS_USLEEP:INTERNAL=1
//VXL test
VXL_UNISTD_USLEEP_IS_VOID:INTERNAL=1
//Advanced flag for variable: VXL_UPDATE_CONFIGURATION
VXL_UPDATE_CONFIGURATION-ADVANCED:INTERNAL=1
//Path to an executable
..
..
.





Luis Ibanez wrote:

>
> Hi Siwei,
>
> What version of the GCC compiler are you using ?
>
> Can you please post to the list the file
>
>              CMakeCache.txt
>
> that CMake generated in your binary directory.
>
>
>
> Thanks
>
>
>
>    Luis
>
>
> -------------------
> Siwei Yang wrote:
>
>> Dear all,
>> I 'm working on : AMD Opteron, 64 bit, 1792.785Mh ; SUSE 9.1
>>
>> Now I have 2 curious problems with ITK 2.2.0:
>> 1.
>> I want to use ITK 2.2.0 which is the current release. But after I set
>> the BUILD_EXAMPLES as ON  in Cmake, I get the following errors during 
>> the compilation of ITK. Does anybody have the same problem?
>> ............
>> ...........
>> ...........
>> /data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Mesh:
>> building default_target
>> Building dependencies. cmake.depends...
>> /data/src/InsightToolkit-2.2.0/Examples/DataRepresentation/Path:
>> building default_target
>> Building dependencies. cmake.depends...
>> /data/src/InsightToolkit-2.2.0/Examples/Filtering: building 
>> default_target
>> Building dependencies. cmake.depends...
>> Building executable
>> /data/src/InsightToolkit-2.2.0/bin/FFTImageFilterFourierDomainFiltering... 
>>
>> FFTImageFilterFourierDomainFiltering.o(.gnu.linkonce.t._ZN3itk24BinaryFunctorImageFilterINS_5ImageISt7complexIfELj2EEENS1_IhLj2EEES4_NS_7Functor9MaskInputIS3_hS3_EEEC2Ev+0x18): 
>>
>> In function
>> `itk::BinaryFunctorImageFilter<itk::Image<std::complex<float>,
>> (unsigned)2>, itk::Image<unsigned char, (unsigned)2>,
>> itk::Image<std::complex<float>, (unsigned)2>,
>> itk::Functor::MaskInput<std::complex<float>, unsigned char,
>> std::complex<float> > >::BinaryFunctorImageFilter[not-in-charge]()':
>> : undefined reference to `itk::NumericTraits<std::complex<float> 
>> >::Zero'
>> FFTImageFilterFourierDomainFiltering.o(.gnu.linkonce.t._ZN3itk24BinaryFunctorImageFilterINS_5ImageISt7complexIfELj2EEENS1_IhLj2EEES4_NS_7Functor9MaskInputIS3_hS3_EEEC2Ev+0x1e): 
>>
>> In function
>> `itk::BinaryFunctorImageFilter<itk::Image<std::complex<float>,
>> (unsigned)2>, itk::Image<unsigned char, (unsigned)2>,
>> itk::Image<std::complex<float>, (unsigned)2>,
>> itk::Functor::MaskInput<std::complex<float>, unsigned char,
>> std::complex<float> > >::BinaryFunctorImageFilter[not-in-charge]()':
>> : undefined reference to `itk::NumericTraits<std::complex<float> 
>> >::Zero'
>> FFTImageFilterFourierDomainFiltering.o(.gnu.linkonce.t._ZN3itk24BinaryFunctorImageFilterINS_5ImageISt7complexIfELj2EEENS1_IhLj2EEES4_NS_7Functor9MaskInputIS3_hS3_EEEC1Ev+0x18): 
>>
>> In function
>> `itk::BinaryFunctorImageFilter<itk::Image<std::complex<float>,
>> (unsigned)2>, itk::Image<unsigned char, (unsigned)2>,
>> itk::Image<std::complex<float>, (unsigned)2>,
>> itk::Functor::MaskInput<std::complex<float>, unsigned char,
>> std::complex<float> > >::BinaryFunctorImageFilter[in-charge]()':
>> : undefined reference to `itk::NumericTraits<std::complex<float> 
>> >::Zero'
>> FFTImageFilterFourierDomainFiltering.o(.gnu.linkonce.t._ZN3itk24BinaryFunctorImageFilterINS_5ImageISt7complexIfELj2EEENS1_IhLj2EEES4_NS_7Functor9MaskInputIS3_hS3_EEEC1Ev+0x1e): 
>>
>> In function
>> `itk::BinaryFunctorImageFilter<itk::Image<std::complex<float>,
>> (unsigned)2>, itk::Image<unsigned char, (unsigned)2>,
>> itk::Image<std::complex<float>, (unsigned)2>,
>> itk::Functor::MaskInput<std::complex<float>, unsigned char,
>> std::complex<float> > >::BinaryFunctorImageFilter[in-charge]()':
>> : undefined reference to `itk::NumericTraits<std::complex<float> 
>> >::Zero'
>> collect2: ld returned 1 exit status
>> make[5]: ***
>> [/data/src/InsightToolkit-2.2.0/bin/FFTImageFilterFourierDomainFiltering] 
>>
>> Error 1
>> make[4]: *** [default_target] Error 2
>> make[3]: *** [default_target_Filtering] Error 2
>> make[2]: *** [default_target] Error 2
>> make[1]: *** [default_target_Examples] Error 2
>> make: *** [default_target] Error 2
>> ------------------------------------------------------------------------------- 
>>
>> 2.
>> Ok , you can say,  I don't need these examples. So I set the
>> BUILD_EXAMPLES as OFF, the compilation and installation was successfull.
>> But using this version (ITK 2.2.0) I get run time error "Segmentation
>> fault" in my application, where a image should be read at first. 
>> Namely, when I called the function FileReader->Update(),  the program 
>> crashed. And the same program can run with the older verion without 
>> any problems.  Does anyone experience that before?
>>
>>
>> Thanks
>> Siwei
>>
>>
>> _______________________________________________
>> 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