C语言编译显示make错误,cmake - CMake无法编译简单测试,错误5访问被拒绝 - 堆栈内存溢出...

在尝试使用CMake编译项目时,遇到了C compiler "C:/MinGW/bin/gcc.exe"编译简单测试程序失败的问题,返回错误5,表示访问被拒绝。该问题可能与目录权限或CMake配置有关。
摘要由CSDN通过智能技术生成

我对CMake相当陌生,当我尝试编译时,我得到以下输出。 我整天都忙不过来-外面有人有经验吗? 对相关目录和文件的权限似乎很好。 任何帮助,不胜感激! 谢谢

The C compiler identification is GNU 4.6.2

The CXX compiler identification is GNU 4.6.2

Check for working C compiler: C:/MinGW/bin/gcc.exe

Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):

The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test

program.

It fails with the following output:

Change Dir: C:/buildtemp/CMakeFiles/CMakeTmp

Run Build Command:C:/MinGW/bin/mingw32-make.exe

"cmTryCompileExec2665670929/fast"

C:/MinGW/bin/mingw32-make.exe -f

CMakeFiles\cmTryCompileExec2665670929.dir\build.make

CMakeFiles/cmTryCompileExec2665670929.dir/build

process_

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值