Microsoft HoloLens 开发(1): 搭建 HoloLens 开发环境

1.硬件配置

  • 64位 Windows 10 专业版, 企业版, or 教育版 (注: 家庭版不支持 Hyper-V 或者 HoloLens emulator)

  • 64位 CPU

  • 4核CPU (或者大于4核的多核CPU)

  • 8GB 内存 或者更多

  • 在BIOS中,必须支持并启用以下功能:

    • Hardware-assisted virtualization
    • Second Level Address Translation (SLAT)
    • Hardware-based Data Execution Prevention (DEP)
  • GPU 

    • DirectX 11.0 或更高版本

    • WDDM 1.2 驱动程序或更高版本

 

2.相关设置

2.1 开启虚拟化

功能 AMD 设置 Intel 设置
SLAT (Second Level Address Translation)

NP (Nested Page Tables)

RVI (Rapid Virtualization Indexing)

EPT (Extended Page Tables)
Hardware-assisted virtualization SVM (AMD support for hardware-assisted virtualization) VMX (Intel support for hardware-assisted virtualization)
Data Execution Prevention (DEP) NX (No Execute) XD (Execute Disable)

 

 

 

 

 

 

详细操作请看:https://docs.microsoft.com/en-us/previous-versions/windows/desktop/apps/jj863509(v=vs.105)

 

2.2 开启Hyper-V

打开 控制面板 -> 程序 -> 程序和功能 -> 打开和关闭系统功能 ,勾选 Hyper-V

 

3.软件安装

3.1 安装Visual Studio 2017

 Visual Studio 2017 下载地址:https://www.visualstudio.com/zh-hans/downloads/

3.2 安装HoloLens emulator

HoloLens模拟器 是在没有实体HoloLens的情况下测试PC上的全息应用程序,并附带HoloLens开发工具集。

HoloLens上的传感器通常会读取人类和环境输入,而不是使用键盘,鼠标或Xbox控制器进行模拟。

HoloLens emulator 下载地址:https://docs.microsoft.com/zh-cn/windows/mixed-reality/hololens-emulator-archive

默认下一步安装即可,如果没有启用Hyper-V安装会报错,电脑不支持 emulator 也会报错。

3.3 安装Unity

Unity 下载地址:https://unity3d.com/cn/get-unity/download

 

到此我们已经安装完成 HoloLens 的开发环境,下一章我们将在Unity上创建项目并运行在HoloLens emulator上。

posted @ 2018-05-27 21:52  路小路的日常  阅读(3067)  评论(0编辑  收藏  举报