Getting a Strange Error Trying to Compile C++ Templates

I’ve got this strange problem with Visual Studio I was wondering if you had any ideas

When I try to compile Unreal 4 source it says:

error : System.UnauthorizedAccessException: Access to the path ‘C:\Program Files\Epic Games\4.8\Engine\Source\Developer\AutomationController\Public\Interfaces\IAutomationControllerManager.h’ is denied.

…only I don’t understand why access is denied.

I’m looking over the internet now for answers, but just in case you had any ideas, please let me know.

Thanks in advance,

May be you should change the compilar or may be OS you are using. You ca refer the same from below archives.

I don’t see what this has to do with templates.

  1. Check that the file exists by browsing to that directory, if it doesn’t exist you need to make sure you have the full source for GitHub/wherever you downloaded it from.
  2. If it does exist, hmm, right click the file and select Properties…, under the Security tab make sure you have write access, but that would be quite weird if you didnt :S

Let me know how it goes, I’m hoping for #1 as it is an easy fix. :slight_smile: