One more advice to the open topic. The error appears after running the "Analyze": something was changed in the project settings. The problem was that in:
Project / Settings / Build / Platform target
appeared "Any CPU".
Setting back to x86 (or maybe x64 in your case) solved the issue.