Dev C + + Permission denied Collect2:ld returned 1 exit status compilation error

Source: Internet
Author: User

Dev-c++ version:5.3.0.3

Compilation error: Permission denied

Collect2:ld returned 1 exit status

Reason: 1. When compiling, press F9, the default in the same directory to generate EXE, the cause of this error is that it has been compiled once, there is an EXE of the same name. In fact, you carefully observe, when the F9 prompt compilation error (at this time there is the same name of the EXE), although not compiled successfully generated the experience EXE, but wait a few seconds, it will delete

The original existence of the same name EXE. Therefore, if you encounter this situation, you can actively delete the original name of the EXE, also press F9 can wait a while, and then recompile.

2. When compiling, EXE program is still running, please close, then compile. However, this issue does not occur with the version of dev-c++ that I am using because the Compile button and shortcut keys are disabled when the program is run.

Dev C + + Permission denied Collect2:ld returned 1 exit status compilation error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.