Windows 下的可发布包的构建
发布安装版本
参考链接 进行虚幻引擎的发布。
- 使用 Visual Studio 打开
UE4.shn。 - 在右侧边栏,您应该会看到一个
解决方案资源管理器面板。展开Programs文件夹并找到AutomationTool项目(Engine\Source\Programs\AutomationTool):
- 右键单击它并选择
生成(Build),应该很快。
运行安装软件的构建脚本
-
安装 Windows 10 SDK ;
-
运行根目录下的安装构建脚本
GenerateInstalledBuild.bat。
如果一切顺利,您应该会看到LocalBuilds与该文件夹处于同一级别的Engine文件夹,并且控制台中没有错误。(还包括一个 InstalledDDC 文件夹:DerivedDataCache)。
缓存
默认的缓存路径位于
问题
ERROR: Visual Studio 2017 must be installed in order to build this target.
3d5_VisualStudio20171509.rar进行安装。
Unable to find installation of PDBCOPY.EXE
X64 Debuggers And Tools-x64_en-us.msi安装。
无法启动此程序,因为计算机中丢失XINPUT1_3.dll。尝试重新安装该程
单独运行Engine->Binaries->Win64会出现错误提示:
Plugin 'ExampleDeviceProfileSelector' failed to load because moduleExampleDeviceProfileSelector' could not be found. Please ensure the plugin isproperly installed, otherwise consider disabling the plugin for this project.
make launch不会出错。