Home > Back-end >  C: codeblocks runtime error: ld reeturened 1 exit status
C: codeblocks runtime error: ld reeturened 1 exit status

Time:09-20

Everybody everybody is good, my introduction to the c language small white one, ask you a question,
When I'm running a project some strange questions,
My project is a person to write good, I need to do is change the parameter value, running a program, he give me the source program can be compiled to run, but when I skin copy to another path first appeared in the following questions:
Undefined reference to "... "And" error: ld reeturened 1 exit status, "
In order to solve the undefined reference to "... ", I put the custom function and copied to it prompts the missing that. C file, and then compile:
Only "error: ld reeturened 1 exit status",
Strangely, when I was this morning to open the computer, the copied project compile operation is successful, then I changed several parameter values, in the above question,
I'm sure the project is not what the parameter name write wrong these problems,
Then I open the codeblocks closed several times again, or compiler error "error: ld reeturened 1 exit status",
Which master can help me to look at what is question?
Just copy the path to the problem or is it the compiler?
Online to find a lot of the problem, but can't solve my problem,
Please help me to think about is what reason, thank you,

CodePudding user response:

How to also need to post my code and error section PIC

CodePudding user response:



CodePudding user response:

reference 1/f, Simple, Soft reply:
how to also need to post my code and error sectional picture

The figure below. Thanks

CodePudding user response:

You this,,, and post code of the text, good local recurrence, you post a picture and so much wrong what

CodePudding user response:

reference 4 floor a1007885391 response:
you this,,, and post code of the text, good local recurrence, you post a picture and so much wrong how make

I 14 under the project file, do you want me to post?
Or as long as the main?

CodePudding user response:

Have a look at the output of the compilation, where an error

CodePudding user response:

refer to 6th floor a1007885391 response:
have a look at the output of the compilation, where an error is

Hello, I'm a colleague asked me to put the project under the obj and bin the debug file deleted
The results also really good
So it is the problem? Good strange, but all ok before, I can be in notebooks, kao and then back to the school to a desktop is washed-up,
Principle of well, but I still don't understand, don't know why this happen,

CodePudding user response:

Don't know your compiler and running platform, may be the first time you check out after make a mistake, but changed the problem not regenerate solution or recompile, and compiled using the previous file, lead to errors; Not after you delete the certificate of the compilation process, he is automatically regenerated again, so is normal, anyway, I changed the code is generally to regenerate the solution

CodePudding user response:

The compiler warnings and error solved the first ~

CodePudding user response:

refer to the eighth floor a1007885391 response:
don't know your compiler and running platform, may be the first time you check out after make a mistake, but changed the problem not regenerate solution or recompile, and with the compilation of documents before, lead to errors; Not after you delete the certificate of the compilation process, he is automatically regenerated again, so is normal, anyway, I changed the code is generally regenerated solution

Platform is codeblocks then the Compiler is the GNU GCC Compiler
Oddly I haven't this problem before, is on the copy the project to another computer came after,
Fortunately, solved, thank you for your sharing

CodePudding user response:

references 9/f, confident boy reply:
the compiler warnings and error solved first ~

After the Debug file deletion errors, the program can normal run
  • Related