DreamLife-Technology

大人物的世界,小人物的梦想。

虚拟现实-VR-UE4-构建光照显示光照构建失败,Swarm启动失败


闲的无聊折腾,发现想构建光照的时候,总是显示失败

如下图



百度许久,有大神指出是我在编译源码的的时候没有将其中的某个模块编译进去,只需要重新编译摸个模块就好


在UE4 的sln文件下,会看到一个UnrealLightmass的模块,选中,鼠标邮件生成,等待编译完成就好了

如下图



再次打开UE4验证



ok,可以完美运行


下面是编译log,如果在编译源码有问题,可以看一下坐下参考

1>------ 已启动生成: 项目: EnvVarsToXML, 配置: Development Any CPU ------
2>------ 已启动生成: 项目: DotNETUtilities, 配置: Development Any CPU ------
1>  EnvVarsToXML -> D:\UnrealEngine\Engine\Binaries\DotNET\EnvVarsToXML.exe
2>  DotNETUtilities -> D:\UnrealEngine\Engine\Binaries\DotNET\DotNETUtilities.dll
3>------ 已启动生成: 项目: UnrealBuildTool, 配置: Development Any CPU ------
3>  UnrealBuildTool -> D:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe
4>------ 已启动生成: 项目: UnrealLightmass, 配置: Development_Program x64 ------
4>  Creating makefile for UnrealLightmass (no existing makefile)
4>  Performing full C++ include scan (no include cache file)
4>  Building UnrealHeaderTool...
4>  Creating makefile for UnrealHeaderTool (UnrealBuildTool.exe is newer)
4>  Target is up to date
4>  Parsing headers for UnrealLightmass
4>    Running UnrealHeaderTool UnrealLightmass "D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -NoEnginePlugins
4>  Reflection code generated for UnrealLightmass in 0.4688833 seconds
4>  Performing 71 actions (4 in parallel)
4>  [4/71] Resource ModuleVersionResource.rc.inl
4>  PCH.Core.h.cpp
4>  PCH.CoreUObject.h.cpp
4>  PCH.CorePrivatePCH.h.cpp
4>  [5/71] Resource PCLaunch.rc
4>  [6/71] Resource ModuleVersionResource.rc.inl
4>  [7/71] Resource PCLaunch.rc
4>  [8/71] Resource ModuleVersionResource.rc.inl
4>  [9/71] Resource PCLaunch.rc
4>  CoreUObject.generated.cpp
4>  Module.Json.cpp
4>  Module.Core.8_of_8.cpp
4>  Module.Core.7_of_8.cpp
4>  Module.Core.6_of_8.cpp
4>  Module.Core.5_of_8.cpp
4>  Module.Core.4_of_8.cpp
4>  Module.Core.2_of_8.cpp
4>  Module.Core.1_of_8.cpp
4>  Module.Core.3_of_8.cpp
4>  Module.Projects.cpp
4>  Module.CoreUObject.5_of_5.cpp
4>  Module.CoreUObject.3_of_5.cpp
4>  [23/71] Resource ModuleVersionResource.rc.inl
4>  Module.CoreUObject.2_of_5.cpp
4>  [25/71] Link UnrealLightmass-Core.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Core.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Core.exp
4>  [26/71] Link UnrealLightmass-Json.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Json.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Json.exp
4>  [27/71] Link UnrealLightmass-Projects.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Projects.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Projects.exp
4>  Module.CoreUObject.1_of_5.cpp
4>  [29/71] Resource PCLaunch.rc
4>  Module.CoreUObject.4_of_5.cpp
4>  Module.SandboxFile.cpp
4>  [32/71] Resource PCLaunch.rc
4>  [33/71] Resource ModuleVersionResource.rc.inl
4>  [34/71] Link UnrealLightmass-SandboxFile.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-SandboxFile.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-SandboxFile.exp
4>  Module.Sockets.cpp
4>  [36/71] Resource ModuleVersionResource.rc.inl
4>  [37/71] Resource PCLaunch.rc
4>  [38/71] Link UnrealLightmass-Sockets.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Sockets.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Sockets.exp
4>  Module.SwarmInterface.cpp
4>  Module.Networking.cpp
4>  Serialization.generated.cpp
4>  SwarmInterface.generated.cpp
4>  Module.Serialization.cpp
4>  Module.Messaging.cpp
4>  [45/71] Resource ModuleVersionResource.rc.inl
4>  [46/71] Resource PCLaunch.rc
4>  [47/71] Resource PCLaunch.rc
4>  [48/71] Resource PCLaunch.rc
4>  [49/71] Resource PCLaunch.rc
4>  [50/71] Resource ModuleVersionResource.rc.inl
4>  [51/71] Resource ModuleVersionResource.rc.inl
4>  [52/71] Resource ModuleVersionResource.rc.inl
4>  [53/71] Link UnrealLightmass-Networking.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Networking.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Networking.exp
4>  Module.DerivedDataCache.cpp
4>  UdpMessaging.generated.cpp
4>  Module.UdpMessaging.cpp
4>  Module.UnrealLightmass.2_of_3.cpp
4>  Module.UnrealLightmass.3_of_3.cpp
4>  Module.UnrealLightmass.1_of_3.cpp
4>  [60/71] Resource Resource.rc
4>  [61/71] Resource ModuleVersionResource.rc.inl
4>  [62/71] Resource PCLaunch.rc
4>  [63/71] Resource PCLaunch.rc
4>  [64/71] Resource ModuleVersionResource.rc.inl
4>  [65/71] Link UnrealLightmass-DerivedDataCache.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-DerivedDataCache.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-DerivedDataCache.exp
4>  [66/71] Link UnrealLightmass-CoreUObject.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-CoreUObject.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-CoreUObject.exp
4>  [67/71] Link UnrealLightmass-Serialization.dll
4>  [68/71] Link UnrealLightmass-SwarmInterface.dll
4>  [69/71] Link UnrealLightmass-Messaging.dll
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Messaging.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Messaging.exp
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-SwarmInterface.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-SwarmInterface.exp
4>    正在创建库 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Serialization.lib 和对象 D:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-Serialization.exp
4>  [70/71] Link UnrealLightmass.exe
4>  [71/71] Link UnrealLightmass-UdpMessaging.dll
4>    正在创建库 D:\UnrealEngine\Engine\Plugins\Messaging\UdpMessaging\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-UdpMessaging.lib 和对象 D:\UnrealEngine\Engine\Plugins\Messaging\UdpMessaging\Intermediate\Build\Win64\UnrealLightmass\Development\UnrealLightmass-UdpMessaging.exp
4>  Total build time: 182.27 seconds
========== 生成: 成功 4 个,失败 0 个,最新 0 个,跳过 0 个 ==========




阅读更多
版权声明:DreamLife-Technology 技术交流QQ:609932088 https://blog.csdn.net/z609932088/article/details/52368015
个人分类: VR UE4 C++
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

虚拟现实-VR-UE4-构建光照显示光照构建失败,Swarm启动失败

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