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