Getting started with hololens development and the pits encountered

getting Started:

Learn things always recommend the most first-hand information, and the most first-hand information comes from the official.

Hololens official tutorial complete collection: https://docs.microsoft.com/zh-cn/windows/mixed-reality/holograms-100 (The tutorial is divided into video and text parts. The video part has to be over the wall. The text part includes all of the video The core content is in English. If you don’t understand it, you can use the chrome right button to translate the webpage.)

Hololens environment configuration requirements: https://docs.microsoft.com/zh-cn/windows/mixed-reality/install-the-tools

Pit encountered:

1. When deploying the project in Visual Studio 2017, the WIN 10 SDK is clearly installed, but it says that the WIN 10 SDK cannot be found.

Solution: In VS 2017, click Tools->Get Tools and Functions, use C++ desktop development and Universal Windows platform development for these two modules, if not checked, then check it. If it was checked before, cancel it and check it again, and then click Modify.

2. When compiling (the command UnityEngine.VR.dll -platform = ... -bits = ... -configuration = ... and a series of errors)

Solution: Switch the .net backend to IL2CPP backend in unity (edit->project settings->player->other settings->scripting backend to IL2CPP, if there is no such backend, reinstall Unity once, and pay attention to the tick Select IL2CPP Backend), this bug can be solved on my own computer. By the way, in Unity development, the IL2CPP backend will gradually replace the .net backend. The reason can be seen in this blog: https://blog.csdn.net/fuemocheng/article/details/78087532#commentBox

Note: To be continued

 

 

Guess you like

Origin blog.csdn.net/another_wood/article/details/88418243