[Insight-users] installation problem

imho imho@skynet.be
Thu, 21 Nov 2002 22:43:08 +0100


Hi Luis,
here is the cmakecache in itk build dir :

# This is the CMakeCache file.
# For build in directory: c:/Program Files/itk
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a varible in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

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

//Build the examples directory
BUILD_EXAMPLES:BOOL=OFF

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

//Select whether the visualization functions will be built for
// Finite Elements Modeling (FEM) classes or not. If you select
// to build visualization functions, be sure to define 
FEM_BUILD_VISUALIZATION
// macro before including the FEM classes.
FEM_VISUALIZATION:BOOL=OFF

//Dependencies for the target
ITKAlgorithms_LIB_DEPENDS:STATIC=opengl32;ITKCommon;ITKNumerics;

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

//Dependencies for the target
ITKCommon_LIB_DEPENDS:STATIC=opengl32;VXLNumerics;

//Dependencies for the target
ITKFEM_LIB_DEPENDS:STATIC=opengl32;VXLNumerics;ITKNumerics;ITKCommon;ITKBasicFilters;ITKIO;

//Dependencies for the target
ITKIO_LIB_DEPENDS:STATIC=opengl32;ITKCommon;itkpng;itkzlib;ITKMetaIO;

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

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

//Value Computed by CMake
ITKPNG_BINARY_DIR:STATIC=C:/Program Files/itk/Utilities/png

//Value Computed by CMake
ITKPNG_SOURCE_DIR:STATIC=C:/internet/VTK/ITK/InsightToolkit-1.0.0/InsightToolkit-1.0.0/Utilities/png

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

//Value Computed by CMake
ITKZLIB_BINARY_DIR:STATIC=C:/Program Files/itk/Utilities/zlib

//Value Computed by CMake
ITKZLIB_SOURCE_DIR:STATIC=C:/internet/VTK/ITK/InsightToolkit-1.0.0/InsightToolkit-1.0.0/Utilities/zlib

//Value Computed by CMake
ITK_BINARY_DIR:STATIC=C:/Program Files/itk

//What is the path where the file ITKData.readme can be found
ITK_DATA_ROOT:PATH=C:/internet/VTK/ITK/InsightToolkit-1.0.0/InsightToolkit-1.0.0/Testing/Data

//Value Computed by CMake
ITK_SOURCE_DIR:STATIC=C:/internet/VTK/ITK/InsightToolkit-1.0.0/InsightToolkit-1.0.0

//Use the system's version of the standard C++ library (STL and
// streams). If 'OFF', ITK will build against a supplied version
// of the standard library from SGI. On SGI systems, this should
// be set to 'OFF'.
ITK_USE_SYSTEM_STDLIB:BOOL=ON

//Build Tcl wrapper support.
ITK_WRAP_TCL:BOOL=OFF

//OpenGL library for win32
OPENGL_gl_LIBRARY:STRING=opengl32

//GLU library for win32
OPENGL_glu_LIBRARY:STRING=glu32

//Use a built (versus installed) version of VTK. Be sure that 
VTK_BINARY_PATH
// is correct.
USE_BUILT_VTK:BOOL=ON

//Use FLTK (The Fast Light Toolkit) for GUI (some examples need
// this)
USE_FLTK:BOOL=OFF

//Use an installed (versus built from source) version of VTK. Be
// sure that VTK_INSTALL_PATH is correct.
USE_INSTALLED_VTK:BOOL=OFF

//Use VTK (The Visualization Toolkit) (some examples need this)
//
USE_VTK:BOOL=ON

//What is the path where the file UseVTK.cmake can be found
VTK_BINARY_PATH:PATH=C:/Program Files/vtk40

//What is the path where the file include/vtk/UseVTK.cmake can
// be found
VTK_INSTALL_PATH:PATH=C:/PROGRA~1/vtk40

//Path to a program.
VTK_WRAP_PYTHON_EXE:FILEPATH=NOTFOUND

