clion莫名其妙的报错,请各位大神帮忙看下是什么原因
2个回答
展开全部
种情况出现在很多时候,而且都是重新开个新的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
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询