DEVC + + reports an error [error] ID returned 1 exit status
Cause
The computer in the school computer room always compiles twice and always reports errors
Error reporting prompt
[Error] Id returned 1 exit status
Solution
Premises
First check whether the console window of your program is closed, and then recompile if there is an error. The following scheme is for the case where an error is still reported after closing the window.
Operation
Right click dev C + + icon -> Properties – > Compatibility > Check “run this program as an administrator” open dev C + + –> tools –> compilation options –> code generation/Optimization –> connector –> set “link objective C program” to yes, and switch the compiler in the upper right corner of the dev C + + main page to debug mode (for example, tdm-gcc 4.9.2 64 bit debug) If your computer has a restore card, please place the project and its files on an unprotected disk.
Read More:
- VSCode Error: collect2.exe:error:1d returned 1 exit status [How to Solve]
- Dev C++ Error: error: ld returned 1 exit status [How to Solve]
- VSCode Error: collect2.exe: error: ld returned 1 exit status
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- GCC Error:(.text+0x24): undefined reference to `main‘collect2: error: ld returned 1 exit status [Solved]
- [Solved] VsCode + gfortran Compiler Error: error: ld returned 1 exit status
- [Solved] VScode Error: undefined reference to ‘WinMain’ collect2.exe: error: ld returned 1 exit status
- NVM use error: exit status [How to Solve]
- Ubutnu Qt Unable to start process Error: “make“ -f ‘ /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit sta
- vscode: Error loading workspace: err: exit status 1: stderr: build flag -mod=readonly only valid
- [Solved] error getting credentials – err: exit status GDBus.Error:org.freedesktop.DBus.Error.ServiceU
- Linux: tar Unpack .tar.bz2 File Error tar: Child returned status 2 tar: Error is not recoverable: exiting now
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- After SpringBoot starts, exit the console directly and display Process finished with exit code 1
- Kotlin gets the ID automatically error [How to Solve]
- The requested URL returned error: 403 [How to Solve]
- Laravel model save if the table has no ID field Error [How to Solve]
- fatal: unable to access”: The requested URL returned error: 500
- Plink Error: Multiple instances of ‘_’ in sample ID.?
- Kafka Error while fetching metadata with correlation id 1 : {alarmHis=LEADER_NOT_AVAILABLE}