S
S
SerYojik852020-10-21 23:49:35
C++ / C#
SerYojik85, 2020-10-21 23:49:35

LNK1104 and MSB3073 errors when building the UE4 resource engine in Visual Studio, how to fix?

At the moment, the error occurs when trying to rebuild the engine (source). As I understand it, this is some kind of error of the wrong path. But I don’t understand where and how to fix it, tell me, please, how to fix it.

1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
1>Using 'git status' to determine working set for adaptive non-unity build (F:\UnrealEngine).
1>Creating makefile for UE4Editor (no existing makefile)
1>Creating makefile for ShaderCompileWorker (no existing makefile)
1>Building UE4Editor and ShaderCompileWorker...
1>Using Visual Studio 2019 14.27.29112 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Building 2 actions with 4 processes...
1>  [1/2] UE4Editor-Cmd.exe
1>LINK : fatal error LNK1104: cannot open file 'F:\UnrealEngine\Engine\Binaries\Win64\UE4Editor-Cmd.exe'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command "C:\WINDOWS\System32\chcp.com 65001 >NUL 
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073:  ..\..\Build\BatchFiles\Build.bat -Target="UE4Editor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "UE4.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

Answer the question

In order to leave comments, you need to log in

1 answer(s)
7
778b, 2021-09-13
@778b

I faced such a problem, I solved it by making a commit in git through VS, so if you connected the project to the version control system directly through the engine, make a commit through VS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question