[CMake] error in configuration process, project files may be invalid‏

海明 张 zhanghaiming54 at hotmail.com
Thu Apr 15 01:37:20 EDT 2010


Hello,
 
I am using Microsoft visual studio 2010 professional, CMake 2.8.1 and InsightToolkit-3.16.0 in windows7. when I cmake source to binary, the following is the process:
 
 
Check for working C compiler using: Visual Studio 10

Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of int
Check size of int - done
Check size of long
Check size of long - done
Check size of void*
Check size of void* - done
Check size of char
Check size of char - done
Check size of short
Check size of short - done
Check size of float
Check size of float - done
Check size of double
Check size of double - done
Looking for limits.h
Looking for limits.h - found
Looking for unistd.h
Looking for unistd.h - not found
Looking for pthread.h
Looking for pthread.h - not found
Looking for include files CMAKE_HAVE_SYS_PRCTL_H
Looking for include files CMAKE_HAVE_SYS_PRCTL_H - not found.
Check if the system is big endian
Searching 16 bit integer
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Found Threads: TRUE
Looking for C++ include iostream
Looking for C++ include iostream - found
Check for STD namespace
Check for STD namespace - found
Check for ANSI scope
Check for ANSI scope - found
Check for sstream
Check for sstream - found
Found Tclsh: C:/Tcl/bin/tclsh85.exe
CMake Warning (dev) at CMakeLists.txt:135 (LINK_DIRECTORIES):
This command specifies the relative path

.

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

Checking to see if CXX compiler accepts flag -features=no%anachronisms
Checking to see if CXX compiler accepts flag -features=no%anachronisms - No
Checking to see if this platform supports large bit-fields (>32 bits)
Checking to see if this platform supports large bit-fields (>32 bits) - yes
CMake Error: Remove failed on file: C:/itk/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe: System Error: No such file or directory
Check the value of the 22nd bit of a 32-bit quiet-NaN
Failed to compile a test (TestQnanhibit.c) necessary to configure for proper handling of IEEE floating point NaN's
Check size of long long
Check size of long long - done
Check size of __int64
Check size of __int64 - done
Checking whether long and __int64 are the same type
Checking whether long and __int64 are the same type -- no
Checking if ostream supports long long
Checking if ostream supports long long -- no
Checking if istream supports long long
Checking if istream supports long long -- no
Checking to see if this platform has the __FUNCTION__ C-Preprocessor directive
Checking to see if this platform supports has the __FUNCTION__ C-Preprocessor directive - yes
Checking whether header cstdio is available
Checking whether header cstdio is available - yes
Checking for Large File Support
...
...
...
Looking for C++ include functional
Looking for C++ include functional - found
Looking for C++ include limits
Looking for C++ include limits - found
Looking for C++ include strstream
Looking for C++ include strstream - found
Looking for C++ include pthread.h
Looking for C++ include pthread.h - not found
Looking for C++ include semaphore.h
Looking for C++ include semaphore.h - not found
Looking for C++ include ieeefp.h
Looking for C++ include ieeefp.h - not found
Looking for C++ include iso646.h
Looking for C++ include iso646.h - found
Looking for C++ include emmintrin.h
Looking for C++ include emmintrin.h - found
Performing Test VXL_HAS_SSE2_HARDWARE_SUPPORT
Performing Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Success
Performing Test VXL_HAS_MM_MALLOC
Performing Test VXL_HAS_MM_MALLOC - Success
Performing Test VXL_HAS_ALIGNED_MALLOC
Performing Test VXL_HAS_ALIGNED_MALLOC - Success
Performing Test VXL_HAS_MINGW_ALIGNED_MALLOC
Performing Test VXL_HAS_MINGW_ALIGNED_MALLOC - Failed
Performing Test VXL_HAS_POSIX_MEMALIGN
Performing Test VXL_HAS_POSIX_MEMALIGN - Failed
Performing Test VCL_COMPLEX_POW_WORKS
Performing Test VCL_COMPLEX_POW_WORKS - Failed
Looking for sqrtf
Looking for sqrtf - found
Looking for finite
Looking for finite - not found.
Looking for finitef
Looking for finitef - not found.
Looking for finitel
Looking for finitel - not found.
Looking for finite
Looking for finite - not found.
Looking for lrand48
Looking for lrand48 - not found.
Looking for drand48
Looking for drand48 - not found.
Looking for srand48
Looking for srand48 - not found.
Check if the system is big endian
Searching 16 bit integer
Using unsigned short
...
...
...
Looking for include files HAVE_STRINGS_H - not found.
Looking for include files HAVE_SYS_STAT_H
Looking for include files HAVE_SYS_STAT_H - found
Looking for include files HAVE_SYS_TIME_H
Looking for include files HAVE_SYS_TIME_H - not found.
Looking for include files HAVE_WINDOWS_H
Looking for include files HAVE_WINDOWS_H - found
Looking for include files HAVE_IEEEFP_H
Looking for include files HAVE_IEEEFP_H - not found.
Looking for floor
Looking for floor - found
Looking for getopt
Looking for getopt - not found
Looking for isascii
Looking for isascii - not found
Looking for memmove
Looking for memmove - found
Looking for memset
Looking for memset - found
Looking for mmap
Looking for mmap - not found
Looking for pow
Looking for pow - found
Looking for sqrt
Looking for sqrt - found
Looking for strcasecmp
Looking for strcasecmp - not found
Looking for strchr
Looking for strchr - found
Looking for strrchr
Looking for strrchr - found
Looking for strstr
Looking for strstr - found
Looking for strtol
Looking for strtol - found
Looking for areroul
Looking for areroul - not found
Check size of int
Check size of int - done
Check size of long
Check size of long - done
Checking support for __FUNCTION__ in compiler
Checking support for __FUNCTION__ -- yes
Check if the system is big endian
Searching 16 bit integer
Using unsigned short
Check if the system is big endian - little endian
Looking for stdint.h
Looking for stdint.h - found
Looking for include files CMAKE_HAVE_STDLIB_H
Looking for include files CMAKE_HAVE_STDLIB_H - found
Looking for EnumProcesses in Psapi
Looking for EnumProcesses in Psapi - not found
Looking for mallinfo in malloc
Looking for mallinfo in malloc - not found
Configuring incomplete, errors occurred!
 
 
And then here is the pop up error: error in configuration process, project files may be invalid.
 
I tried different visions of VS (6.0, 2005, 2008 and 2010), neither of them work. anyone kowns how to fix? I am gonna crazy!!!
 
 
Thanks 		 	   		  
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100415/0822c8db/attachment-0001.htm>


More information about the CMake mailing list