MantisBT - CMake
View Issue Details
0015061CMakeCMakepublic2014-08-06 03:352016-06-10 14:31
Tünde Szilágyi 
Kitware Robot 
normalminoralways
closedmoved 
64 bitWindows7
CMake 3.0 
 
0015061: Cannot build ITK Insight using CMake 3.0
I have downloaded and decompressed ITK Insight and CMake. I have deliberately built the following directory tree:

C:/ITK/Build
C:/ITK/Source (contains the ITK Insight files)
C:/ITK/CMake (contains the CMake files including the CMake GUI)

In the CMake GUI the following settings are put:

Where is the source code: C:/ITK/Source
Where to build the binaries: C:/ITK/Build

To build ITK Insight the CONFIGURE button is pressed.

The error message that appears on the screen is:
"Error in configuration process, project files may be invalid"

I have attached the error log file. Perhaps not the right compiler is used?


This is on my system and I cannot guarantee to be able to reproduce it on a different system.
I have attached the error log file generated.
No tags attached.
log CMakeError.log (11,160) 2014-08-06 03:35
https://public.kitware.com/Bug/file/5213/CMakeError.log
log CMakeOutput.log (38) 2014-08-06 04:06
https://public.kitware.com/Bug/file/5214/CMakeOutput.log
? cmake.check_cache (86) 2014-08-06 04:07
https://public.kitware.com/Bug/file/5215/cmake.check_cache
log CMakeError_20140807.log (398,778) 2014-08-07 06:20
https://public.kitware.com/Bug/file/5221/CMakeError_20140807.log
Issue History
2014-08-06 03:35Tünde SzilágyiNew Issue
2014-08-06 03:35Tünde SzilágyiFile Added: CMakeError.log
2014-08-06 04:06Tünde SzilágyiFile Added: CMakeOutput.log
2014-08-06 04:07Tünde SzilágyiFile Added: cmake.check_cache
2014-08-06 08:44Brad KingNote Added: 0036559
2014-08-06 17:35Tünde SzilágyiNote Added: 0036566
2014-08-07 06:20Tünde SzilágyiFile Added: CMakeError_20140807.log
2014-08-07 06:22Tünde SzilágyiNote Added: 0036569
2014-08-07 08:38Tünde SzilágyiNote Added: 0036570
2014-08-07 09:02Brad KingNote Edited: 0036570bug_revision_view_page.php?bugnote_id=36570#r1538
2014-08-07 09:04Brad KingNote Added: 0036571
2016-06-06 13:37Brad KingView Statusprivate => public
2016-06-10 14:29Kitware RobotNote Added: 0042600
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0036559)
Brad King   
2014-08-06 08:44   
The CMakeError.log contains:

TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe" "@C:\Users\Tunde Szilagyi\AppData\Local\Temp\tmpc4993ccce1124c91be7984f250dfdbae.rsp"". The requested operation requires elevation. [C:\ITK\Build\CMakeFiles\3.0.0\CompilerIdC\CompilerIdC.vcxproj]

This looks like Visual Studio complaining about being unable to run one of its own commands. Something must be wrong with the local installation.
(0036566)
Tünde Szilágyi   
2014-08-06 17:35   
Many thanks for your reply. The error message "The requested operation requires elevation." complains about the fact that the files to be used are restricted.

I have installed the MinGW and I get the same error message.

I have changed the settings and extended to anyone (instead of only admin), but this has not solved the problem.

I would welcome any feedback with respect this. Many thanks!
(0036569)
Tünde Szilágyi   
2014-08-07 06:22   
I am now using Cygwin with MinGW and managed to configure CMake, but there are quite a few error messages that certain packages cannot be installed. I have attached the error log file which has a postfix 20140807. I would welcome any feedback on this. Many thanks!
(0036570)
Tünde Szilágyi   
2014-08-07 08:38   
(edited on: 2014-08-07 09:02)
I have managed to configure it, but I cannot use the CMake Generate option, because I am getting the error message below:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_INCLUDE_DIR (ADVANCED)
   used as include directory in directory C:/ITK/Source/Wrapping

Edit: Removed long list of directories

(0036571)
Brad King   
2014-08-07 09:04   
Re 0015061:0036566: If you have trouble with MinGW too then something must be wrong with the permissions between admin and non-admin users on your system.

Re 0015061:0036570: For help with ITK configuration please go to the ITK Users mailing list: http://www.itk.org/mailman/listinfo/insight-users [^]
(0042600)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.