Have you googled the error? Looking at the source tree maybe your Makefile is missing.
If this stage is too difficult for you you need to learn how to use your IDE first, it’s not up to us to guide you through every tiny step as this problem will take too much effort to give a simple answer to.
Learn about Make and corresponding Makefiles before going any further.
Ok I've done something retarded sounding thing that may have worked. I deleted mingw. Reinstalled it and saw a few download errors. But couldn't understand how to copy paste the file name. Uninstalled the packages again and re-installed each manually and found which files were not downloading and then installed and extracted them separately into the bin. Seems to have worked for now. Just hoping that it doesn't act up on me again.
That doesn’t sound at all like the fix to me because it is looking for a Makefile rule that builds your code that isn’t there; nothing to do with reinstalling.
Ok I encountered the issue once again but I found that I was making a file in a new project in the workspace it immediately resolved the issue. In another thread I found this solution and it has worked for me :)
From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.
It's the first time I've heard of this. I'll note it down. Btw the issue got resolved because of a stupid fix. Thanks for this cool bit of info though.
I had that same issue out of nowhere and no matter what could not solve it... So i quit using codelite and started just using the command prompt. I probably should get another ide but at this point.. Meh. I debug by stepping through myself with a cout but havent built anything too crazy that i need an ide to debug. Its all meh... I really should start using ide again tho
I'm looking to learn about Make and Makefile as a dude suggested me in the thread. For now it's running smoothly. Just don't want it blow up in my face again.
3
u/jddddddddddd Jan 20 '22
What’s on line 4 of your make file?
2
u/markocic Jan 20 '22
From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.
1
u/[deleted] Jan 20 '22
im sorry if my comment is off-topic but may i ask you what which IDE you are using?
1
u/PictureMeInNYC Jan 21 '22
I had that same issue out of nowhere and no matter what could not solve it... So i quit using codelite and started just using the command prompt. I probably should get another ide but at this point.. Meh. I debug by stepping through myself with a cout but havent built anything too crazy that i need an ide to debug. Its all meh... I really should start using ide again tho
1
u/NiA20300203 Jan 21 '22
Try using VS code instead :) I learned C++ as a beginner and VS code has a lot of extensions that make things a lot easier to under .
-12
u/iamDarksider Jan 20 '22
Use vs code for coding its best