吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1335|回复: 1
收起左侧

[求助] clion配置运行环境

[复制链接]
yxn4065 发表于 2021-4-3 20:51
试了网上n种方法都不行,一直显示测试CMake运行完成但有错误!!!显示如下
【-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: D:/DevCpp/MinGW32/bin/gcc.exe
-- Check for working C compiler: D:/DevCpp/MinGW32/bin/gcc.exe - broken
CMake Error at D:/CLion/bin/cmake/win/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "D:/DevCpp/MinGW32/bin/gcc.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeTmp
   
    Run Build Command(s):D:/DevCpp/MinGW32/bin/mingw32-make.exe cmTC_0912c/fast && D:/DevCpp/MinGW32/bin/mingw32-make.exe  -f CMakeFiles\cmTC_0912c.dir\build.make CMakeFiles/cmTC_0912c.dir/build
    mingw32-make[1]: Entering directory 'C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_0912c.dir/testCCompiler.c.obj
    D:\DevCpp\MinGW32\bin\gcc.exe    -o CMakeFiles\cmTC_0912c.dir\testCCompiler.c.obj   -c C:\Users\缂佸棝娲﹀ù渚�鐡夾ppData\Local\Temp\cmake_check_environment\_build16740896224053456572\CMakeFiles\CMakeTmp\testCCompiler.c
    gcc.exe: error: C:\Users\缂佸棝娲﹀ù渚�鐡夾ppData\Local\Temp\cmake_check_environment\_build16740896224053456572\CMakeFiles\CMakeTmp\testCCompiler.c: No such file or directory
    gcc.exe: fatal error: no input files
    compilation terminated.
    mingw32-make[1]: *** [CMakeFiles\cmTC_0912c.dir\build.make:85: CMakeFiles/cmTC_0912c.dir/testCCompiler.c.obj] Error 1
    mingw32-make[1]: Leaving directory 'C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeTmp'
    mingw32-make: *** [Makefile:140: cmTC_0912c/fast] Error 2
   
   



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


-- Configuring incomplete, errors occurred!
See also "C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeOutput.log".
See also "C:/Users/缁嗛洦娴侀瓊/AppData/Local/Temp/cmake_check_environment/_build16740896224053456572/CMakeFiles/CMakeError.log".

错误代码: 1】
诚心求大佬帮忙求大佬

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

绫织梦 发表于 2021-4-4 10:43
最后一行有个cmakeerror的log文件,贴出来看看?
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2025-1-17 03:54

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表