[HELP] Permissions while compiling basic project

Hi.

I’m trying to follow the Twin Stick Shooter tutorial, but when I do the C++ portion and finally build in VS2015 I get the following error:

Error MSB3075 The command ““C:\Program Files (x86)\Epic Games\4.12\Engine\Build\BatchFiles\Build.bat” TwinStickShooterEditor Win64 DebugGame “C:\Users\keith\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject” -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command. TwinStickShooter C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37

I get no other errors, I’ve tried rebuilding, I’ve tried changing my Windows 10 UAC settings to be completely permissive, I’ve rebooted my PC, restarted VS2015 as an administrator and still get the same error.

Any help would be appreciated,

Thanks!

“Please verify that you have sufficient rights to run this command” is a generic error that MSBuild/VS gives when it basically doesn’t know what’s wrong. It usually doesn’t have anything to do with permissions. Try this:

  • Open a VS command prompt (should be in your start menu, “VS 2015 x64 command prompt” or similar)
  • Run “C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe” TwinStickShooterEditor Win64 DebugGame “C:\Users\keith\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject” -waitmutex -log=C:\Path\To\Log.txt

The log will probably tell you what the problem is. If not, try again with -verbose added.

Hi,

I found there was a syntax error in my code (that VS didn’t point out :mad:) so it’s running well now.

Thanks for the help though!