//Path to a program.
VTK_WRAP_TCL_EXE:FILEPATH=NOTFOUND

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

//Dependencies for the target
VXLNumerics_LIB_DEPENDS:STATIC=opengl32;

//Dependencies for the target
itkpng_LIB_DEPENDS:STATIC=opengl32;itkzlib;

//Dependencies for the target
itkzlib_LIB_DEPENDS:STATIC=opengl32;


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

//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=msdev
//This is the directory where this CMakeCahe.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/Program Files/itk
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=1
//Minor version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MINOR_VERSION:INTERNAL=4
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe
//DO NOT EDIT, CMAKE_CXX_COMPILER loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
CMAKE_CXX_COMPILER:INTERNAL=cl
//Advanced flag for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//DO NOT EDIT, CMAKE_CXX_FLAGS loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
CMAKE_CXX_FLAGS:INTERNAL=/nologo /W3 /Zm1000 /GX /GR
//DO NOT EDIT, CMAKE_CXX_FLAGS_DEBUG loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
CMAKE_CXX_FLAGS_DEBUG:INTERNAL=/MDd /Zi /Od /GZ
//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//DO NOT EDIT, CMAKE_CXX_FLAGS_MINSIZEREL loaded from external
// file.  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
CMAKE_CXX_FLAGS_MINSIZEREL:INTERNAL=/MD /O1
//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//DO NOT EDIT, CMAKE_CXX_FLAGS_RELEASE loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
CMAKE_CXX_FLAGS_RELEASE:INTERNAL=/MD /O2
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//DO NOT EDIT, CMAKE_CXX_FLAGS_RELWITHDEBINFO loaded from external
// file.  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
CMAKE_CXX_FLAGS_RELWITHDEBINFO:INTERNAL=/MD /Zi /O2
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake/bin/CMakeSetup.exe
//Executable suffix.
CMAKE_EXECUTABLE_SUFFIX:INTERNAL=.exe
//Advanced flag for variable: CMAKE_EXECUTABLE_SUFFIX
CMAKE_EXECUTABLE_SUFFIX-ADVANCED:INTERNAL=1
//DO NOT EDIT, CMAKE_EXTRA_LINK_FLAGS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
CMAKE_EXTRA_LINK_FLAGS:INTERNAL=/STACK:10000000
//Advanced flag for variable: CMAKE_EXTRA_LINK_FLAGS
CMAKE_EXTRA_LINK_FLAGS-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 6
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/internet/VTK/ITK/InsightToolkit-1.0.0/InsightToolkit-1.0.0
//DO NOT EDIT, CMAKE_MAKE_PROGRAM loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
CMAKE_MAKE_PROGRAM:INTERNAL=msdev
//Advanced flag for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//Module library suffix.
CMAKE_MODULE_SUFFIX:INTERNAL=.dll
//Advanced flag for variable: CMAKE_MODULE_SUFFIX
CMAKE_MODULE_SUFFIX-ADVANCED:INTERNAL=1
//Object file suffix.
CMAKE_OBJECT_FILE_SUFFIX:INTERNAL=.obj
//Advanced flag for variable: CMAKE_OBJECT_FILE_SUFFIX
CMAKE_OBJECT_FILE_SUFFIX-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake
//Shared library suffix.
CMAKE_SHLIB_SUFFIX:INTERNAL=.dll
//Advanced flag for variable: CMAKE_SHLIB_SUFFIX
CMAKE_SHLIB_SUFFIX-ADVANCED:INTERNAL=1
//Size of char data type
CMAKE_SIZEOF_CHAR:INTERNAL=1
//Size of double data type
CMAKE_SIZEOF_DOUBLE:INTERNAL=8
//Size of float data type
CMAKE_SIZEOF_FLOAT:INTERNAL=4
//Size of int data type
CMAKE_SIZEOF_INT:INTERNAL=4
//Size of long data type
CMAKE_SIZEOF_LONG:INTERNAL=4
//Size of short data type
CMAKE_SIZEOF_SHORT:INTERNAL=2
//Size of void* data type
CMAKE_SIZEOF_VOID_P:INTERNAL=4
//Static library suffix.
CMAKE_STATICLIB_SUFFIX:INTERNAL=.lib
//Advanced flag for variable: CMAKE_STATICLIB_SUFFIX
CMAKE_STATICLIB_SUFFIX-ADVANCED:INTERNAL=1
//What system is this.  Result of uname.
CMAKE_SYSTEM:INTERNAL=Win32
//DO NOT EDIT, CMAKE_USE_WIN32_THREADS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
CMAKE_USE_WIN32_THREADS:INTERNAL=1
//Advanced flag for variable: CMAKE_USE_WIN32_THREADS
CMAKE_USE_WIN32_THREADS-ADVANCED:INTERNAL=1
//DO NOT EDIT, DART_ROOT loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
DART_ROOT:INTERNAL=NOTFOUND
//Single output directory for building all executables.
EXECUTABLE_OUTPUT_PATH:INTERNAL=C:/Program Files/itk/bin
//Advanced flag for variable: EXECUTABLE_OUTPUT_PATH
EXECUTABLE_OUTPUT_PATH-ADVANCED:INTERNAL=1
//Advanced flag for variable: FEM_VISUALIZATION
FEM_VISUALIZATION-ADVANCED:INTERNAL=1
//Use VTK: The Visualization Toolkit, this is required for some
// examples but not for the ITK toolkit
HAS_VTK:INTERNAL=0
//no vtkFlWindowInteractor image support
HAS_VTK_FLTK_WINDOW_INTERACTOR:INTERNAL=0
//VTK Hybrid libraries are available
HAS_VTK_HYBRID:INTERNAL=1
//Advanced flag for variable: HAVE_LIMITS_H
HAVE_LIMITS_H-ADVANCED:INTERNAL=1
//Advanced flag for variable: HAVE_UNISTD_H
HAVE_UNISTD_H-ADVANCED:INTERNAL=1
//Path to a library
ITKAlgorithms_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/Algorithms
//Whether a library is static, shared or module.
ITKAlgorithms_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKBasicFilters_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/BasicFilters
//Whether a library is static, shared or module.
ITKBasicFilters_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKCommon_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/Common
//Whether a library is static, shared or module.
ITKCommon_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKFEM_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/Numerics/FEM
//Whether a library is static, shared or module.
ITKFEM_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKIO_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/IO
//Whether a library is static, shared or module.
ITKIO_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKMetaIO_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Utilities/MetaIO
//Whether a library is static, shared or module.
ITKMetaIO_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKNumerics_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/Numerics
//Whether a library is static, shared or module.
ITKNumerics_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
ITKStatistics_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Code/Numerics/Statistics
//Whether a library is static, shared or module.
ITKStatistics_LIBRARY_TYPE:INTERNAL=STATIC
//Where ITK executables are. Used by projects which depend on ITK.
// Do not remove.
ITK_EXECUTABLE_PATH:INTERNAL=C:/Program Files/itk/bin
//Where ITK libraries are. Used by projects which depend on ITK.
// Do not remove.
ITK_LIBRARY_PATH:INTERNAL=C:/Program Files/itk/bin
//Advanced flag for variable: ITK_USE_SYSTEM_STDLIB
ITK_USE_SYSTEM_STDLIB-ADVANCED:INTERNAL=1
//DO NOT EDIT, JAVA_AWT_INCLUDE_PATH loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
JAVA_AWT_INCLUDE_PATH:INTERNAL=C:/jbuilder5/jdk1.3/include
//DO NOT EDIT, JAVA_AWT_LIBRARY loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
JAVA_AWT_LIBRARY:INTERNAL=C:/jbuilder5/jdk1.3/lib/jawt.lib
//DO NOT EDIT, JAVA_INCLUDE_PATH loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
JAVA_INCLUDE_PATH:INTERNAL=C:/jbuilder5/jdk1.3/include
//DO NOT EDIT, JAVA_INCLUDE_PATH2 loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
JAVA_INCLUDE_PATH2:INTERNAL=C:/jbuilder5/jdk1.3/include/win32
//DO NOT EDIT, JAVE_AWT_INCLUDE_PATH loaded from external file.
//  To change this value edit this file: 
C:/PROGRA~1/vtk40/include/vtk/CMakeCache.txt
//
JAVE_AWT_INCLUDE_PATH:INTERNAL=c:/program files/jdk1.3/include
//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:INTERNAL=C:/Program Files/itk/bin
//Advanced flag for variable: LIBRARY_OUTPUT_PATH
LIBRARY_OUTPUT_PATH-ADVANCED:INTERNAL=1
//DO NOT EDIT, MESA_OS_LIBRARY loaded from external file.  To change
// this value edit this file: C:/PROGRA~1/vtk40/include/vtk/CMakeCache.txt
//
MESA_OS_LIBRARY:INTERNAL=NOTFOUND
//Advanced flag for variable: OPENGL_INCLUDE_DIR
OPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1
//DO NOT EDIT, OPENGL_LIBRARY loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
OPENGL_LIBRARY:INTERNAL=opengl32
//Advanced flag for variable: OPENGL_gl_LIBRARY
OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: OPENGL_glu_LIBRARY
OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: OPENGL_xmesa_INCLUDE_DIR
OPENGL_xmesa_INCLUDE_DIR-ADVANCED:INTERNAL=1
//DO NOT EDIT, OSMESA_INCLUDE_PATH loaded from external file.
// To change this value edit this file: 
C:/PROGRA~1/vtk40/include/vtk/CMakeCache.txt
//
OSMESA_INCLUDE_PATH:INTERNAL=NOTFOUND
//DO NOT EDIT, VLI_LIBRARY_FOR_VG500 loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
VLI_LIBRARY_FOR_VG500:INTERNAL=NOTFOUND
//DO NOT EDIT, VLI_LIBRARY_FOR_VP1000 loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
VLI_LIBRARY_FOR_VP1000:INTERNAL=NOTFOUND
//DO NOT EDIT, VTKJPEG_BINARY_DIR loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTKJPEG_BINARY_DIR:INTERNAL=C:/Program Files/vtk40/Utilities/jpeg
//DO NOT EDIT, VTKJPEG_SOURCE_DIR loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTKJPEG_SOURCE_DIR:INTERNAL=C:/Program 
Files/vtk40/vtk40Src/VTK/Utilities/jpeg
//DO NOT EDIT, VTKPNG_BINARY_DIR loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTKPNG_BINARY_DIR:INTERNAL=C:/Program Files/vtk40/Utilities/png
//DO NOT EDIT, VTKPNG_SOURCE_DIR loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTKPNG_SOURCE_DIR:INTERNAL=C:/Program Files/vtk40/vtk40Src/VTK/Utilities/png
//DO NOT EDIT, VTKZLIB_BINARY_DIR loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTKZLIB_BINARY_DIR:INTERNAL=C:/Program Files/vtk40/Utilities/zlib
//DO NOT EDIT, VTKZLIB_SOURCE_DIR loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTKZLIB_SOURCE_DIR:INTERNAL=C:/Program 
Files/vtk40/vtk40Src/VTK/Utilities/zlib
//DO NOT EDIT, VTK_BINARY_DIR loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_BINARY_DIR:INTERNAL=C:/Program Files/vtk40
//DO NOT EDIT, VTK_BUILD_SHARED_LIBS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
VTK_BUILD_SHARED_LIBS:INTERNAL=ON
//DO NOT EDIT, VTK_DATA_ROOT loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_DATA_ROOT:INTERNAL=NOTFOUND
//DO NOT EDIT, VTK_DEBUG_LEAKS loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_DEBUG_LEAKS:INTERNAL=OFF
//DO NOT EDIT, VTK_JAVA_HOME loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_JAVA_HOME:INTERNAL=C:/Program Files/vtk40/java/vtk
//DO NOT EDIT, VTK_LIBRARY_PATH loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_LIBRARY_PATH:INTERNAL=C:/Program Files/vtk40/bin
//DO NOT EDIT, VTK_MANGLE_MESA loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_MANGLE_MESA:INTERNAL=OFF
//DO NOT EDIT, VTK_PARSE_JAVA_EXE loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_PARSE_JAVA_EXE:INTERNAL=C:/Program 
Files/vtk40/bin/$(IntDir)/vtkParseJava.exe
//Advanced flag for variable: VTK_PARSE_JAVA_EXE
VTK_PARSE_JAVA_EXE-ADVANCED:INTERNAL=1
//DO NOT EDIT, VTK_SOURCE_DIR loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_SOURCE_DIR:INTERNAL=C:/Program Files/vtk40/vtk40Src/VTK
//DO NOT EDIT, VTK_USE_64BIT_IDS loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_USE_64BIT_IDS:INTERNAL=OFF
//DO NOT EDIT, VTK_USE_ANSI_STDLIB loaded from external file.
// To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
VTK_USE_ANSI_STDLIB:INTERNAL=ON
//DO NOT EDIT, VTK_USE_HYBRID loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_USE_HYBRID:INTERNAL=ON
//DO NOT EDIT, VTK_USE_MATROX_IMAGING loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
VTK_USE_MATROX_IMAGING:INTERNAL=OFF
//DO NOT EDIT, VTK_USE_MPI loaded from external file.  To change
// this value edit this file: C:/PROGRA~1/vtk40/include/vtk/CMakeCache.txt
//
VTK_USE_MPI:INTERNAL=OFF
//DO NOT EDIT, VTK_USE_PARALLEL loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_USE_PARALLEL:INTERNAL=OFF
//DO NOT EDIT, VTK_USE_PATENTED loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_USE_PATENTED:INTERNAL=OFF
//DO NOT EDIT, VTK_USE_RENDERING loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_USE_RENDERING:INTERNAL=ON
//DO NOT EDIT, VTK_USE_VIDEO_FOR_WINDOWS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
VTK_USE_VIDEO_FOR_WINDOWS:INTERNAL=ON
//DO NOT EDIT, VTK_USE_VOLUMEPRO loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_USE_VOLUMEPRO:INTERNAL=ON
//DO NOT EDIT, VTK_WRAP_JAVA loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_WRAP_JAVA:INTERNAL=ON
//DO NOT EDIT, VTK_WRAP_JAVA_EXE loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_WRAP_JAVA_EXE:INTERNAL=C:/Program 
Files/vtk40/bin/$(IntDir)/vtkWrapJava.exe
//Advanced flag for variable: VTK_WRAP_JAVA_EXE
VTK_WRAP_JAVA_EXE-ADVANCED:INTERNAL=1
//DO NOT EDIT, VTK_WRAP_PYTHON loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_WRAP_PYTHON:INTERNAL=OFF
//Advanced flag for variable: VTK_WRAP_PYTHON_EXE
VTK_WRAP_PYTHON_EXE-ADVANCED:INTERNAL=1
//DO NOT EDIT, VTK_WRAP_TCL loaded from external file.  To change
// this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
VTK_WRAP_TCL:INTERNAL=OFF
//Advanced flag for variable: VTK_WRAP_TCL_EXE
VTK_WRAP_TCL_EXE-ADVANCED:INTERNAL=1
//Path to a library
VXLNumerics_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Code/Numerics/vxl
//Whether a library is static, shared or module.
VXLNumerics_LIBRARY_TYPE:INTERNAL=STATIC
//Advanced flag for variable: WORDS_BIGENDIAN
WORDS_BIGENDIAN-ADVANCED:INTERNAL=1
//Path to an executable
itkAlgorithmsHeaderTest_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Algorithms
//Path to an executable
itkAlgorithmsTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Algorithms
//Path to an executable
itkBasicFiltersHeaderTest_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/BasicFilters
//Path to an executable
itkBasicFiltersTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/BasicFilters
//Path to an executable
itkCommonHeaderTest_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Common
//Path to an executable
itkCommonTests_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Testing/Code/Common
//Path to an executable
itkCurvatureFlowToVTK_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Auxiliary/vtk
//Path to an executable
itkFEMTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Numerics/FEM
//Path to an executable
itkIOHeaderTest_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Testing/Code/IO
//Path to an executable
itkIOTests_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Testing/Code/IO
//Path to an executable
itkNumericsHeaderTest_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Numerics
//Path to an executable
itkNumericsTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Numerics
//Path to an executable
itkPNGVTKtoITKtoVTK_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Auxiliary/vtk
//Path to an executable
itkSpatialObjectHeaderTest_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/SpatialObject
//Path to an executable
itkSpatialObjectTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/SpatialObject
//Path to an executable
itkStatisticsTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Numerics/Statistics
//Path to an executable
itkVTKtoITKtoVTK_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Auxiliary/vtk
//Path to a library
itkpng_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Utilities/png
//Whether a library is static, shared or module.
itkpng_LIBRARY_TYPE:INTERNAL=STATIC
//Path to a library
itkzlib_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Utilities/zlib
//Whether a library is static, shared or module.
itkzlib_LIBRARY_TYPE:INTERNAL=STATIC
//Path to an executable
vnlTests_CMAKE_PATH:INTERNAL=C:/Program 
Files/itk/Testing/Code/Numerics/vxl/vnl/tests
//Path to an executable
vtk2itkDouble_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Auxiliary/vtk
//Path to an executable
vtk2itk_CMAKE_PATH:INTERNAL=C:/Program Files/itk/Auxiliary/vtk
//DO NOT EDIT, vtkCommonJava_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkCommonJava_LIB_DEPENDS:INTERNAL=vtkCommon;
//DO NOT EDIT, vtkCommon_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkCommon_LIB_DEPENDS:INTERNAL=
//DO NOT EDIT, vtkFilteringJava_LIB_DEPENDS loaded from external
// file.  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkFilteringJava_LIB_DEPENDS:INTERNAL=vtkCommonJava;vtkFiltering;
//DO NOT EDIT, vtkFiltering_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkFiltering_LIB_DEPENDS:INTERNAL=vtkCommon;
//DO NOT EDIT, vtkGraphicsJava_LIB_DEPENDS loaded from external
// file.  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkGraphicsJava_LIB_DEPENDS:INTERNAL=vtkCommonJava;vtkFilteringJava;vtkGraphics;
//DO NOT EDIT, vtkGraphics_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkGraphics_LIB_DEPENDS:INTERNAL=vtkCommon;vtkFiltering;
//DO NOT EDIT, vtkHybridJava_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkHybridJava_LIB_DEPENDS:INTERNAL=vtkCommonJava;vtkFilteringJava;vtkImagingJava;vtkGraphicsJava;vtkRenderingJava;vtkIOJava;opengl32;vfw32;vtkHybrid;
//DO NOT EDIT, vtkHybrid_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkHybrid_LIB_DEPENDS:INTERNAL=vtkCommon;vtkFiltering;vtkImaging;vtkGraphics;vtkIO;vtkRendering;vfw32;
//DO NOT EDIT, vtkIOJava_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkIOJava_LIB_DEPENDS:INTERNAL=vtkpng;vtkzlib;vtkjpeg;vtkCommonJava;vtkFilteringJava;vtkIO;
//DO NOT EDIT, vtkIO_LIB_DEPENDS loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
vtkIO_LIB_DEPENDS:INTERNAL=vtkpng;vtkzlib;vtkjpeg;vtkCommon;vtkFiltering;
//DO NOT EDIT, vtkImagingJava_LIB_DEPENDS loaded from external
// file.  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkImagingJava_LIB_DEPENDS:INTERNAL=vtkCommonJava;vtkFilteringJava;vtkImaging;
//DO NOT EDIT, vtkImaging_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkImaging_LIB_DEPENDS:INTERNAL=vtkCommon;vtkFiltering;
//DO NOT EDIT, vtkRenderingJava_LIB_DEPENDS loaded from external
// file.  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkRenderingJava_LIB_DEPENDS:INTERNAL=opengl32;vtkCommonJava;vtkFilteringJava;vtkImagingJava;vtkGraphicsJava;C:/jbuilder5/jdk1.3/lib/jawt.lib;vtkRendering;
//DO NOT EDIT, vtkRendering_LIB_DEPENDS loaded from external file.
//  To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkRendering_LIB_DEPENDS:INTERNAL=opengl32;vtkCommon;vtkFiltering;vtkImaging;vtkGraphics;
//DO NOT EDIT, vtkjpeg_LIB_DEPENDS loaded from external file.
// To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkjpeg_LIB_DEPENDS:INTERNAL=
//DO NOT EDIT, vtkpng_LIB_DEPENDS loaded from external file.  To
// change this value edit this file: C:/Program Files/vtk40/CMakeCache.txt
//
vtkpng_LIB_DEPENDS:INTERNAL=vtkzlib;
//DO NOT EDIT, vtkzlib_LIB_DEPENDS loaded from external file.
// To change this value edit this file: C:/Program 
Files/vtk40/CMakeCache.txt
//
vtkzlib_LIB_DEPENDS:INTERNAL=

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

