Cannot build with MRTK v2.0.0-RC1

寵の児 提交于 2019-12-02 04:28:44

问题


I had tried to make builds of the scene examples of the new MRTK version 2.0.0-RC1 on Unity 2018.3.10f1 but every time with every example there's a build error which says: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'HandMeshObserver' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'JointPose' could not be found (are you missing a using directive or an assembly reference?)

Where do I get the library for this namespaces?


回答1:


These types are part of the upcoming UWP SDK version 18362.

Download 10.0.18362.1 from https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewSDK

In the Unity Build Settings window, change the Target SDK Version to 10.0.18362.0, and make sure that Minimum SDK is is 10.0.10240.0.

This got me past the issue listed here. Then I ran into errors while trying to build the resulting solution. I had to upgrade all projects to C# language version 7.2.



来源:https://stackoverflow.com/questions/55544730/cannot-build-with-mrtk-v2-0-0-rc1

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!