Loading ONI: Can’t create any node of the requested type

五迷三道 提交于 2019-12-12 04:18:42

问题


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.

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:

[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?


回答1:


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.



来源:https://stackoverflow.com/questions/34606116/loading-oni-can-t-create-any-node-of-the-requested-type

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