and there is the one from qtitk :

PROJECT(QtITKExample)

#
# Find ITK
#
INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)
IF (USE_ITK_FILE)
   INCLUDE(${USE_ITK_FILE})
ENDIF(USE_ITK_FILE)

#
# Find QT
#
INCLUDE (${CMAKE_ROOT}/Modules/FindQt.cmake)

INCLUDE_DIRECTORIES(
${QT_INCLUDE_PATH}
)

LINK_LIBRARIES (
ITKIO
${QT_QT_LIBRARY}
)

SET(QtITK_SRCS
itkQtProgressBar.cxx
qtITK.cxx
)

SET(QtITK_MOC_SRCS
itkQtAdaptor.h
itkQtLightIndicator.h
)

IF(QT_WRAP_CPP)
   QT_WRAP_CPP(QtITK QtITK_SRCS QtITK_MOC_SRCS)
ENDIF(QT_WRAP_CPP)


ADD_EXECUTABLE(QtITK QtITK_SRCS)



hope this will help you to understand my problem


Luis Ibanez wrote:

> Hi imho,
>
> I agree with Julien, something is going wrong in
> finding the location where you have ITK sources.
>
> Could you please post the CMakeCache.txt file
> that was generated by CMake when you configured ITK ?
> You will find this file in the ITK binary directory
> where ITK was built.
>
> Please post also the CMakeCache.txt file that is
> generated when you configure QtITK.
>
> For some reason, the ITK directories are not being
> set in the include path.
>
> Thanks,
>
>
>
>    Luis
>
> ===========================================================
>
>
> imho wrote:
>
> > yes, and now I have this :
> >
> > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\bin\../itkQtAdaptor.h(21) 
>
> > : fatal error C1083: Cannot open include file: 'itkObject.h': No such
> > file or directory
> > moc_itkQtLightIndicator.cxx
> > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\bin\../itkQtLightIndicator.h(3) 
>
> > : fatal error C1083: Cannot open include file: 'itkCommand.h': No such
> > file or directory
> > itkQtProgressBar.cxx
> > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\itkQtProgressBar.cxx(20) 
>
> > : fatal error C1083: Cannot open include file: 'itkProcessObject.h':
> > No such file or directory
> > qtITK.cxx
> > C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\qtITK.cxx(24)
> > : fatal error C1083: Cannot open include file: 'itkImage.h': No such
> > file or directory
> >
> > one first problem solved?
> > Do I have to do something similar with itk?
> >
> > Thanks
> >
> >
> > Julien Jomier wrote:
> >
>
>
>
>