问题修正

来源:互联网 发布:自动校时软件 编辑:程序博客网 时间:2024/06/10 04:31

OculusRoomTiny编译错误

从VS2010到VS2015,OculusRoomTiny示例工程要求你去指定一个近似Windows10SDK来构建。

工程使用Windows SDK v10.0.10240.0或比较新版本应该没有编译问题。其他SDKs可能产生编译错误,就像缺少dx12.h


从VS2010到VS2013,编辑Samples/OculusRoomTiny/OculusRoomTiny(DX12)/Projects/Windows/Windows10SDKPaths.props文件用一个文本编辑器和更新它到Windows 10 SDK,安装后头文件在C:/Program Files(x86)/Windows Kits/10/Include.


VS2015,选择Project Properties->General->Target.然后选择平台版本在下拉列表框中。


安装反复失败


如果安装反复失败,查看一个类似的消息在Windows事件观察框中:

The OVRLibraryService service was unable to log on as NT SERVICE\OVRLibraryService with the currently configured password due to the following error: Log-on failure: the user has not been granted the requested log-on type at this computer.
如果你找到这个消息,确保NT SERVICE/ALL SERVICES账户已经登入作为一个服务通过本地安全设置。


如果你以前的设置正确和正确被移动,联系你的管理员来检查是否一个组策略对象(GPO)是移除了正确的。

0 0