Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Galil Controller + Beaglebone + Qt 5.5.1
Qt 6.11 is out! See what's new in the release blog

Galil Controller + Beaglebone + Qt 5.5.1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 2.3k 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.
  • D Offline
    D Offline
    Dario
    wrote on last edited by
    #1

    Hello everyone,
    I want to develop an application to send motion commands using the Galil libraries (http://www.galil.com/sw/pub/all/doc/gclib/html/index.html) but I have no experience.
    I have cross-compiled QT for Beaglebone Black successfully, but I do not know how to install the Galil libraries to work with Qt and the Beaglebone.

    Can you help me?

    regards

    A 1 Reply Last reply
    0
    • D Dario

      Hello everyone,
      I want to develop an application to send motion commands using the Galil libraries (http://www.galil.com/sw/pub/all/doc/gclib/html/index.html) but I have no experience.
      I have cross-compiled QT for Beaglebone Black successfully, but I do not know how to install the Galil libraries to work with Qt and the Beaglebone.

      Can you help me?

      regards

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @Dario This may help. http://www.galil.com/sw/pub/all/doc/gclib/html/pi.html. It shows how to do it for a Pi. You could also just compile it yourself for the bb.

      As for usage, just like any other library. Just include the header and link to the library.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      2
      • D Offline
        D Offline
        Dario
        wrote on last edited by
        #3

        Thanks @ambershark , I will try it, but Do I need to add the libraries in some folder of the desktop computer and also in Beaglebone?
        regards

        jsulmJ A 2 Replies Last reply
        0
        • D Dario

          Thanks @ambershark , I will try it, but Do I need to add the libraries in some folder of the desktop computer and also in Beaglebone?
          regards

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @Dario Do you mean to deploy your app? Yes, you will need to provide that library together with your app (put it in the same directory as your executable, see http://doc.qt.io/qt-5/linux-deployment.html).

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • D Dario

            Thanks @ambershark , I will try it, but Do I need to add the libraries in some folder of the desktop computer and also in Beaglebone?
            regards

            A Offline
            A Offline
            ambershark
            wrote on last edited by
            #5

            @Dario Yes. I can even tell you exactly how depending on your build system. Do you use qmake or cmake?

            And you will need to make sure the libraries are built for the target platform, i.e. intel for the desktop, and arm for the bb.

            My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

            D 1 Reply Last reply
            0
            • A ambershark

              @Dario Yes. I can even tell you exactly how depending on your build system. Do you use qmake or cmake?

              And you will need to make sure the libraries are built for the target platform, i.e. intel for the desktop, and arm for the bb.

              D Offline
              D Offline
              Dario
              wrote on last edited by
              #6

              @ambershark I understand that I am using qmake and yes, the libraries are arm for BBB

              A 1 Reply Last reply
              0
              • D Dario

                @ambershark I understand that I am using qmake and yes, the libraries are arm for BBB

                A Offline
                A Offline
                ambershark
                wrote on last edited by
                #7

                @Dario Ok so for qmake you would do something like:

                LIBS += -L/path/to/libs -lwhatever
                

                You can add multiple -Lpath and multiple -llib items. Keep in mind if a library name is something like libmylibrary.so then the corresponding -l command is -lmylibrary, you do not add the lib prefix or the .so suffix. Likewise if it was libsomething.a it would be -lsomething.

                My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                1 Reply Last reply
                1

                • Login

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