Trying to build Unreal-5.1 from Github source.
OS: Ubuntu 22.04.1 LTS
Linux Kernel Version: 5.19.0-8.2-liquorix-amd64
So after checking-out the GitHub repository, here are the steps I performed:
git checkout origin/5.1
./Setup.sh
./GenerateProjectFiles.sh
So during GenerateProjectFiles, I already get the error below, and can’t even do make:
Attempting to set up UE pretty printers for gdb (existing UEPrinters.py, if any, will be overwritten)...
updated UEPrinters.py
cannot modify .gdbinit. Please add the below lines manually:
python
import sys
sys.path.append('/home/tommy/.config/Epic/GDBPrinters/')
from UEPrinters import register_ue_printers
register_ue_printers(None)
print("Registered pretty printers for UE classes")
end
Setting up Unreal Engine 5 project files...
Setting up bundled DotNet SDK
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.IoHash/EpicGames.IoHash.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Core/EpicGames.Core.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.IoHash/EpicGames.IoHash.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.IoHash/EpicGames.IoHash.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Build/EpicGames.Build.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Build/EpicGames.Build.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.IoHash/EpicGames.IoHash.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Core/EpicGames.Core.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Core/EpicGames.Core.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Build/EpicGames.Build.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Core/EpicGames.Core.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Build/EpicGames.Build.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.IoHash/EpicGames.IoHash.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.IoHash/EpicGames.IoHash.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Build/EpicGames.Build.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Core/EpicGames.Core.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Build/EpicGames.Build.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.MsBuild/EpicGames.MsBuild.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.MsBuild/EpicGames.MsBuild.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.MsBuild/EpicGames.MsBuild.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.MsBuild/EpicGames.MsBuild.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.MsBuild/EpicGames.MsBuild.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.MsBuild/EpicGames.MsBuild.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Serialization/EpicGames.Serialization.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Serialization/EpicGames.Serialization.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Serialization/EpicGames.Serialization.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Serialization/EpicGames.Serialization.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Serialization/EpicGames.Serialization.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Serialization/EpicGames.Serialization.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.UHT/EpicGames.UHT.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.UHT/EpicGames.UHT.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.UHT/EpicGames.UHT.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.UHT/EpicGames.UHT.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.UHT/EpicGames.UHT.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
~/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.UHT/EpicGames.UHT.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. [~/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
Has anyone tried building 5.1 on Linux and encountered this?
Please HELPPPPP!!!