QT编译出现ld.exe: cannot open output file debug\nh_03testCallPy.exe: Permission denied collect2.exe: error: ld returned 1 exit status


D:/Qt/Qt5.9.0/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot open output file debug\nh_03testCallPy.exe: Permission denied

collect2.exe: error: ld returned 1 exit status

原因目前可能有如下:

1.程序已经在运行,进入任务管理器结束nh_03testCallPy.exe这个程序即可。(绝大多数网友遇到的问题)

2.360正在杀毒,进入沙箱模式,杀完毒或者结束360即可。(额,我查阅了半天资料都如原因1,后来才发现360在杀毒)

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM