搭建 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 virtualizationSVM (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.软件安装

请一定前往官网,根据步骤安装:https://docs.microsoft.com/zh-cn/windows/mixed-reality/develop/install-the-tools?tabs=unity

3.1 安装Visual Studio 2019

 Visual Studio 2019 下载地址: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

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

KunQian_smile

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值