UE5 + VS2022 and UE4 + VS2019 compile and step on the pit

1. Stuck and no cl.exe process

(1) Uninstall Incredibuild. Incredibuild also uses process virtualization technology to accelerate including compiling, which is the same as firstbuild, so the Incredibuild method is preferred, but 23 does not configure incredibuild acceleration, resulting in slowdown. If you uninstall it, it still doesn't work (2)

(2), find the BuildConfiguration.xml file, add the following code

	<BuildConfiguration>
		<bAllowFASTBuild>true</bAllowFASTBuild>
		<bUseXGEController>false</bUseXGEController>
		<bAllowXGE>false</bAllowXGE>
	</BuildConfiguration>

If FastBuild can be added, if not, it will not be added

2. Always report: NDI?4.x Runtime must be installed for the NDI?IO plugin to run properly. Error

(1), NDI 4 Tools Setup.exe
(2), re-execute GenerateProjectFiles.bat 

3. Compiling shaders at startup is very slow 

 (1), uninstall Incredibuild

 4. When starting UE for the first time, the ShaderCompiler.exe process will wait for a long time to compile the shader, and the CPU consumption is relatively high

It's normal, it just takes a long time to wait, if you really can't wait, you can try the suggestion in 3 

5, error C1060: "The compiler has insufficient heap space" 

(1) Please refer to the solution of Article 1 (2)

(2) If not, please refer to the article

Cause of the problem: https://github.com/appveyor/ci/issues/742 

Solution: The solution to the C1076 error when compiling UE4_matrixcracker's blog-CSDN blog_c1076

Guess you like

Origin blog.csdn.net/asiwxy/article/details/128234332