chexiongsheng / puerts_unreal_demo

unreal demo for puerts
MIT License
178 stars 80 forks source link

4.25.4, 4.26.2均无法双击直接打开 #13

Closed Aierklk closed 3 years ago

Aierklk commented 3 years ago

报错信息

Running D:/UnrealEngine/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="D:/xxxxx/Documents/Unreal Projects/puerts_unreal_demo/puerts_unreal_demo.uproject" -game -rocket -progress -log="D:\xxxx\Documents\Unreal Projects\puerts_unreal_demo/Saved/Logs/UnrealVersionSelector-2021.04.22-09.15.11.log"
Discovering modules, targets and source code for project...
While compiling D:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Intermediate\Build\BuildRules\puerts_unreal_demoModuleRules.dll:
d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(116,17) : warning CS0618: ??UnrealBuildTool.ModuleRules.PublicLibraryPaths???ѹ?ʱ:??For external libraries use the full path in PublicAdditionalLibraries, if its a system library then use PublicSystemLibraries/PublicSystemLibraryPaths??
d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(118,17) : warning CS0618: ??UnrealBuildTool.ModuleRules.PublicLibraryPaths???ѹ?ʱ:??For external libraries use the full path in PublicAdditionalLibraries, if its a system library then use PublicSystemLibraries/PublicSystemLibraryPaths??
d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(306,9) : warning CS0618: ??UnrealBuildTool.ModuleRules.Definitions???ѹ?ʱ:??The 'Definitions' property has been deprecated. Please use 'PublicDefinitions' instead.??
d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(307,9) : warning CS0618: ??UnrealBuildTool.ModuleRules.Definitions???ѹ?ʱ:??The 'Definitions' property has been deprecated. Please use 'PublicDefinitions' instead.??
ERROR: Windows SDK must be installed in order to build this target.

unrealVersionSelector.log

