How to fix Cannot open output file: Permission denied collect2.exe: error: ld returned 1 exit status
HTML-код
- Опубликовано: 11 сен 2024
- How to fix Cannot open output file: Permission denied collect2.exe: error: ld returned 1 exit status
Solution:
- Disable the Antivirus
[Commnet]
The antivirus might prevent the code to run. It deletes the .exe file. Thus, prompting us about the Permission denied error when we try to run it.
-----------------------------------
Disclaimer:
It works for me and this might not work for everybody.
i have no anti virus installed
I was searching for solving this problem for 3 hours until I saw you. Big thank to you Bro
You maybe just have to rename the file without anything else, like what I did.
Tysm! I was litterally searching for an answer for 2 hrs till i got here. You really helped me! You got my sub
Thanks Bro.
It helps me a lot.
I have encountered many problems since I have installed VS CODE.
I thank this cannot be fixed but, Then I saw you video.
Really Very Helping.
🙂
For me, just changing the file name did the trick.
Thanks buddy❤️
Thank you
same
Thanks a lot brother
Thank u brother yur trick helped
Thanks bro
It’s been so hectic until i found your video
Doesn't work for me. I even temporarily disabled my AV but keep getting the same error.
Then how did you solve?? Please tell
Wow, I thought I was going crazy 😂
Thank you so much!
I'm done with McAfee they don't provide an option to exclude a folder, instead they recommend a 'file' only
Me also
How to solve the problem?
this is not solving my problem
it is again showing me that cannot open output file trial.exe: Permission denied
ayee bro God bless you mate! Hiuuge thanks !
I did this still that permission denied thing comes up
try renaming your file, it worked for me
Thanks to you my code is now running. all YT channel saying u haven't saved your file that's why its not working bruhh. Am I dumb .
whatever thanku
Thank you so much, you have saved a brother!!!
thanks bro keepppp the good workk goingg 😀😉
disabled the antivirus, it worked thanks
but i don't have antivirus
Thank you so much :D
Thank you so much Brother!!!
I have mc affee antivirus there is no exception options
How you resolved the problem?
I don't know how to open my antivirus. Can u help me T-T
Thanks brother,it is working 🙃
I uninstalled the antivirus and keeps saying permission denied
how dod u fix the problem im having that issue rn
thanks a lot bro
, its working now
Thaksssss!!!!!!!!!!
I've got no antivirus. The video didn't help(
hello you can go to the ( windows security > virus threat protection > go to manage settings > add or remove exclusions) there you can add exception to the folder where your c file is located. hope it helpss
@@orangeygoldfish Thank you so much brother this helps me a lot
You got a subscriber ❤️
@@orangeygoldfish Hello, this menthod didnt solve my problem..tried both the ways..can you please help?
@@orangeygoldfish Hello, both method didn't help me
@@orangeygoldfish i did exactly as u instructed, still this is not working... oh god i'm gonna quit c programming
Bro same problem same antivirus but not working for me.
Then how did you solve ?? Please tell
Thank buddy 💵
No problem!!
thanks bro for help
helpful video
D̶͔̭̪̻Ḛͭ̉̇͟N̺̻̔̆ͅI̍̅̀̎̊Ḛͭ̉̇͟D̶͔̭̪̻ Ḛͭ̉̇͟X̵̹̬̄̽Ḛͭ̉̇͟C̵͉͋̔͞ Ḛͭ̉̇͟X̵̹̬̄̽Ḛͭ̉̇͟
hmm...solving it by disabling the window defender and allowing the access. Thanks anyway~
It's not necessarily that you disable the window defender, file exception will do.
don't work
Then how did you solve ??please tell
@@JayeetaDas-zs2gu it's been 3 month soo I don't remember, maybe try restart the game or search is the steam page forum
but yes i solved the problem
it helps
How to do without computer?
not working bro. I really suffer from it 🥲🥲
But I don't have any antivirus
hello you can go to the ( windows security > virus threat protection > go to manage settings > add or remove exclusions) there you can add exception to the folder where your c file is located. hope it helpss
@@orangeygoldfish thanks bro ✌️
@@nadeemahmed8664 bro this didnt help me ..can you please help?
@@maryjoby780 bro jaha apne folder bnaya haii jaha ap c ke file save kr rahe ho waha sbse upr a.exe file hogi usko delete krna hai 📂 mai
@@nadeemahmed8664 thank you thank you thank you thank you sooo much 🥺 may god always keep you healthy and happy bro