Hololens没有独立的SDK,开发特性被集成到最新的Visual Studio Update 2中。如果你没有HoloLens真机,那么可以安装HoloLens模拟器。
安装清单
- 首先安装Unity引擎
- 然后安装UWP Runtime
- 最后可以根据需要安装离线文档工具
安装要求
Windows 10 SDK最好运行在Windows 10系统上. Windows 10 SDK也支持Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2. 注意并不是所有的工具都能被老系统支持. Visual Studio 2015也有硬件要求。
HoloLens模拟器基于Hyper-V和RemoteFx硬件图形加速。为了使用模拟器,请确保你的模拟器满足一下要求: - 64位Windows 10 Pro, Enterprise, or Education系统(家庭版不支持Hyper-V)
- 64位CPU
- 8G或更多内存
- 在BOIS中,以下特性必须被支持和启用:
- 硬件虚拟化(Hardware-assisted virtualization)
- 二级地址翻译(Second Level Address Translation (SLAT))
- 基于硬件的数据执行预防(Hardware-based Data Execution Prevention (DEP))
- GPU (模拟器可能可以使用不支持的GPU运行, 但是将会很慢)
- DirectX 11.0或更新
- WDDM 1.2 driver 或更新
问题诊断
当你安装模拟器时,可能会看到如下错误: "Visual Studio 2015 Update 1 and UWP tools version 1.2". 错误原因可能有2个: - 你没有安装VS 2015 Update 1或Update 2,可以根据提示安装最新的Update 2.
- 你安装了VS 2015 Update 1或更新的Update,但是没有启用或安装UWP开发工具。你需要在安装VS 时启用此特性。
模拟器运行效果
|