c:\program files (x86)\dev-cpp\mingw64\x86_64-w64-mingw32\bin\ld.exe cannot open output file E:\C语言\1.exe: Permission denied
时间: 2023-08-26 16:18:36 浏览: 141
引用。引用中提到了类似的情况,即同样的程序在不做任何修改的情况下,第二天在Dev-C上编译无法运行,并出现与64位版本的Windows不兼容的错误。引用中也提到了以管理员身份运行时编译不会报错,但以普通身份启动Dev-Cpp时会报错。根据这些信息,可能是权限问题导致了编译无法完成并出现了"Permission denied"错误。解决这个问题的方法可能是以管理员身份运行Dev-Cpp或者检查系统环境变量中的路径设置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [怎么解决Dev-C++的编译问题](https://blog.csdn.net/weixin_43135932/article/details/111242223)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Dev-Cpp报错“C:\Program Files (x86)\Dev-Cpp\project\collect2.exe [Error] ld returned 1 exit status”...](https://blog.csdn.net/Mr_green_bean/article/details/82313497)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文