hal-core
21 Jan 2022 09:25 - 21 Jan 2022 09:25 #232616
by bkt
seems I have some problem with your hal_widget .... I copy libhalwidgetsplugin.so on my INSTALL_PATH_QT/Tools/QtCreator/lib/Qt/plugins/designer ..... but when try to run "untitled" example obtain these error:
hal_widgets-main/build-untitled-Desktop_Qt_5_15_2_GCC_64bit-Release/untitled: error while loading shared libraries: libhalwidgetsplugin.so: cannot open shared object file: No such file or directory
Last edit: 21 Jan 2022 09:25 by bkt.
Please Log in or Create an account to join the conversation.
23 Jan 2022 21:45 #232900
by Grotius
Hi Bkt,
I usually don't do that, in fact never did that.
If you want to compile a program yourself.
First remove the .pro_user file if it was there. Then start the project again and the project configure option pops up.
Are you looking at this code? :
github.com/grotius-cnc/universal_graphic...t/releases/tag/1.0.0
Then try this first, and remove the .pro.user file in that dir first:
~/universal_widget/Qt_Occ_Python/src/cplusplus_testgui/cplusplus_testgui.pro
I usually don't do that, in fact never did that.
If you want to compile a program yourself.
First remove the .pro_user file if it was there. Then start the project again and the project configure option pops up.
Are you looking at this code? :
github.com/grotius-cnc/universal_graphic...t/releases/tag/1.0.0
Then try this first, and remove the .pro.user file in that dir first:
~/universal_widget/Qt_Occ_Python/src/cplusplus_testgui/cplusplus_testgui.pro
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
10 Feb 2022 20:34 #234527
by Dave3891
Hi Grotius,
Have you been able to use the loadusr command within your hal version?
I have tried a few different ways and it seems to not be passing the information to run the program and give this error
halcmd: <stdin>:1: execv(): No such file or directory
I believe in the execv() it should display the name/path of what I am trying to run. I have tried placing the program in the bin directory and also using the full path when passing the name, but nothing seems to work
Have you been able to use the loadusr command within your hal version?
I have tried a few different ways and it seems to not be passing the information to run the program and give this error
halcmd: <stdin>:1: execv(): No such file or directory
I believe in the execv() it should display the name/path of what I am trying to run. I have tried placing the program in the bin directory and also using the full path when passing the name, but nothing seems to work
Please Log in or Create an account to join the conversation.
11 Feb 2022 14:45 - 11 Feb 2022 14:47 #234575
by Grotius
Hi Dave,
I did not use that, but there are a few hits if you paste this in the browser:
github.com/grotius-cnc/hal-core/search?q=loadusr
I did a short overview. I think it will not work.
What do you want to load? a Program? And when should it be loaded?
In the hal-core component folder, skynet example. First it load's a rt-halmodule (golden ring). This halmodule then loads a qt app
in (userland).
I did not use that, but there are a few hits if you paste this in the browser:
github.com/grotius-cnc/hal-core/search?q=loadusr
I did a short overview. I think it will not work.
What do you want to load? a Program? And when should it be loaded?
In the hal-core component folder, skynet example. First it load's a rt-halmodule (golden ring). This halmodule then loads a qt app
in (userland).
Last edit: 11 Feb 2022 14:47 by Grotius.
Please Log in or Create an account to join the conversation.
11 Feb 2022 15:50 - 11 Feb 2022 16:02 #234580
by Grotius
Hi Dave,
Ok. If you pass me the link of the "xhc-whb04b-6" source code, i will try it for you.
Maybe do the Very Verbose output:
./halcmd -V loadusr ..
If you look at the lcec_conf file. This is also a loadusr file. I used a unix command to load this file :
# Unix command to load the ethercat .xml config
/opt/hal-core/rtlib/./lcec_conf /opt/hal-core/rtlib/ethercat-conf.xml &
Ok. If you pass me the link of the "xhc-whb04b-6" source code, i will try it for you.
Maybe do the Very Verbose output:
./halcmd -V loadusr ..
If you look at the lcec_conf file. This is also a loadusr file. I used a unix command to load this file :
# Unix command to load the ethercat .xml config
/opt/hal-core/rtlib/./lcec_conf /opt/hal-core/rtlib/ethercat-conf.xml &
Last edit: 11 Feb 2022 16:02 by Grotius.
Please Log in or Create an account to join the conversation.
11 Feb 2022 16:01 #234581
by Dave3891
Hi Grotius,
Here is the source to that module
github.com/LinuxCNC/linuxcnc/tree/master...r_comps/xhc-whb04b-6
I am also unable to use the mesa ethernet module, I can load the hostmot2 without issue, but I can't use the hm2_eth due to looks like some kind of permissions issue?
Here is the source to that module
github.com/LinuxCNC/linuxcnc/tree/master...r_comps/xhc-whb04b-6
I am also unable to use the mesa ethernet module, I can load the hostmot2 without issue, but I can't use the hm2_eth due to looks like some kind of permissions issue?
Attachments:
Please Log in or Create an account to join the conversation.
11 Feb 2022 16:04 - 11 Feb 2022 16:19 #234582
by Grotius
Did you edit and perform the runtest file of the hm2_eth file?
~/opt/hal-core/src/hal/components/hm2_eth/./runtest
I can not test it myself, i have no mesa.
The "could not fetch" warning is a warning outside of hal-core. I think pcw know's what's going on here.
the /usr/sbin/iptables is a root dir.
See hm2_eth.c line 464
~/opt/hal-core/src/hal/components/hm2_eth/./runtest
I can not test it myself, i have no mesa.
The "could not fetch" warning is a warning outside of hal-core. I think pcw know's what's going on here.
the /usr/sbin/iptables is a root dir.
See hm2_eth.c line 464
Last edit: 11 Feb 2022 16:19 by Grotius.
Please Log in or Create an account to join the conversation.
Time to create page: 0.108 seconds