Suddenly my whole project stopped compiling at all, showing the following message:
Program \'path_to_obj_project_folder\' does not contain a static \'
Just in case someone is still getting the same error, even with all the help above: I had this problem, I tried all the solutions given here, and I just found out that my problem was actually another error from my error list (which was about a missing image set to be my splash screen. i just changed its path to the right one and then all started to work)