查看: 3445|回复: 2

请问点击Configure时,出现错误对话框时是什么原因(在编译OSG时)

[复制链接]

该用户从未签到

发表于 2012-4-27 08:34:27 | 显示全部楼层 |阅读模式
CMake Error: Could not open file for read in copy operation D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeSystem.cmake.in
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:172 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:29 (PROJECT)


CMake Error: Could not open file for read in copy operation D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeCCompiler.cmake.in
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:177 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:29 (PROJECT)


CMake Error: Could not find cmake module file:/OSG/OpenSceneGraph-2.8.2/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not open file for read in copy operation D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXCompiler.cmake.in
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:182 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:29 (PROJECT)


CMake Error: Could not find cmake module file:D:/OSG/OpenSceneGraph-2.8.2/build/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: Could not open file for read in copy operation D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeRCCompiler.cmake.in
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineRCCompiler.cmake:65 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:28 (ENABLE_LANGUAGE)
  D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)
  CMakeLists.txt:29 (PROJECT)


CMake Error: Could not find cmake module file:D:/OSG/OpenSceneGraph-2.8.2/build/CMakeFiles/CMakeRCCompiler.cmake
CMake Error: Could not open file for read in copy operation D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake.in
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:246 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)
  CMakeLists.txt:29 (PROJECT)


CMake Error: Could not open file for read in copy operation D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake.in
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:251 (CONFIGURE_FILE):
  configure_file Problem configuring file
Call Stack (most recent call first):
  D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)
  CMakeLists.txt:29 (PROJECT)


Check for working C compiler using: Visual Studio 8 2005
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:36 (TRY_COMPILE):
  Unknown extension ".c" for file

    D:/OSG/OpenSceneGraph-2.8.2/build/CMakeFiles/CMakeTmp/testCCompiler.c

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

    C CXX RC

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


Check for working C compiler using: Visual Studio 8 2005 -- broken
CMake Error at D:/°²×°³ÌÐò/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "cl" is not able to compile a simple test program.

  It fails with the following output:

   

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:29 (PROJECT)


Configuring incomplete, errors occurred!
捕获.PNG

该用户从未签到

发表于 2012-5-4 10:59:30 | 显示全部楼层
您使用了中文路径?cmake不能识别它
此外您的VisualStudio似乎也有问题,无法被找到

该用户从未签到

发表于 2013-7-20 17:30:29 | 显示全部楼层
array正解!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表