make:***No targets specified and no makefile found. Stop

make:***No targets specified and no makefile found. Stop ,
Error: Failed to build
This this is what my PROS program stated. How do i solve that problem.

How did you run the command? What steps have you taken?
You have to be more specific.
Did you delete your Makefile?
Are you using the editor buttons, or the cli to build?

If you are using the editor, make sure the project is the only one open in the window, that the “root” (outer folder) of the tree view is the root of your project.
Go to File->Open Folder and open your project.
If not, the editor does not know where your project is.

This might be related to your linter issue, as you may have incorrectly opened your project in the editor, causing it not to be able to detect which project you are using.

If you are using the cli, are you in the proper directory?

Please take the time to better explain your problems before posting on the forum. You should work to help people help you, instead of making people work to help you.
People will be able to help you better that way.

1 Like