問題描述
從SVN上Checkout的必要文件,在其它電腦上構(gòu)建過一次沒有問題,結(jié)果到了這臺(tái)比較新的電腦上出現(xiàn)了如下問題?:
解決辦法
嘗試生成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官網(wǎng)下載并安裝.NET Core。
于是又出現(xiàn)了如下提示
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
版文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-516410.html
安裝完畢以后就可以生成sln文件了文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-516410.html
到了這里,關(guān)于虛幻引擎圖文筆記:could not be compiled. Try rebuilding from source manually.問題的解決的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!