Building UE From source

Hi,
I’m trying to build UE from source but generating the UE5.sln generates me this error :

1>  Executing up to 4 processes, one per physical core
1>------ Building 9 action(s) started ------
1>[1/9] Generate Header [x86-64] NearestNeighborOptimizedNetwork.ispc
1>fopen: No such file or directory
1>Total time in Parallel executor: 0.64 seconds
1>Total execution time: 3.67 seconds
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: La commande "..\..\Build\BatchFiles\Build.bat -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" s'est arrêtée avec le code 6.
1>Génération du projet "UE5.vcxproj" terminée -- ÉCHEC.

I don’t know if it’s trying to find NearestNeighborOptimizedNetwork.ispc (which is present in my solution, I checked) or if it’s trying to execute the fopen function
I’d like some help here thank you

1 Like

This post helped me to solve this error:
[Solved]UE5 5.0 GitHub Source Build Error: C2766, MSB3073 - Programming & Scripting / C++ - Epic Developer Community Forums (unrealengine.com)

Updated steps for building 5.3.2 tag with Visual Studio 2022:

  1. In Visual Studio Installer, Modify Visual Studio 2022 to add (if any missing) the following under Individual Components tab:
  • MSVC v143 - VS 2022 C++ ARM build tools (Latest)
  • MSVC v143 - VS 2022 C++ ARM Spectre-mitigated libs (Latest)
  • MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
  • MSVC v143 - VS 2022 C++ x64/x86 ARM Spectre-mitigated libs (Latest)

Note: Even though my machine is x64/x86, I enabled ARM tools as well.

  1. Move the source code base folder UnrealEngine to "C:".

  2. Open UE5.sln and in the solution explorer, right click the project UE5 and do “Rebuild”.

Then the whole build is successfull!

1 Like

I’m also facing this with 5.3.2 tag build. Any help appreciated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.