Description

Building from VS causes the compilation to fail. (Have not had the opportunity to check XCode yet, investigating)

Found in //UE4/Dev-Core @ 3048370
Currently occurs in //UE4/Main @ 3049508

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3075	The command "D:\P4Builds\Zack.Letters.SwitchStream\Engine\Build\BatchFiles\Build.bat MyCodeProject3Editor Win64 Development "C:\Users\zack.letters\Documents\Unreal Projects\MyCodeProject3\MyCodeProject3.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	MyCodeProject3	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37	
Error	LNK1104	cannot open file 'C:\Users\zack.letters\Documents\Unreal Projects\MyCodeProject3\Binaries\Win64\UE4Editor-MyCodeProject3.dll'	MyCodeProject3	C:\Users\zack.letters\Documents\Unreal Projects\MyCodeProject3\Intermediate\ProjectFiles\LINK	1	
Error		Failed to produce item: C:\Users\zack.letters\Documents\Unreal Projects\MyCodeProject3\Binaries\Win64\UE4Editor-MyCodeProject3.pdb	MyCodeProject3	C:\Users\zack.letters\Documents\Unreal Projects\MyCodeProject3\Intermediate\ProjectFiles\ERROR	1	
Steps to Reproduce
  1. Create a new first person c++ template project
  2. Build the project in Development Editor Win64
  3. Open the project in the editor
  4. In Visual Studios under ProjectName->Source->ProjectNameProjectile.cpp change the value of 100 to 10 in the line:
    OtherComp->AddImpulseAtLocation(GetVelocity() * 100, GetActorLocation());
  5. Right click on your project name in VS and select build

Result: Compilation errors:

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK1104	cannot open file 'D:\ZZZUnrealProjects\MAINCODE\Binaries\Win64\UE4Editor-MAINCODE.dll'	MAINCODE	D:\ZZZUnrealProjects\MAINCODE\Intermediate\ProjectFiles\LINK	1	
Error		Failed to produce item: D:\ZZZUnrealProjects\MAINCODE\Binaries\Win64\UE4Editor-MAINCODE.pdb	MAINCODE	D:\ZZZUnrealProjects\MAINCODE\Intermediate\ProjectFiles\ERROR	1	
Error	MSB3075	The command "D:\James.Fox_T6726_MAIN\Engine\Build\BatchFiles\Build.bat MAINCODEEditor Win64 Development "D:\ZZZUnrealProjects\MAINCODE\MAINCODE.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	MAINCODE	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37	

Expected Result: No errors and changes are seen in PIE

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-33261 in the post.

0
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.13
Target Fix4.13
Fix Commit3077432
Main Commit3092051
Release Commit3077432
CreatedJul 13, 2016
ResolvedAug 4, 2016
UpdatedSep 23, 2019