WindowsPlatformFactory.RegisterBuildPlatforms: UnrealBuildTool.WindowsPlatformSDK using manually installed SDK
ProjectFileGenerator.GenerateProjectFiles: Discovering modules, targets and source code for project...
WindowsPlatform.FindVSInstallDirs: Found Visual Studio installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community (Product=Microsoft.VisualStudio.Product.Community, Version=16.8.30804.86, Sort=0)
WindowsPlatform.FindToolChainDirs: Found Visual Studio toolchain: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333 (Version=14.28.29335)
DynamicCompilation.RequiresCompilation: Compiling D:\UnrealEngine\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.dll: Removed source file (D:\Build\++UE4\Sync\Engine\Source\Runtime\Advertising\Advertising\Advertising.Build.cs)
DynamicCompilation.RequiresCompilation: Compiling D:\UnrealEngine\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4ProgramRules.dll: Removed source file (D:\Build\++UE4\Sync\Engine\Source\Programs\BenchmarkTool\BenchmarkTool.Build.cs)
DynamicCompilation.RequiresCompilation: Compiling D:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Intermediate\Build\BuildRules\puerts_unreal_demoModuleRules.dll: Assembly does not exist
DynamicCompilation.CompileAssembly: While compiling D:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Intermediate\Build\BuildRules\puerts_unreal_demoModuleRules.dll:
DynamicCompilation.CompileAssembly: d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(116,17) : warning CS0618: “UnrealBuildTool.ModuleRules.PublicLibraryPaths”已过时:“For external libraries use the full path in PublicAdditionalLibraries, if its a system library then use PublicSystemLibraries/PublicSystemLibraryPaths”
DynamicCompilation.CompileAssembly: d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(118,17) : warning CS0618: “UnrealBuildTool.ModuleRules.PublicLibraryPaths”已过时:“For external libraries use the full path in PublicAdditionalLibraries, if its a system library then use PublicSystemLibraries/PublicSystemLibraryPaths”
DynamicCompilation.CompileAssembly: d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(306,9) : warning CS0618: “UnrealBuildTool.ModuleRules.Definitions”已过时:“The 'Definitions' property has been deprecated. Please use 'PublicDefinitions' instead.”
DynamicCompilation.CompileAssembly: d:\xxxxx\Documents\Unreal Projects\puerts_unreal_demo\Plugins\Puerts\Source\JsEnv\JsEnv.Build.cs(307,9) : warning CS0618: “UnrealBuildTool.ModuleRules.Definitions”已过时:“The 'Definitions' property has been deprecated. Please use 'PublicDefinitions' instead.”
WindowsPlatform.EnumerateSdkRootDirs: Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
UnrealBuildTool.Main: ERROR: Windows SDK must be installed in order to build this target.
UnrealBuildTool.Main: BuildException: Windows SDK must be installed in order to build this target.
UnrealBuildTool.Main:    在 UnrealBuildTool.VCEnvironment.Create(WindowsCompiler Compiler, UnrealTargetPlatform Platform, WindowsArchitecture Architecture, String CompilerVersion, String WindowsSdkVersion, String SuppliedSdkDirectoryForVersion) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCEnvironment.cs:行号 491
UnrealBuildTool.Main:    在 UnrealBuildTool.WindowsPlatform.CreateVCEnvironment(TargetRules Target) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\UEBuildWindows.cs:行号 710
UnrealBuildTool.Main:    在 UnrealBuildTool.WindowsPlatform.ValidateTarget(TargetRules Target) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\UEBuildWindows.cs:行号 792
UnrealBuildTool.Main:    在 UnrealBuildTool.RulesAssembly.CreateTargetRulesInstance(String TypeName, TargetInfo TargetInfo) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:行号 568
UnrealBuildTool.Main:    在 UnrealBuildTool.RulesAssembly.CreateTargetRules(String TargetName, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, String Architecture, FileReference ProjectFile, CommandLineArguments Arguments) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:行号 628
UnrealBuildTool.Main:    在 UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets(PlatformProjectGeneratorCollection PlatformProjectGenerators, List`1 AllGames, List`1 AllTargetFiles, String[] Arguments, ProjectFile& EngineProject, ProjectFile& EnterpriseProject, List`1& GameProjects, Dictionary`2& ProgramProjects) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:行号 2293
UnrealBuildTool.Main:    在 UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, String[] Arguments) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:行号 753
UnrealBuildTool.Main:    在 UnrealBuildTool.GenerateProjectFilesMode.Execute(CommandLineArguments Arguments) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:行号 198
UnrealBuildTool.Main:    在 UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) 位置 D:\Build\++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:行号 550
Timeline.Print: Timeline:
Timeline.Print: 
Timeline.Print: [ 0.000]
Timeline.Print: [ 0.000](+0.026) <unknown>
Timeline.Print: [ 0.026](+0.081) XmlConfig.ReadConfigFiles()
Timeline.Print: [ 0.108](+0.000) SingleInstanceMutex.Acquire()
Timeline.Print: [ 0.108](+0.121) UEBuildPlatform.RegisterPlatforms()
Timeline.Print:   0.109          [ 0.000](+0.104) Initializing InstalledPlatformInfo
Timeline.Print:   0.213          [ 0.105](+0.000) Querying types
Timeline.Print:   0.214          [ 0.106](+0.001) XXXPlatformFactory
Timeline.Print:   0.216          [ 0.107](+0.000) MacPlatformFactory
Timeline.Print:   0.216          [ 0.107](+0.000) TVOSPlatformFactory
Timeline.Print:   0.216          [ 0.108](+0.000) AndroidPlatformFactory
Timeline.Print:   0.216          [ 0.108](+0.000) HoloLensPlatformFactory
Timeline.Print:   0.216          [ 0.108](+0.000) IOSPlatformFactory
Timeline.Print:   0.216          [ 0.108](+0.000) LinuxPlatformFactory
Timeline.Print:   0.216          [ 0.108](+0.000) LuminPlatformFactory
Timeline.Print:   0.216          [ 0.108](+0.013) WindowsPlatformFactory
Timeline.Print: [ 0.230](+6.469) <unknown>
Timeline.Print: [ 6.699](+0.003) Finding engine modules
Timeline.Print: [ 6.703](+0.003) Finding plugin modules
Timeline.Print: [ 6.706](+0.049) <unknown>
Timeline.Print: [ 6.755](+9.890) Compiling rules assembly (UE4Rules.dll)
Timeline.Print: [16.645](+0.020) <unknown>
Timeline.Print: [16.666](+0.000) Finding program modules
Timeline.Print: [16.667](+0.000) Finding program targets
Timeline.Print: [16.667](+0.028) <unknown>
Timeline.Print: [16.695](+0.189) Compiling rules assembly (UE4ProgramRules.dll)
Timeline.Print: [16.896](+0.166) Compiling rules assembly (puerts_unreal_demoModuleRules.dll)
Timeline.Print: [17.062](+0.097) <unknown>
Timeline.Print: [17.160](+0.000) FileMetadataPrefetch.Stop()
Timeline.Print: [17.162]