Mingw错误2码片 < >编译CIDE IDE中的C++代码时,我得到了这个生成输出: 32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile "----------Building project:[ source - Debug ]----------" mingw32-make.exe[1]: Entering directory 'C:/Users/sprv6/Desktop/codelite workspaces/Competitive neural networks/source' C:/TDM-GCC-64/bin/g++.exe -o ./Debug/source ./Debug/main.cpp.o -L. C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file ./Debug/source.exe: Permission denied collect2.exe: error: ld returned 1 exit status mingw32-make.exe[1]: *** [Debug/source] Error 1 source.mk:78: recipe for target 'Debug/source' failed mingw32-make.exe[1]: Leaving directory 'C:/Users/sprv6/Desktop/codelite workspaces/Competitive neural networks/source' mingw32-make.exe: *** [All] Error 2 Makefile:4: recipe for target 'All' failed ====1 errors, 0 warnings====

Mingw错误2码片 < >编译CIDE IDE中的C++代码时,我得到了这个生成输出: 32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile "----------Building project:[ source - Debug ]----------" mingw32-make.exe[1]: Entering directory 'C:/Users/sprv6/Desktop/codelite workspaces/Competitive neural networks/source' C:/TDM-GCC-64/bin/g++.exe -o ./Debug/source ./Debug/main.cpp.o -L. C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file ./Debug/source.exe: Permission denied collect2.exe: error: ld returned 1 exit status mingw32-make.exe[1]: *** [Debug/source] Error 1 source.mk:78: recipe for target 'Debug/source' failed mingw32-make.exe[1]: Leaving directory 'C:/Users/sprv6/Desktop/codelite workspaces/Competitive neural networks/source' mingw32-make.exe: *** [All] Error 2 Makefile:4: recipe for target 'All' failed ====1 errors, 0 warnings====,c++,mingw,codelite,C++,Mingw,Codelite,我曾尝试取消选择“通过文件将对象列表传递给链接器”选项,但没有成功。我还尝试重新安装编译器,但没有成功。我不知道还能做什么。我所知道的关于问题根源的一切是,在我错误地编写了一些试图从列表末尾获取值的代码之后,问题开始出现 注意:我知道有人问过类似的问题,但他们的解决方案对我不起作用。很明显,错误可能重复,您没有/Debug/source.exe的写权限-它可能仍在运行(可能崩溃得很厉害)您的防病毒软件也可能导致这种情况。我错误地编写了一些代码,试图从列表末尾获取值,这些代码可能与问题无关,只是您

我曾尝试取消选择“通过文件将对象列表传递给链接器”选项,但没有成功。我还尝试重新安装编译器,但没有成功。我不知道还能做什么。我所知道的关于问题根源的一切是,在我错误地编写了一些试图从列表末尾获取值的代码之后,问题开始出现


注意:我知道有人问过类似的问题,但他们的解决方案对我不起作用。

很明显,错误可能重复,您没有
/Debug/source.exe的写权限-它可能仍在运行(可能崩溃得很厉害)您的防病毒软件也可能导致这种情况。我错误地编写了一些代码,试图从列表末尾获取值,这些代码可能与问题无关,只是您的程序可能仍在运行之前的尝试。