Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem when using Openni with QT
catarinabsimoes last edited by
Hello! I am developing a program in Qt Creator in order to recognize an object and send commands to a manipulator. I am using OpenNi (acquisition of point clouds from Kinect xbox360), Point Cloud Library (processing) and Qt (Network and Core, to communicate with the manipulator).
When I join Openni to my program, I got these errors:
/usr/include/ni/XnPlatform.h:73: error: #error OpenNI Platform Abstraction Layer - Unsupported Platform!
#error OpenNI Platform Abstraction Layer - Unsupported Platform!
/usr/include/ni/XnOS.h:51: error: #error OpenNI OS Abstraction Layer - Unsupported Platform!
#error OpenNI OS Abstraction Layer - Unsupported Platform!
/usr/include/ni/XnCppWrapper.h:10045: error: macro "XN_VALIDATE_NEW" passed 4 arguments, but takes just 2
XN_VALIDATE_NEW(pTrans, StateChangedCallbackTranslator, handler, pCookie);
Qt doesn't seem to work with Openni... Does anybody know how solve this problem?
There's currently nothing Qt in your error. Are you sure your OpenNi setup is correct ?