[Insight-users] Cannot configure ITK 4.0.0 or 4.2.1

Xi Liang xliang.cad at gmail.com
Fri Nov 9 04:24:44 EST 2012


Hi,

Im using VS 2010 Express and CMake 2.8.6 trying to builld itk 4.2.1 or
4.0.0 but without success.

The error message shows

CMake Error: CMake was unable to find a build program corresponding to
"Visual Studio 10 Win64". CMAKE_MAKE_PROGRAM is not set. You probably need
to select a different build tool.

CMake Error: Could not find cmake module
file:C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeCCompiler.cmake

CMake Error: Could not find cmake module
file:C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeCXXCompiler.cmake

Configuring incomplete, errors occurred!



Then I try to manually locate the CMAKE_MAKE_PROGRAM to C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\bin\xdcmake.exe since it is not
automatically located. However this does not help. the followings are first
serverl lines:



Check for working C compiler using: Visual Studio 10 Win64

Check for working C compiler using: Visual Studio 10 Win64 -- works

Detecting C compiler ABI info

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31
(TRY_COMPILE):

Cannot copy output executable

''

to destination specified by COPY_FILE:

'C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeDetermineCompilerABI_C.bin'

Unable to find the executable at any of:

C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeTmp/cmTryCompileExec.exe

C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe

C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe

Call Stack (most recent call first):

C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)

CMakeLists.txt:7 (project)

Detecting C compiler ABI info - done

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:48 (FILE):

file STRINGS file

"C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeDetermineCompilerABI_C.bin"

cannot be read.

Call Stack (most recent call first):

C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)

CMakeLists.txt:7 (project)

Check for working CXX compiler using: Visual Studio 10 Win64

Check for working CXX compiler using: Visual Studio 10 Win64 -- works

Detecting CXX compiler ABI info

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31
(TRY_COMPILE):

Cannot copy output executable

''

to destination specified by COPY_FILE:

'C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'

Unable to find the executable at any of:

C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeTmp/cmTryCompileExec.exe

C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe

C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe

Call Stack (most recent call first):

C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64
(CMAKE_DETERMINE_COMPILER_ABI)

CMakeLists.txt:7 (project)

Detecting CXX compiler ABI info - done

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:48 (FILE):

file STRINGS file

"C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"

cannot be read.

Call Stack (most recent call first):

C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64
(CMAKE_DETERMINE_COMPILER_ABI)

CMakeLists.txt:7 (project)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121109/4ff9913e/attachment.htm>


More information about the Insight-users mailing list