Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross-compile with beagleboard

Cross-compile with beagleboard

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    ainur
    wrote on last edited by
    #1

    Hi,
    I am trying to cross compile the OpenNI sample program (I am using Asus Xtion Live camera) with beagleboard. I followed this tutorial:
    http://janaxelson.com/eclipse1.htm
    and when i compile i get those errors:
    "cannot find -lOpenNI"
    "skipping incompatible /usr/lib//libOpenNI.so when searching for -lOpenNI"

    My host computer is 32 bit Ubuntu 13.04, OpenNI is 32 bit too.
    I don't have an idea why compiler complains? When I run the same programe without cross compilation it works ok! Please help me!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since you are cross-compiling you need to provide the OpenNI library of the right architecture to the cross compiler. i.e. You can use a x86 library to build an ARM software

      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
      0
      • A Offline
        A Offline
        ainur
        wrote on last edited by
        #3

        Hi SGaist,

        thank you for reply!
        Yes, I am using x86 OpenNI. The error is the same for any library i link there (lGL, -glut)... :(

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That's normal, like I wrote before, you need to provide the libraries for the correct architecture when cross-compiling.

          Since it seams that you are using the angstrom distribution look at their documentation to see how you can install and use them

          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
          0
          • A Offline
            A Offline
            ainur
            wrote on last edited by
            #5

            I think I got you. Thank you :)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You're welcome !

              If you're now able to cross-compile properly, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

              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
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved