Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Problem when using Openni with QT

    General and Desktop
    2
    2
    413
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      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?
      Thank you

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        There's currently nothing Qt in your error. Are you sure your OpenNi setup is correct ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post