Hello everyone. I am developing my own application in Qt Creator in C++. Before this, I worked with the HAL library from LinuxCNC. However, I needed the function hal_create_thread. But I don't understand how to connect it because it's not in the library (LIBS += -L/home/armada/linuxcnc-dev/lib/ -llinuxcnchal). Everything else is there, like hal_init etc. Maybe it is set in another library or is not available in the final build for the user. I noticed Machinekit-HAL, there is a similar library, but in the header file there is also a function (hal_create_xthread) that is not present in LinuxCNC at all, but it would be interesting for me. As it would be nice to distribute processes on different cores of the processor. I seemed to have built Machinekit-HAL both locally and globally, and also installed the ready one from the repository. But I can't find the library to connect it to my project, i.e. even hal_init doesn't work from Machinekit-HAL. The question is how to properly attach the library to the C++ qmake project. With LinuxCNC I did it like this: #LIBS += -llinuxcnchal and the function hal_init, but hal_create_thread did not work. If anyone knows how to do this with Machinekit-HAL, I would be grateful.
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/bda69908-524d-4b69-be2f-6bdcb9750516n%40googlegroups.com.
