Dev C++ Error Returned 1 Exit Status

Posted By admin On 18.04.20
Dev C++ Error Returned 1 Exit Status Average ratng: 8,1/10 6906 votes

Hi,

Exit

If you compile a C/C source file with no main function to execute, there will definitely be a bug message saying: 'Error Id returned 1 exist status'. In your case, the bug reporting files are MDAnalysis.c (for it is a C source file with no main function) but neither MDAnalysis.h. Get latest updates about Open Source Projects, Conferences and News. Sign Up No, Thank you No, Thank you.

I'm still a beginner for C programming. In my assignment I've encountered this problem and I know is a linker problem but I'm not sure how to solve it. I'm trying to link 3 files which 2 .c files and 1 .h file. Below are the codes for my file:

These 3 files are my codings. I hope someone can help me out. I'm stuck at his problem for long time. Thanks in advance. Appreciate your help.

  • 5 Contributors
  • forum 4 Replies
  • 11,275 Views
  • 5 Years Discussion Span
  • commentLatest Postby Sean1234$Latest Post

Banfa597

I think you mean Ld returned 1 exit status.

Do you really mean you tried to link the 2 c files and the h file or do you mean you compiled the c files and tried to link the resulting objects?

The processor of building a program is

  • Compile each individual source (.c) file producing an object file (.o or .obj)
  • Link all the object files produced in stage 1 with any require libraries

NOTE 1: you neither compile or link header (.h) files, they are included into source (.c) files and the code the contain is compiled in that manner.

NOTE 2: It is very poor practice to #include source files (.c) into other source files (.c) as you have done in your driver.c listing. However if you must/do do that then you should not separately compile the source (.c) that you included.

Normally the IDE handles the build process for you so it would help us to know what tools, compiler tool-chain and/or IDE you are using.

Mar 11, 2020  Download Cooking Fever apk 8.0.1 for Android. Cook delicious meals and desserts from all over the world! Using APKPure App to upgrade Cooking Fever, fast, free and save your internet data. Cooking Fever Pros and Cons. A good game to kill the time. Fast pace and it keeps you on your toes. Keep hand-eye coordination order. Nov 17, 2015  Download this game from Microsoft Store for Windows 10, Windows 8.1, Windows 10 Mobile, Windows Phone 8.1. See screenshots, read the latest customer reviews, and compare ratings for Cooking Fever. Aug 18, 2014  Download Cooking Fever and enjoy it on your iPhone, iPad and iPod touch. ‎Cook delicious meals and desserts from all over the world in this FREE addictive time-management game! With a wide choice of unique locations and restaurants, from Desserts and Fast Food to Indian and Chinese cuisines, you will be able to practice your skills in a. Cooking fever download app. Aug 18, 2014  Download Cooking Fever and enjoy it on your iPhone, iPad, and iPod touch. ‎Cook delicious meals and desserts from all over the world in this FREE addictive time-management game! With a wide choice of unique locations and restaurants, from Desserts and Fast Food to Indian and Chinese cuisines, you will be able to practice your skills in a. Mar 11, 2020  Cooking Fever requires access to the internet in order to play. The game uses a small amount of data for features like our daily rewards, restoring lost game progress, tournaments, challenges, and other gameplay improvements.

Hi all

Dev C Error Returned 1 Exit Status Collect2 Exe

I am a noob to C++ and I was getting some source code off the web and this is the second time it has happened, when I compile (Blood Shed Dev) I get a message in the compiler 'permission denied'
'Id returned 1 exit status'
Can anybody help me and tell me what is going wrong please?

Error Id Returned 1 Exit Status Dev C++


Many thanks

HLA91

  • 8 Contributors
  • forum 12 Replies
  • 1,878 Views
  • 5 Years Discussion Span
  • commentLatest Postby gracevilleLatest Post

Nick Evan4,005

Don't know about Bloodshed, but what is the code suppose to do? Could you show it? What OS are you using?

Edited by Nick Evan: n/a