Unable to build and execute program in C language using IDE(CodeLite)Using GNU Make to build both debug and release targets at the same timeHow to make Make *not* print "recipe for target failed?Compiling cpp files in one directory into another directoryExecution of the recipe for multiple targets at onceMake re-builds a co-target in an implicit-rule, after it had already been updatedHow to install Module::Build with strawberry perl in windows 7OCaml Makefile: No Rule to Make TargetDefine a makefile target from variables set with evalHow to rebuild when the recipe has changedDefine target for recursive makefiles invocation

When do you stop "pushing" a book?

Two researchers want to work on the same extension to my paper. Who to help?

What was the notion of limit that Newton used?

Further factorisation of a difference of cubes?

Examples where existence is harder than evaluation

Has there been evidence of any other gods?

Intersecting with the x-axis / intersecting the x-axis

How is CoreiX like Corei5, i7 is related to Haswell, Ivy Bridge?

Should I pay on student loans in deferment or continue to snowball other debts?

How to efficiently lower your karma

Why was the ancient one so hesitant to teach Dr Strange the art of sorcery

Extending Kan fibrations, without using minimal fibrations

Company threw a surprise party for the CEO, 3 weeks later management says we have to pay for it, do I have to?

What's the difference between const array and static const array in C/C++

What can cause an unfrozen indoor copper drain pipe to crack?

Which other programming languages apart from Python and predecessor are out there using indentation to define code blocks?

How to get a ellipse shaped node in Tikz Network?

How to slow yourself down (for playing nice with others)

Passport stamps art, can it be done?

Best species to breed to intelligence

Does the 500 feet falling cap apply per fall, or per turn?

Succinct and gender-neutral Russian word for "writer"

Why are parallelograms defined as quadrilaterals? What term would encompass polygons with greater than two parallel pairs?

Why can't I prove summation identities without guessing?



Unable to build and execute program in C language using IDE(CodeLite)


Using GNU Make to build both debug and release targets at the same timeHow to make Make *not* print "recipe for target failed?Compiling cpp files in one directory into another directoryExecution of the recipe for multiple targets at onceMake re-builds a co-target in an implicit-rule, after it had already been updatedHow to install Module::Build with strawberry perl in windows 7OCaml Makefile: No Rule to Make TargetDefine a makefile target from variables set with evalHow to rebuild when the recipe has changedDefine target for recursive makefiles invocation






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am a student learning C-language using the IDE of CodeLite for my projects. I am now writing a program but whenever I build and run it, the following shows up:



mingw32-make.exe[1]: *** No rule to make target 'Release/main.c.o', needed by 'release/lab7'. stop. 
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
# ... then mingw32-make.exe[1]: enters directory which contains my file
mingw32-make.exe *** [All] error 2
# ...at this point mingw32-make.exe[1]: leaves directory which contains my file)
Makefile:4: recipe for target 'All' failed


Can anyone be kind enough to tell me what is wrong and how to fix it?










share|improve this question
























  • To answer your question you would need to add the contents of the makefile executed by the make sub-instance mingw32-make.exe[1]. Educated guess from the error message would be a broken rule for compiling the module Release/main.c. Your makefile also seems to have a case inconsistency, i.e. 'Release` vs release. Windows file system might not see a difference here, because it ignores case, but make targets are case sensitive.

    – Stefan Becker
    Mar 23 at 18:15

















0















I am a student learning C-language using the IDE of CodeLite for my projects. I am now writing a program but whenever I build and run it, the following shows up:



mingw32-make.exe[1]: *** No rule to make target 'Release/main.c.o', needed by 'release/lab7'. stop. 
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
# ... then mingw32-make.exe[1]: enters directory which contains my file
mingw32-make.exe *** [All] error 2
# ...at this point mingw32-make.exe[1]: leaves directory which contains my file)
Makefile:4: recipe for target 'All' failed


Can anyone be kind enough to tell me what is wrong and how to fix it?










share|improve this question
























  • To answer your question you would need to add the contents of the makefile executed by the make sub-instance mingw32-make.exe[1]. Educated guess from the error message would be a broken rule for compiling the module Release/main.c. Your makefile also seems to have a case inconsistency, i.e. 'Release` vs release. Windows file system might not see a difference here, because it ignores case, but make targets are case sensitive.

    – Stefan Becker
    Mar 23 at 18:15













0












0








0








I am a student learning C-language using the IDE of CodeLite for my projects. I am now writing a program but whenever I build and run it, the following shows up:



mingw32-make.exe[1]: *** No rule to make target 'Release/main.c.o', needed by 'release/lab7'. stop. 
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
# ... then mingw32-make.exe[1]: enters directory which contains my file
mingw32-make.exe *** [All] error 2
# ...at this point mingw32-make.exe[1]: leaves directory which contains my file)
Makefile:4: recipe for target 'All' failed


Can anyone be kind enough to tell me what is wrong and how to fix it?










share|improve this question
















I am a student learning C-language using the IDE of CodeLite for my projects. I am now writing a program but whenever I build and run it, the following shows up:



mingw32-make.exe[1]: *** No rule to make target 'Release/main.c.o', needed by 'release/lab7'. stop. 
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
# ... then mingw32-make.exe[1]: enters directory which contains my file
mingw32-make.exe *** [All] error 2
# ...at this point mingw32-make.exe[1]: leaves directory which contains my file)
Makefile:4: recipe for target 'All' failed


Can anyone be kind enough to tell me what is wrong and how to fix it?







c# makefile compiler-errors gnu-make






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 18:11









Stefan Becker

4,49531125




4,49531125










asked Mar 23 at 10:02









Justin ZhongJustin Zhong

31




31












  • To answer your question you would need to add the contents of the makefile executed by the make sub-instance mingw32-make.exe[1]. Educated guess from the error message would be a broken rule for compiling the module Release/main.c. Your makefile also seems to have a case inconsistency, i.e. 'Release` vs release. Windows file system might not see a difference here, because it ignores case, but make targets are case sensitive.

    – Stefan Becker
    Mar 23 at 18:15

















  • To answer your question you would need to add the contents of the makefile executed by the make sub-instance mingw32-make.exe[1]. Educated guess from the error message would be a broken rule for compiling the module Release/main.c. Your makefile also seems to have a case inconsistency, i.e. 'Release` vs release. Windows file system might not see a difference here, because it ignores case, but make targets are case sensitive.

    – Stefan Becker
    Mar 23 at 18:15
















To answer your question you would need to add the contents of the makefile executed by the make sub-instance mingw32-make.exe[1]. Educated guess from the error message would be a broken rule for compiling the module Release/main.c. Your makefile also seems to have a case inconsistency, i.e. 'Release` vs release. Windows file system might not see a difference here, because it ignores case, but make targets are case sensitive.

– Stefan Becker
Mar 23 at 18:15





To answer your question you would need to add the contents of the makefile executed by the make sub-instance mingw32-make.exe[1]. Educated guess from the error message would be a broken rule for compiling the module Release/main.c. Your makefile also seems to have a case inconsistency, i.e. 'Release` vs release. Windows file system might not see a difference here, because it ignores case, but make targets are case sensitive.

– Stefan Becker
Mar 23 at 18:15












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55312585%2funable-to-build-and-execute-program-in-c-language-using-idecodelite%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55312585%2funable-to-build-and-execute-program-in-c-language-using-idecodelite%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript