<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello there.<div><br></div><div>Compiling open source project OpenCV-2.3.1 on Windows works with cmake 2.8.9. The other day I updated to cmake 2.8.10, and it stopped working. If I go back to cmake 2.8.9 it works again.</div><div><br></div><div>Has anyone seen this or can anyone point me in the right direction to start investigating? I'm not familiar with cmake.</div><div><br></div><div>The command I use is "C:> cmake cmake -G "Visual Studio 10" with a few -D defines. cmake 2.8.10 tells me the compiler is unknown:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Setting environment for using Microsoft Visual Studio 2010 x86 tools.</div></div><div><div>-- The C compiler identification is unknown</div></div><div><div>-- The CXX compiler identification is unknown</div></div><div><div>-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) </div></div><div><div>-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) </div></div><div><div>-- Parsing 'cvconfig.h.cmake'</div></div><div><div>-- ffmpeg output dir: C:/src/play/OpenCV-2.3.1/bin/$(Configuration)</div></div><div><div>-- </div></div><div><div>-- General configuration for opencv 2.3.1 =====================================</div></div><div><div>-- </div></div><div><div>-- Built as dynamic libs?: NO</div></div><div><div>-- Compiler: CMAKE_CXX_COMPILER-NOTFOUND</div></div><div><div>-- C++ flags (Release): </div></div><div><div>-- C++ flags (Debug): </div></div><div><div>-- Linker flags (Release): </div></div><div><div>-- Linker flags (Debug): </div></div></blockquote><div><br></div><div>cmake 2.8.9 gives the expected output.</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Setting environment for using Microsoft Visual Studio 2010 x86 tools.</div></div><div><div>-- Check for working C compiler using: Visual Studio 10</div></div><div><div>-- Check for working C compiler using: Visual Studio 10 -- works</div></div><div><div>-- Detecting C compiler ABI info</div></div><div><div>CMake Error at C:/src/timestone/3rdparty/cmake/2.8.9-win32-x86/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (TRY_COMPILE):</div></div><div><div> Cannot copy output executable</div></div><div><div><br></div></div><div><div> ''</div></div><div><div><br></div></div><div><div> to destination specified by COPY_FILE:</div></div><div><div><br></div></div><div><div> 'C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeDetermineCompilerABI_C.bin'</div></div><div><div><br></div></div><div><div> Unable to find the executable at any of:</div></div><div><div><br></div></div><div><div> C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeTmp/cmTryCompileExec470315884.exe</div></div><div><div> C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec470315884.exe</div></div><div><div> C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeTmp/Development/cmTryCompileExec470315884.exe</div></div><div><div><br></div></div><div><div>Call Stack (most recent call first):</div></div><div><div> C:/src/timestone/3rdparty/cmake/2.8.9-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71 (CMAKE_DETERMINE_COMPILER_ABI)</div></div><div><div> CMakeLists.txt:40 (project)</div></div><div><div><br></div></div><div><div><br></div></div><div><div>-- Detecting C compiler ABI info - done</div></div><div><div>-- Check for working CXX compiler using: Visual Studio 10</div></div><div><div>-- Check for working CXX compiler using: Visual Studio 10 -- works</div></div><div><div>-- Detecting CXX compiler ABI info</div></div><div><div>CMake Error at C:/src/timestone/3rdparty/cmake/2.8.9-win32-x86/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (TRY_COMPILE):</div></div><div><div> Cannot copy output executable</div></div><div><div><br></div></div><div><div> ''</div></div><div><div><br></div></div><div><div> to destination specified by COPY_FILE:</div></div><div><div><br></div></div><div><div> 'C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'</div></div><div><div><br></div></div><div><div> Unable to find the executable at any of:</div></div><div><div><br></div></div><div><div> C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeTmp/cmTryCompileExec3518155222.exe</div></div><div><div> C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3518155222.exe</div></div><div><div> C:/src/play/OpenCV-2.3.1/CMakeFiles/CMakeTmp/Development/cmTryCompileExec3518155222.exe</div></div><div><div><br></div></div><div><div>Call Stack (most recent call first):</div></div><div><div> C:/src/timestone/3rdparty/cmake/2.8.9-win32-x86/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64 (CMAKE_DETERMINE_COMPILER_ABI)</div></div><div><div> CMakeLists.txt:40 (project)</div></div><div><div><br></div></div><div><div><br></div></div><div><div>-- Detecting CXX compiler ABI info - done</div></div><div><div>-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) </div></div><div><div>-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) </div></div><div><div>-- Parsing 'cvconfig.h.cmake'</div></div><div><div>-- ffmpeg output dir: C:/src/play/OpenCV-2.3.1/bin/$(Configuration)</div></div><div><div>-- </div></div><div><div>-- General configuration for opencv 2.3.1 =====================================</div></div><div><div>-- </div></div><div><div>-- Built as dynamic libs?: NO</div></div><div><div>-- Compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe</div></div><div><div>-- C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /EHsc- /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /MD /O2 /Ob2 /D NDEBUG /Zi /arch:SSE /arch:SSE2 /Oi </div></div><div><div>-- C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /EHsc- /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 </div></div><div><div>-- Linker flags (Release): /STACK:10000000 /machine:X86 /INCREMENTAL:NO /debug </div></div><div><div>-- Linker flags (Debug): /STACK:10000000 /machine:X86 /debug /INCREMENTAL </div></div></blockquote><br><div><br></div></body></html>