I am a beginner of C language. When using dev C + + compiler, I encountered a situation: the program is correct and can be compiled and run normally, but it appears when I run it again after running it once Error [error] LD returned 1 exit status. The reason for this problem is that although the last running window is closed, the program is still running in the background. This can be viewed through the task manager.
The usual method on the Internet is to close the program and then open it. This is OK, but it is too inconvenient. Here is a method. I used this method to solve my problem:
Right click the compatibility attribute of devcpp.exe and check the run as administrator. Just.
Read More:
- Solution to error [error] LD returned 1 exit status in C language
- About the problem of collect2.exe [error] LD returned 1 exit status in dev!!!
- A solution to [error] LD returned 1 exit status
- Solutions to the problem of “collect2.exe: error: LD returned 1” exit “status when writing C + + with vscode
- ||Error: LD returned 1 exit status | C + + compile time problems
- collect2: error:ld returned 1 exit status solution
- Possible causes of [errror] ID returned 1 exit status error in dev C + + Programmer
- Collect2.exe: error: LD returned 5 exit status solution
- .. ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: ***
- Solutions to the problem of collect2: error: LD returned 1 exit status
- In function `_start’ undefined reference to `main’ error: ld returned 1 exit status
- Php7 compiles collect2: error: LD returned 1 exit status
- undefined reference to `pthread_create’ collect2: ld returned 1 exit status
- Linux GCC compilation error: “collect2: LD returned 1 exit status”
- Collect2: error: LD returned 1 exit status
- undefined reference to `WinMain‘collect2.exe: error: ld returned 1 exit status
- Error: LD returned 1 exit status appears when developing esp8266 with anxinco IDE
- Error: LTO wrapper failed collect2: error: LD returned 1 exit status
- Solution to the flash of running result of dev C / C + +
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation