Unsolved 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?
SGaist Lifetime Qt Champion last edited by
There's currently nothing Qt in your error. Are you sure your OpenNi setup is correct ?