After a lot of searching I discovered that the real time protection of the antivirus program or the firewall of windows reads the extention ".exe" as a virus and causes this fatal error so you only have to disable real time protection.
I have install, uninstall and reinstall dev c++ from sourceforge many times. Everytime I get the same error in compiling a project even if I have a program like: #include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { printf("hello"); return 0; } The error is called fatal error and the exact description is: can't create main.o: No such file or directory recipe for target 'main.o'...