[当我尝试在c中编译和运行程序时,我的权限被拒绝。可能是什么问题?

问题描述 投票:0回答:2

消息

Cannot open output file F:\programming\simpletrialexpression.exe: permission denied
[Error] Id returned 1 exist status
c windows compiler-errors permission-denied
2个回答
1
投票

输出文件已经存在,并且不允许ld对其进行写入。可能是因为它已经在后台某处运行。


0
投票

[另一种可能性是某些防病毒软件会阻止对.exe文件的访问,以防止感染。尝试禁用该软件,或将ld.exe放入白名单。

© www.soinside.com 2019 - 2024. All rights reserved.