clion莫名其妙的报错,请各位大神帮忙看下是什么原因
答案:2 悬赏:20 手机版
解决时间 2021-03-31 13:07
- 提问者网友:你挡着我发光了
- 2021-03-31 07:29
clion莫名其妙的报错,请各位大神帮忙看下是什么原因
最佳答案
- 五星知识达人网友:低音帝王
- 2021-03-31 07:38
种情况出现在很多时候,而且都是重新开个新的clion窗口再把代码复制进去就可以debug了
"D:\clion\JetBrains\CLion 2016.1.1\bin\cmake\bin\cmake.exe" --build C:\Users\LULULU\.CLion2016.1\system\cmake\generated\cprimerplus7_1-a66632b4\a66632b4\Debug --target all -- -j 8
[ 50%] Building CXX object CMakeFiles/cprimerplus7_1.dir/main.cpp.obj
[100%] Linking CXX executable cprimerplus7_1.exe
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot open output file cprimerplus7_1.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
CMakeFiles\cprimerplus7_1.dir\build.make:95: recipe for target 'cprimerplus7_1.exe' failed
mingw32-make.exe[2]: *** [cprimerplus7_1.exe] Error 1
mingw32-make.exe[1]: *** [CMakeFiles/cprimerplus7_1.dir/all] Error 2
CMakeFiles\Makefile2:66: recipe f
"D:\clion\JetBrains\CLion 2016.1.1\bin\cmake\bin\cmake.exe" --build C:\Users\LULULU\.CLion2016.1\system\cmake\generated\cprimerplus7_1-a66632b4\a66632b4\Debug --target all -- -j 8
[ 50%] Building CXX object CMakeFiles/cprimerplus7_1.dir/main.cpp.obj
[100%] Linking CXX executable cprimerplus7_1.exe
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot open output file cprimerplus7_1.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
CMakeFiles\cprimerplus7_1.dir\build.make:95: recipe for target 'cprimerplus7_1.exe' failed
mingw32-make.exe[2]: *** [cprimerplus7_1.exe] Error 1
mingw32-make.exe[1]: *** [CMakeFiles/cprimerplus7_1.dir/all] Error 2
CMakeFiles\Makefile2:66: recipe f
全部回答
- 1楼网友:忘川信使
- 2021-03-31 08:56
先在Run菜单下点Stop(CTRL+F2)再编译运行
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