UE4 cant compile C++ "no such file or directory"

Hello. I was Blueprint programmer before, now I want to work with C++ but whenever I try to create a project or create C++ actor, or build the file manually from Visual Studio, I get this error:

Any fixes?

Have you tried right-click on .uproject file and “Generate Visual studio project files”?

I did two things and I solved it:

1- Changed the directory since I use Turkish language my path contains non-english characters. Project is located in Program Files now.
2- I did what you said.

Thanks