当前位置:网站首页>虚幻引擎图文笔记:could not be compiled. Try rebuilding from source manually.问题的解决
虚幻引擎图文笔记:could not be compiled. Try rebuilding from source manually.问题的解决
2022-07-30 08:12:00 【开发游戏的老王】
问题描述

从SVN上Checkout的必要文件,在其它电脑上构建过一次没有问题,结果到了这台比较新的电脑上出现了如下问题:

解决办法
尝试生成sln文件:
弹出了如下提示:

Running D:/Unreal Engine/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project="XXXXXXX.uproject" -game -rocket -progress -log="XXXXXX/Saved/Logs/UnrealVersionSelector-2022.07.26-09.04.16.log"
A fatal error occurred. The required library hostfxr.dll could not be found.
If this is a self-contained application, that library should exist in [D:\Unreal Engine\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\].
If this is a framework-dependent application, install the runtime in the global location [C:\Program Files\dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation].
The .NET Core runtime can be found at:
- https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win10-x64
在.NET Core官网下载并安装.NET Core。
于是又出现了如下提示
Running D:/Unreal Engine/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project="XXXXXXX.uproject" -game -rocket -progress -log="XXXXXXX/Saved/Logs/UnrealVersionSelector-2022.07.26-09.16.23.log"
You must install or update .NET to run this application.
App: D:\Unreal Engine\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
6.0.7 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=win10-x64
在这里下载并安装framework的指定版本,我这里要求安装3.1.0版
安装完毕以后就可以生成sln文件了
边栏推荐
猜你喜欢
随机推荐
[Unity]UI切换环形滚动效果
Windows 下安装 MySQL
用示波器揭示以太网传输机制
回板后,处理器不启动,怎么办?
typescript5 - compile and install ts code
反射技巧让你的性能提升 N 倍
SQL injection vulnerability (postgresql injection)
一文读懂二十种开关电源拓扑结构
基于JSP实现校园二手交易平台
网络/信息安全顶刊及相关期刊会议
[Fun BLDC series with zero basics] Taking GD32F30x as an example, the timer related functions are explained in detail
剖析SGI STL空间配置器(一 、辅助接口函数)
【HMS core】【FAQ】HMS Toolkit典型问题合集1
【Flask框架②】——第一个Flask项目
jdbc ResultSetMetaData获取tableName问题
积分专题笔记-积分的定义
Reflection tricks can boost your performance by N times
leetcode力扣——一篇文章解决多数之和问题
iperf3 参数选项详细说明
深入浅出零钱兑换问题——背包问题的套壳









