正在加载ONI:无法创建所请求类型的任何节点 [英] Loading ONI: Can’t create any node of the requested type

查看:177
本文介绍了正在加载ONI:无法创建所请求类型的任何节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与gameoverhack的插件xOpenNI一起在OpenFrameworks上工作. 我的插件在xCode 7.2的Mac OS X El Capitan 10.11.2上成功运行.

I am working on OpenFrameworks with the addon ofxOpenNI by gameoverhack. I got the addon successfully running on my Mac OS X El Capitan 10.11.2 with xCode 7.2.

对于那些以前使用过该插件的人,您必须知道该插件提供了几个示例,其中包括带有简单ONI记录的示例.我的Linux系统上记录了一个旧的ONI文件,我尝试在OS X安装上运行它.我遇到以下错误:

For those of you who have previously used this addon, you must be knowing that there are several examples provided with the addon, including one with simple ONI recording. I had an old ONI file recorded on my linux system and I tried to run it on the OS X installation. I got the following errors:

xOpenNIDevice [1]的

[notice]:正在启动ONI播放器:test.oni [详细] ofxOpenNIDevice [1]:正在加载ONI:../../../data/test.onistatus:无法 创建所请求类型的任何节点!

[notice ] ofxOpenNIDevice[1]: Starting ONI player:test.oni [verbose] ofxOpenNIDevice[1]: Loading ONI: ../../../data/test.onistatus:Can't create any node of the requested type!

出现空白屏幕.有人知道解决方法吗?

And a blank screen appeared. Anyone knows a fix to this?

推荐答案

由于缺少$PROJECT_ROOT/bin/data中的 config 文件夹而发生此错误.我在一个较旧的项目中包含了ofxOpenNI,因此,缺少了必须替换 bin 文件夹的说明.

This error occurred due to the missing config folder in $PROJECT_ROOT/bin/data. I had included ofxOpenNI in an older project and therefore, the instruction where you have to replace your bin folder was missed.

这可能对将来遇到相同问题的人很有帮助.

This might be helpful to someone who faces the same issue in the future.

这篇关于正在加载ONI:无法创建所请求类型的任何节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