[Insight-users] Problems building itk under MinGW

Bill Lorensen bill.lorensen at gmail.com
Thu Dec 10 08:10:39 EST 2009


10) Start an msys shell by running msys.bat
11) cd to the locations you selected where to build the binaries.
12) make

On Thu, Dec 10, 2009 at 6:28 AM, URI <zallen at wheelinghospital.com> wrote:
>
> Aha, that seems to have been the problem.  I had the Code subdirectory set as
> the "Where is the source code" field, but if I instead set it to the ITK
> root directory the configure works!  At first all the CMake variables were
> highlighted in red but I hit "Configure" again and now they are all white.
> I do get the message "Could NOT find Tclsh  (missing:  TCL_TCLSH)" but that
> didn't seem to prevent me from configuring.
>
> Now I have a ton of files and folders in my binary directory, like CMake,
> CMakeFiles, AllowContinuous.sh, lots of stuff.  Where do I go from here?
>
>
>
>
>
> Bill Lorensen wrote:
>>
>> Wait a minute. I just checked your CMakeCache.txt file. It says the
>> Please don't tell me that the Code directory has subdirectories called
>> Common, Basicfilters, Algorithms, ...
>>
>> If this is true, in step 4
>> 4) Where is the source code: Select the path to the Insight source.
>> The path you select should be ITK_3_16_0!!!!!!!!! Not ITK_3_16_0/Code
>>
>> If it is false, what files are in the Code directory.
>>
>> You have CMAKE_MAKE_PROGRAM set to the mingw make.
>> 8) Configure
>>    At this point, you may get errors. DO NOT exit cmake. Check the
>> Show Advanced Values in the cmake panel. Look for the variable
>> CMAKE_MAKE_PROGRAM. It must point to the MSYS make, not the MinGW make
>> or another make. Navigate to the msys bin directory and select make.
>>
>> Bill
>>
>> On Wed, Dec 9, 2009 at 11:23 PM, Bill Lorensen <bill.lorensen at gmail.com>
>> wrote:
>>> What is in the Code directory? Is that the Insight source code? Did
>>> you ever run cmake in that directory? You may have corrupted the
>>> source tree with cmake generated files. This can definitely cause
>>> problems.
>>>
>>> Do a cvs -nq update in the source directory. And post the output.
>>>
>>> Bill
>>>
>>> On Wed, Dec 9, 2009 at 6:31 PM, URI <zallen at wheelinghospital.com> wrote:
>>>>
>>>> I seem to have two CMakeCache.txt files, one in C:\ITK_3_16_0\bin and
>>>> one in
>>>> C:|ITK_3_16_0\Code.
>>>>
>>>> Here is the one that's in the bin folder:
>>>>
>>>> # This is the CMakeCache file.
>>>> # For build in directory: c:/ITK_3_16_0/bin
>>>> # It was generated by CMake: C:/CMake_2_8/bin/cmake.exe
>>>> # 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 variable 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
>>>> ########################
>>>>
>>>> //Path to a program.
>>>> CMAKE_AR:FILEPATH=C:/MinGW/bin/ar.exe
>>>>
>>>> //For backwards compatibility, what version of CMake commands and
>>>> // syntax should this version of CMake try to support.
>>>> CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
>>>>
>>>> //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
>>>> // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
>>>> CMAKE_BUILD_TYPE:STRING=
>>>>
>>>> //Enable/Disable color output during build.
>>>> CMAKE_COLOR_MAKEFILE:BOOL=ON
>>>>
>>>> //CXX compiler.
>>>> CMAKE_CXX_COMPILER:FILEPATH=C:/MinGW/bin/g++.exe
>>>>
>>>> //Flags used by the compiler during all build types.
>>>> CMAKE_CXX_FLAGS:STRING=
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //Flags used by the compiler during Release with Debug Info builds.
>>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
>>>>
>>>> //Libraries linked by defalut with all C++ applications.
>>>> CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32
>>>> -lwinspool
>>>> -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
>>>>
>>>> //C compiler.
>>>> CMAKE_C_COMPILER:FILEPATH=C:/MinGW/bin/gcc.exe
>>>>
>>>> //Flags used by the compiler during all build types.
>>>> CMAKE_C_FLAGS:STRING=
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //Flags used by the compiler during Release with Debug Info builds.
>>>> CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
>>>>
>>>> //Libraries linked by defalut with all C applications.
>>>> CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool
>>>> -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
>>>>
>>>> //Flags used by the linker.
>>>> CMAKE_EXE_LINKER_FLAGS:STRING=
>>>>
>>>> //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=
>>>>
>>>> //Install path prefix, prepended onto install directories.
>>>> CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Project
>>>>
>>>> //Path to a program.
>>>> CMAKE_LINKER:FILEPATH=C:/MinGW/bin/ld.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_MAKE_PROGRAM:FILEPATH=C:/MinGW/bin/mingw32-make.exe
>>>>
>>>> //Flags used by the linker during the creation of modules.
>>>> CMAKE_MODULE_LINKER_FLAGS:STRING=
>>>>
>>>> //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_NM:FILEPATH=C:/MinGW/bin/nm.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_OBJCOPY:FILEPATH=C:/MinGW/bin/objcopy.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_OBJDUMP:FILEPATH=C:/MinGW/bin/objdump.exe
>>>>
>>>> //Value Computed by CMake
>>>> CMAKE_PROJECT_NAME:STATIC=Project
>>>>
>>>> //Path to a program.
>>>> CMAKE_RANLIB:FILEPATH=C:/MinGW/bin/ranlib.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_SH:FILEPATH=CMAKE_SH-NOTFOUND
>>>>
>>>> //Flags used by the linker during the creation of dll's.
>>>> CMAKE_SHARED_LINKER_FLAGS:STRING=
>>>>
>>>> //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=OFF
>>>>
>>>> //Path to a program.
>>>> CMAKE_STRIP:FILEPATH=C:/MinGW/bin/strip.exe
>>>>
>>>> //If true, cmake will use relative paths in makefiles and projects.
>>>> CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
>>>>
>>>> //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=OFF
>>>>
>>>> //Single output directory for building all executables.
>>>> EXECUTABLE_OUTPUT_PATH:PATH=
>>>>
>>>> //Dependencies for the target
>>>> ITKAlgorithms_LIB_DEPENDS:STATIC=ITKStatistics;ITKNumerics;
>>>>
>>>> //Dependencies for the target
>>>> ITKBasicFilters_LIB_DEPENDS:STATIC=ITKCommon;
>>>>
>>>> //Dependencies for the target
>>>> ITKCommon_LIB_DEPENDS:STATIC=general;itkvnl_inst;general;itksys;
>>>>
>>>> //Dependencies for the target
>>>> ITKFEM_LIB_DEPENDS:STATIC=ITKBasicFilters;ITKIO;
>>>>
>>>> //Dependencies for the target
>>>> ITKIO_LIB_DEPENDS:STATIC=ITKNrrdIO;ITKSpatialObject;ITKMetaIO;ITKDICOMParser;ITKEXPAT;ITKniftiio;
>>>>
>>>> //Dependencies for the target
>>>> ITKNumerics_LIB_DEPENDS:STATIC=general;ITKCommon;
>>>>
>>>> //Dependencies for the target
>>>> ITKSpatialObject_LIB_DEPENDS:STATIC=ITKMetaIO;ITKCommon;
>>>>
>>>> //Dependencies for the target
>>>> ITKStatistics_LIB_DEPENDS:STATIC=general;ITKCommon;general;itkNetlibSlatec;
>>>>
>>>> //Single output directory for building all libraries.
>>>> LIBRARY_OUTPUT_PATH:PATH=
>>>>
>>>> //Value Computed by CMake
>>>> Project_BINARY_DIR:STATIC=C:/ITK_3_16_0/bin
>>>>
>>>> //Value Computed by CMake
>>>> Project_SOURCE_DIR:STATIC=C:/ITK_3_16_0/Code
>>>>
>>>> //Dependencies for target
>>>> itkvnl_inst_LIB_DEPENDS:STATIC=
>>>>
>>>>
>>>> ########################
>>>> # INTERNAL cache entries
>>>> ########################
>>>>
>>>> //ADVANCED property for variable: CMAKE_AR
>>>> CMAKE_AR-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_BUILD_TOOL
>>>> CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
>>>> //What is the target build tool cmake is generating for.
>>>> CMAKE_BUILD_TOOL:INTERNAL=C:/MinGW/bin/mingw32-make.exe
>>>> //This is the directory where this CMakeCache.txt was created
>>>> CMAKE_CACHEFILE_DIR:INTERNAL=c:/ITK_3_16_0/bin
>>>> //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=8
>>>> //Patch version of cmake used to create the current loaded cache
>>>> CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
>>>> //Major version of cmake used to create the current loaded cache
>>>> CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 2
>>>> //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
>>>> CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
>>>> //Path to CMake executable.
>>>> CMAKE_COMMAND:INTERNAL=C:/CMake_2_8/bin/cmake.exe
>>>> //Path to cpack program executable.
>>>> CMAKE_CPACK_COMMAND:INTERNAL=C:/CMake_2_8/bin/cpack.exe
>>>> //Path to ctest program executable.
>>>> CMAKE_CTEST_COMMAND:INTERNAL=C:/CMake_2_8/bin/ctest.exe
>>>> //ADVANCED property for variable: CMAKE_CXX_COMPILER
>>>> CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
>>>> CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS
>>>> CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
>>>> CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
>>>> CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
>>>> CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
>>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
>>>> CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_COMPILER
>>>> CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
>>>> CMAKE_C_COMPILER_WORKS:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS
>>>> CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
>>>> CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
>>>> CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
>>>> CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
>>>> CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
>>>> CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
>>>> //Result of TRY_COMPILE
>>>> CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
>>>> //Result of TRY_COMPILE
>>>> CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
>>>> //Path to cache edit program executable.
>>>> CMAKE_EDIT_COMMAND:INTERNAL=C:/CMake_2_8/bin/cmake-gui.exe
>>>> //Executable file format
>>>> CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
>>>> CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
>>>> CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
>>>> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
>>>> CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
>>>> CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //Name of generator.
>>>> CMAKE_GENERATOR:INTERNAL=MinGW Makefiles
>>>> //Start directory with the top level CMakeLists.txt file for this
>>>> // project
>>>> CMAKE_HOME_DIRECTORY:INTERNAL=C:/ITK_3_16_0/Code
>>>> //ADVANCED property for variable: CMAKE_LINKER
>>>> CMAKE_LINKER-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
>>>> CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
>>>> CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
>>>> CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
>>>> CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
>>>> CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable:
>>>> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
>>>> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_NM
>>>> CMAKE_NM-ADVANCED:INTERNAL=1
>>>> //number of local generators
>>>> CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=10
>>>> //ADVANCED property for variable: CMAKE_OBJCOPY
>>>> CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_OBJDUMP
>>>> CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_RANLIB
>>>> CMAKE_RANLIB-ADVANCED:INTERNAL=1
>>>> //Path to CMake installation.
>>>> CMAKE_ROOT:INTERNAL=C:/CMake_2_8/share/cmake-2.8
>>>> //ADVANCED property for variable: CMAKE_SH
>>>> CMAKE_SH-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
>>>> CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
>>>> CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
>>>> CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
>>>> CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable:
>>>> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
>>>> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SKIP_RPATH
>>>> CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_STRIP
>>>> CMAKE_STRIP-ADVANCED:INTERNAL=1
>>>> //Suppress Warnings that are meant for the author of the CMakeLists.txt
>>>> // files.
>>>> CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE
>>>> //ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
>>>> CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
>>>> CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
>>>> //Have library malloc
>>>> HAVE_LIBMALLOC:INTERNAL=
>>>> //Have library Psapi
>>>> HAVE_PSAPI:INTERNAL=
>>>> //itkTestDriver path to be used by subprojects
>>>> ITK_TEST_DRIVER:INTERNAL=/itkTestDriver
>>>>
>>>>
>>>>
>>>> ===============================
>>>>
>>>> Here is the one in the Code folder:
>>>>
>>>> # This is the CMakeCache file.
>>>> # For build in directory: c:/ITK_3_16_0/Code
>>>> # It was generated by CMake: C:/CMake_2_8/bin/cmake.exe
>>>> # 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 variable 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
>>>> ########################
>>>>
>>>> //Path to a program.
>>>> CMAKE_AR:FILEPATH=C:/MinGW/bin/ar.exe
>>>>
>>>> //For backwards compatibility, what version of CMake commands and
>>>> // syntax should this version of CMake try to support.
>>>> CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
>>>>
>>>> //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
>>>> // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
>>>> CMAKE_BUILD_TYPE:STRING=
>>>>
>>>> //Enable/Disable color output during build.
>>>> CMAKE_COLOR_MAKEFILE:BOOL=ON
>>>>
>>>> //CXX compiler.
>>>> CMAKE_CXX_COMPILER:FILEPATH=C:/MinGW/bin/g++.exe
>>>>
>>>> //Flags used by the compiler during all build types.
>>>> CMAKE_CXX_FLAGS:STRING=
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //Flags used by the compiler during Release with Debug Info builds.
>>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
>>>>
>>>> //Libraries linked by defalut with all C++ applications.
>>>> CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32
>>>> -lwinspool
>>>> -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
>>>>
>>>> //C compiler.
>>>> CMAKE_C_COMPILER:FILEPATH=C:/MinGW/bin/gcc.exe
>>>>
>>>> //Flags used by the compiler during all build types.
>>>> CMAKE_C_FLAGS:STRING=
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //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 -DNDEBUG
>>>>
>>>> //Flags used by the compiler during Release with Debug Info builds.
>>>> CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
>>>>
>>>> //Libraries linked by defalut with all C applications.
>>>> CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool
>>>> -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
>>>>
>>>> //Flags used by the linker.
>>>> CMAKE_EXE_LINKER_FLAGS:STRING=
>>>>
>>>> //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=
>>>>
>>>> //Install path prefix, prepended onto install directories.
>>>> CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Project
>>>>
>>>> //Path to a program.
>>>> CMAKE_LINKER:FILEPATH=C:/MinGW/bin/ld.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_MAKE_PROGRAM:FILEPATH=C:/MinGW/bin/mingw32-make.exe
>>>>
>>>> //Flags used by the linker during the creation of modules.
>>>> CMAKE_MODULE_LINKER_FLAGS:STRING=
>>>>
>>>> //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_NM:FILEPATH=C:/MinGW/bin/nm.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_OBJCOPY:FILEPATH=C:/MinGW/bin/objcopy.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_OBJDUMP:FILEPATH=C:/MinGW/bin/objdump.exe
>>>>
>>>> //Value Computed by CMake
>>>> CMAKE_PROJECT_NAME:STATIC=Project
>>>>
>>>> //Path to a program.
>>>> CMAKE_RANLIB:FILEPATH=C:/MinGW/bin/ranlib.exe
>>>>
>>>> //Path to a program.
>>>> CMAKE_SH:FILEPATH=CMAKE_SH-NOTFOUND
>>>>
>>>> //Flags used by the linker during the creation of dll's.
>>>> CMAKE_SHARED_LINKER_FLAGS:STRING=
>>>>
>>>> //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=OFF
>>>>
>>>> //Path to a program.
>>>> CMAKE_STRIP:FILEPATH=C:/MinGW/bin/strip.exe
>>>>
>>>> //If true, cmake will use relative paths in makefiles and projects.
>>>> CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
>>>>
>>>> //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=OFF
>>>>
>>>> //Single output directory for building all executables.
>>>> EXECUTABLE_OUTPUT_PATH:PATH=
>>>>
>>>> //Dependencies for the target
>>>> ITKCommon_LIB_DEPENDS:STATIC=general;itkvnl_inst;general;itksys;
>>>>
>>>> //Dependencies for the target
>>>> ITKNumerics_LIB_DEPENDS:STATIC=general;ITKCommon;
>>>>
>>>> //Dependencies for the target
>>>> ITKStatistics_LIB_DEPENDS:STATIC=general;ITKCommon;general;itkNetlibSlatec;
>>>>
>>>> //Single output directory for building all libraries.
>>>> LIBRARY_OUTPUT_PATH:PATH=
>>>>
>>>> //Value Computed by CMake
>>>> Project_BINARY_DIR:STATIC=C:/ITK_3_16_0/Code
>>>>
>>>> //Value Computed by CMake
>>>> Project_SOURCE_DIR:STATIC=C:/ITK_3_16_0/Code
>>>>
>>>> //Dependencies for target
>>>> itkvnl_inst_LIB_DEPENDS:STATIC=
>>>>
>>>>
>>>> ########################
>>>> # INTERNAL cache entries
>>>> ########################
>>>>
>>>> //ADVANCED property for variable: CMAKE_AR
>>>> CMAKE_AR-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_BUILD_TOOL
>>>> CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
>>>> //What is the target build tool cmake is generating for.
>>>> CMAKE_BUILD_TOOL:INTERNAL=C:/MinGW/bin/mingw32-make.exe
>>>> //This is the directory where this CMakeCache.txt was created
>>>> CMAKE_CACHEFILE_DIR:INTERNAL=c:/ITK_3_16_0/Code
>>>> //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=8
>>>> //Patch version of cmake used to create the current loaded cache
>>>> CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
>>>> //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
>>>> CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
>>>> //Path to CMake executable.
>>>> CMAKE_COMMAND:INTERNAL=C:/CMake_2_8/bin/cmake.exe
>>>> //Path to cpack program executable.
>>>> CMAKE_CPACK_COMMAND:INTERNAL=C:/CMake_2_8/bin/cpack.exe
>>>> //Path to ctest program executable.
>>>> CMAKE_CTEST_COMMAND:INTERNAL=C:/CMake_2_8/bin/ctest.exe
>>>> //ADVANCED property for variable: CMAKE_CXX_COMPILER
>>>> CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
>>>> CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS
>>>> CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
>>>> CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
>>>> CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
>>>> CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
>>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
>>>> CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_COMPILER
>>>> CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
>>>> CMAKE_C_COMPILER_WORKS:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS
>>>> CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
>>>> CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
>>>> CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
>>>> CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
>>>> CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
>>>> CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
>>>> //Result of TRY_COMPILE
>>>> CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
>>>> //Result of TRY_COMPILE
>>>> CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
>>>> //Path to cache edit program executable.
>>>> CMAKE_EDIT_COMMAND:INTERNAL=C:/CMake_2_8/bin/cmake-gui.exe
>>>> //Executable file format
>>>> CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
>>>> CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
>>>> CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
>>>> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
>>>> CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
>>>> CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //Name of generator.
>>>> CMAKE_GENERATOR:INTERNAL=MinGW Makefiles
>>>> //Start directory with the top level CMakeLists.txt file for this
>>>> // project
>>>> CMAKE_HOME_DIRECTORY:INTERNAL=C:/ITK_3_16_0/Code
>>>> //ADVANCED property for variable: CMAKE_LINKER
>>>> CMAKE_LINKER-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
>>>> CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
>>>> CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
>>>> CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
>>>> CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
>>>> CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable:
>>>> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
>>>> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_NM
>>>> CMAKE_NM-ADVANCED:INTERNAL=1
>>>> //number of local generators
>>>> CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=10
>>>> //ADVANCED property for variable: CMAKE_OBJCOPY
>>>> CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_OBJDUMP
>>>> CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_RANLIB
>>>> CMAKE_RANLIB-ADVANCED:INTERNAL=1
>>>> //Path to CMake installation.
>>>> CMAKE_ROOT:INTERNAL=C:/CMake_2_8/share/cmake-2.8
>>>> //ADVANCED property for variable: CMAKE_SH
>>>> CMAKE_SH-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
>>>> CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
>>>> CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
>>>> CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
>>>> CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable:
>>>> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
>>>> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_SKIP_RPATH
>>>> CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_STRIP
>>>> CMAKE_STRIP-ADVANCED:INTERNAL=1
>>>> //Suppress Warnings that are meant for the author of the CMakeLists.txt
>>>> // files.
>>>> CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE
>>>> //ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
>>>> CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
>>>> //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
>>>> CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
>>>> //Have library malloc
>>>> HAVE_LIBMALLOC:INTERNAL=
>>>> //Have library Psapi
>>>> HAVE_PSAPI:INTERNAL=
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> That looks OK. Can you email to me your CMakeCache.txt file? I'll
>>>> compare it to mine.
>>>>
>>>> On Wed, Dec 9, 2009 at 5:20 PM, URI <zallen at wheelinghospital.com> wrote:
>>>>>
>>>>> In my CMake gui the directory that I choose for "Where to build the
>>>>> binaries"
>>>>> is C:/msys/1.0/home/Insight-mingw, which is the directory that I
>>>>> created
>>>>> in
>>>>> step 2) below.  It starts out empty but when I hit "Configure" files
>>>>> and
>>>>> folders begin to appear in it.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n2.nabble.com/Problems-building-itk-under-MinGW-tp4104133p4142753.html
>>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.html
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>
>>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/Problems-building-itk-under-MinGW-tp4104133p4144854.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list