Error No rule ot make target needed by /.../.. MakeFile.stop file not found
I was recently trying to run my project on a Windows 7 system from my windows directory. Now when I go back to Linux to run it, I get this error. I've tried to clean and build which did nothing. Then someone told me to delete the makefile and build the project again but that didn't help so right now I have no makefile for this project.
Thanks in advance.
Re: Error No rule ot make target needed by /.../.. MakeFile.stop file not found
You should delete the file: PROJECT_NAME.pro.user (or don't copy that file when you move code between platforms or click on No option on "import settings" (or something similar) when you open a .pro file that still has that file and it was created on another platform) and then you will be able to add the target/s for the platform you use.
Re: Error No rule ot make target needed by /.../.. MakeFile.stop file not found
1) In .pro file find your problematic .cpp file and move it few lines up, near the other .cpp files at SOURCES +=. Solved it for me.
2) Also make sure you have the right read write permissions to access the .cpp, h file.
3) If the above doesn't work, put the problematic .cpp .h files in a separate folder, outside the project folder ( not near the project folder )