装Hololens环境的坑

1. https://developer.microsoft.com/en-us/windows/holographic/holograms_101e 

可在开始前,别忘了可恶的环境搭建。

0. https://developer.microsoft.com/en-us/windows/holographic/install_the_tools

首先!如果你是Win 10,注意Hololens Emulator需要你的版本为专业版,企业版或者教育版,但就是不能使家庭版!MDGB。害我研究“error1603”半天。

64-bit Windows 10 Pro, Enterprise, or Education (The Home edition does not support Hyper-V. Installing the HoloLens Emulator will fail on the Home edition)

再有就是安装Emulator的过程中要求你激活主板的虚拟化功能。需要重启电脑进入Bios设置。依据主板不同,进入方法也不同。HP是狂按F10.

HP的板子和别家差异比较大。名字完全对不上号,不在Advanced里面。把bios全翻了一遍才找到。

模拟器要求原文:

The HoloLens emulator is based on Hyper-V and uses RemoteFx for hardware accelerated graphics. To use the emulator, make sure your PC meets these hardware requirements: 硬件要求如下,没有达到就别去装Emulator了。

64-bit Windows 10 Pro, Enterprise, or Education (The Home edition does not support Hyper-V. Installing the HoloLens Emulator will fail on the Home edition)

64-bit CPU

CPU with 4 cores (or multiple CPU's with a total of 4 cores)

8 GB of RAM or more

In the BIOS, the following features must besupported and enabled: 貌似在Bios除了虚拟化,还有SLAT和DEP要激活。

-Hardware-assisted virtualization

-Second Level Address Translation (SLAT)

-Hardware-based Data Execution Prevention (DEP)

GPU (The emulator might work with an unsupported GPU, but will be significantly slower)

-DirectX 11.0 or later

-WDDM 1.2 driver or later

If your system meets the above requirements,please ensure that the "Hyper-V" feature has been enabled on your systemthrough Control Panel -> Programs -> Programs and Features -> Turn Windows Features on or off -> ensure that "Hyper-V" is selected for the Emulator installation to be successful. 即使你是有"Hyper-V"的WIndows系统版本,也别忘了激活。


通过了这些,Emulator还要求Visual Studio 2015 的update 1包,以及UWP包(1.2以上版本)。https://social.msdn.microsoft.com/Forums/vstudio/en-US/efdcbafc-30b9-4f44-9e4d-aa6e29f153f7/vs-2015-without-update-1-but-with-tools-for-uwp?forum=vssetup

If you would like to install Tools for UWP, you need to install win10 sdk. please try the following steps:

1.Go toControl Panel >Programs >Programs and Features 可以直接运行Visual studio的setup文件来安装这些组件。如果你还留着。

2.Select Microsoft Visual Studio 2015 and click on 'modify'.

勾选Universal Windows App Development Tool以及Windows 8.1 and Windows Phone 8.0/8.1 Tools.

慢慢等吧。我就乘着这间隙看了Dota2 DC打NewBee的第二局。

期间装失败了一次。又装了一次就成功了。需要重启。

Good Luck.

你可能感兴趣的:(装Hololens环境的坑)