MantisBT - CMake
View Issue Details
0014909CMakeCMakepublic2014-05-07 03:172016-06-10 14:31
hongbo zhu 
Kitware Robot 
normalcrashalways
closedmoved 
amd bulldozer 8xwin 7 64bits version7600
CMake 2.8.12.2 
 
0014909: The cmake can't generate the x265 project for visual c++ 2012 on my win 7 x64
I download the x265 and download the cmake 2.8.12.2 and install it. I try to generate the x265 project by running the E:\multicoreware-x265-6d83eaf6cf24\build\vc11-x86\make-solutions.bat, the cmake failed and report the following error:

-- cmake version 2.8.12.2
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:170 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeOutput.log
  for writing.
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)


CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.1
2.2/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:182 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:99 (file):
  file problem creating directory:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.12.2/CompilerIdC
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:14 (project)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:14 (project)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:14 (project)


-- The C compiler identification is unknown
CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.1
2.2/CMakeCCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:186 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)


CMake Error: Could not find cmake module file: E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.12.2/CMakeCComp
iler.cmake
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:99 (file):
  file problem creating directory:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.12.2/CompilerIdCXX
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:14 (project)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:14 (project)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:14 (project)


-- The CXX compiler identification is unknown
CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.1
2.2/CMakeCXXCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:185 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)


CMake Error: Could not find cmake module file: E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.12.2/CMakeCXXCo
mpiler.cmake
CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/x265.def.tmp
CMake Error: : System Error: No such file or directory
CMake Error at CMakeLists.txt:23 (configure_file):
  configure_file Problem configuring file


CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/x265_config.h.tm
p
CMake Error: : System Error: No such file or directory
CMake Error at CMakeLists.txt:25 (configure_file):
  configure_file Problem configuring file


-- Detected x86 system processor
-- Found yasm: C:/mingw/bin/yasm.exe (found version "1.2.0")
-- Found Yasm 1.2.0 to build assembly primitives
CMake Error at cmake/version.cmake:15 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/source/../.hg_archival.txt
  for reading.
Call Stack (most recent call first):
  CMakeLists.txt:203 (include)


-- x265 version unknown
CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMake
Tmp/CheckIncludeFiles.c.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:44 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  encoder/CMakeLists.txt:42 (check_include_files)


-- Looking for include file inttypes.h
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:58 (try_compile):
  Unknown extension ".c" for file

    E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeTmp/CheckIncludeFiles.c

  try_compile() works only for enabled languages. Currently these are:

    C CXX

  See project() command to enable other languages.
Call Stack (most recent call first):
  encoder/CMakeLists.txt:42 (check_include_files)


-- Looking for include file inttypes.h - not found
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:76 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  encoder/CMakeLists.txt:42 (check_include_files)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:439 (file):
  file problem creating directory:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.12.2/CompilerIdASM_YASM
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:469 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:111 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


-- The ASM_YASM compiler identification is unknown
-- Found assembler: C:/mingw/bin/yasm.exe
CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.1
2.2/CMakeASM_YASMCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake:169 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  cmake/CMakeDetermineASM_YASMCompiler.cmake:4 (include)
  common/CMakeLists.txt:124 (enable_language)


CMake Error: Could not find cmake module file: E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/2.8.12.2/CMakeASM_Y
ASMCompiler.cmake
CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMake
Tmp/CheckSymbolExists.c.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckSymbolExists.cmake:67 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CheckSymbolExists.cmake:41 (_CHECK_SYMBOL_EXISTS)
  common/CMakeLists.txt:132 (check_symbol_exists)


-- Looking for strtok_r
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckSymbolExists.cmake:71 (try_compile):
  Unknown extension ".c" for file

    E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeTmp/CheckSymbolExists.c

  try_compile() works only for enabled languages. Currently these are:

    ASM_YASM C CXX

  See project() command to enable other languages.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CheckSymbolExists.cmake:41 (_CHECK_SYMBOL_EXISTS)
  common/CMakeLists.txt:132 (check_symbol_exists)


-- Looking for strtok_r - not found
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckSymbolExists.cmake:91 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  C:/CMake28/share/cmake-2.8/Modules/CheckSymbolExists.cmake:41 (_CHECK_SYMBOL_EXISTS)
  common/CMakeLists.txt:132 (check_symbol_exists)


CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/x265.pc.tmp
CMake Error: : System Error: No such file or directory
CMake Error at CMakeLists.txt:293 (configure_file):
  configure_file Problem configuring file


CMake Error: Could not open file for write in copy operation E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMake
Tmp/CheckIncludeFiles.c.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:44 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:316 (check_include_files)


-- Looking for include file getopt.h
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:58 (try_compile):
  Unknown extension ".c" for file

    E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeTmp/CheckIncludeFiles.c

  try_compile() works only for enabled languages. Currently these are:

    ASM_YASM C CXX

  See project() command to enable other languages.
Call Stack (most recent call first):
  CMakeLists.txt:316 (check_include_files)


-- Looking for include file getopt.h - not found
CMake Error at C:/CMake28/share/cmake-2.8/Modules/CheckIncludeFiles.cmake:76 (file):
  file Internal CMake error when trying to open file:
  E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeFiles/CMakeError.log
  for writing.
Call Stack (most recent call first):
  CMakeLists.txt:316 (check_include_files)


-- Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeCache.txt.tmp
CMake Error: : System Error: No such file or directory
CMake Error: Unable to open cache file for save. E:/论文2008/20140403/x265/multicoreware-x265-6d83eaf6cf24/build/vc11-x86/CMakeCache.txt
CMake Error: : System Error: No such file or directory
No tags attached.
Issue History
2014-05-07 03:17hongbo zhuNew Issue
2014-05-07 08:45Brad KingNote Added: 0035833
2016-06-10 14:29Kitware RobotNote Added: 0042545
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
(0035833)
Brad King   
2014-05-07 08:45   
Please try running in a directory that has only ASCII characters in its name. CMake does not support international characters yet.
(0042545)
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.