Windows 下的可发布包的构建

发布安装版本

参考链接 进行虚幻引擎的发布。

  1. 使用 Visual Studio 打开 UE4.shn
  2. 在右侧边栏,您应该会看到一个解决方案资源管理器面板。展开Programs文件夹并找到AutomationTool项目(Engine\Source\Programs\AutomationTool): Image
  3. 右键单击它并选择生成(Build),应该很快。

运行安装软件的构建脚本

  1. 安装 Windows 10 SDK ;

  2. 运行根目录下的安装构建脚本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。尝试重新安装该程
解决:参考 链接 安装 DirectX Redist (June 2010)。

单独运行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不会出错。