Share via

How to solve the problem?

Anonymous
2024-06-20T20:36:44+00:00

when i run c code code runner showsC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file main.exe: Permission denied collect2.exe: error: ld returned 1 exit status and terminal doesn show output

Windows Insider program | Apps on Insider preview

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-06-21T09:03:23+00:00

    Hello, محمود هشام فوزي عبد الفتاح الجندي

    Welcome to the Microsoft Community

    Thanks for your feedback. I read the information you provided. You mentioned that the problem occurs when you run code in C language.

    First of all, please tell me, did you write these codes yourself? Or, these codes were written by others, but there was a problem when you ran them.

    If you wrote it yourself, I'm sorry, I hope I can solve your problem, but such a question is beyond the scope of the forum's reply, please don't worry, you can also post it on Microsoft Learn (English only), because there are More users are posting these questions there, you can click "Ask a question" and there are experts there who can provide more professional solutions. Please click on the link below.

    C++ - Microsoft Q&A

    If the code was written by someone else, you should go to the website where you downloaded the program to check whether your file is complete or ask the program developer for more help.

    Best regards

    Brian - Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments