无法在 Unreal Engine 4 中创建 C++ 项目
Cannot create a C++ project in Unreal Engine 4
每当我尝试在 Unreal Engine 4 中创建 C++ 项目时,都会抛出此错误:
尝试生成项目文件时出错。
运行 C:/程序 Files/Epic Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Zahin/Documents/Unreal Projects/TestC/TestC.uproject" -game -rocket -progress
正在发现项目的模块、目标和源代码...
编译 C:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.dll 时:
错误 CS0042:创建调试信息文件时出现意外错误 'c:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.PDB' -- 'c:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.pdb:访问被拒绝。
错误:无法编译源文件。
它在蓝图模式下工作得很好,但我需要在 C++ 中打开。请帮忙。
Start/Execute Unreal 作为管理员。应该可以解决问题。
尝试安装:
Win64:
https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.18-windows-x64-installer
Win32:
https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.18-windows-x86-installer
帮我解决了问题
每当我尝试在 Unreal Engine 4 中创建 C++ 项目时,都会抛出此错误:
尝试生成项目文件时出错。
运行 C:/程序 Files/Epic Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Zahin/Documents/Unreal Projects/TestC/TestC.uproject" -game -rocket -progress 正在发现项目的模块、目标和源代码... 编译 C:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.dll 时: 错误 CS0042:创建调试信息文件时出现意外错误 'c:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.PDB' -- 'c:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.pdb:访问被拒绝。 错误:无法编译源文件。
它在蓝图模式下工作得很好,但我需要在 C++ 中打开。请帮忙。
Start/Execute Unreal 作为管理员。应该可以解决问题。
尝试安装:
Win64: https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.18-windows-x64-installer
Win32: https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.18-windows-x86-installer
帮我解决了问题