Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Galil Controller + Beaglebone + Qt 5.5.1
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?
@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.
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?
@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).
@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.
@ambershark I understand that I am using qmake and yes, the libraries are arm for BBB
@Dario Ok so for qmake you would do something like:
LIBS += -L/path/to/libs -lwhatever
You can add multiple
-llibitems. Keep in mind if a library name is something like
libmylibrary.sothen the corresponding -l command is
-lmylibrary, you do not add the lib prefix or the .so suffix. Likewise if it was
libsomething.ait would be