Reputation: 1419
I have never had this problem while working on eclipse. I have been working on this particular project for a while and recently eclipse froze while building the project(it has happened before) and i had to kill the eclipse process... When i restarted eclipse, the exe file did not exist in the file system (in my Debug Folder) and when i Rebuild, it still does not get generated even though it says : "Build Finished (took 103 ms)" ... which is way faster than the normal build time of my project.
Edit 1: BTW i did a project clean but it didn't help. Also i tried closing and reopening eclipse.
Upvotes: 2
Views: 7975
Reputation: 111
In my case the antivirus software (Avast) was automatically deleting the .exe file, and I had to disable it for running my program.
Upvotes: 0
Reputation: 1419
Very Funny! I myself found the problem, though i don't understand it!
I closed eclipse and found that there was a process still running called : "g++.exe" in my process list in "Windows Task manager" which i knew shouldn't be running with eclipse closed! So i simply killed it and reopened eclipse, and the problem was solved!
Also look for processes like:
Upvotes: 1
Reputation: 27577
Try deleting all the object files (with a build clean) and then do a rebuild.
Upvotes: 0