I can't compile anything and it end with a lot of error 3221225477

No idea. I’d actually recommend uninstalling Avast and rebooting. If that does not work, I have no further ideas other than to reinstall Windows. Maybe you get more ideas by looking at search results for Error 3221225477. Some posts also indicate that it might be a driver issue. All the error code stands for is EXCEPTION_ACCESS_VIOLATION, program has crashes trying to access invalid memory.