- Posts: 1111
- Thank you received: 0
hal-core
4 years 9 months ago #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:
Code:
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
Please Log in to join the conversation.
4 years 9 months ago #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
Please Log in to join the conversation.
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #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).
Please Log in to join the conversation.
4 years 8 months ago #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 &
Please Log in to join the conversation.
4 years 8 months ago #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?
Attachment not found
Please Log in to join the conversation.
4 years 8 months ago #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
Please Log in to join the conversation.
4 years 8 months ago #234586
by Grotius
Maybe first get the mesa going. Then we solve the pendant.
If you start hal-core as root. Maybe it helps?
user@debian10:/opt/hal-core/scripts$ sudo su
root@debian10:/opt/hal-core/scripts# . ./rip-environment
root@debian10:/opt/hal-core/scripts#
If you start hal-core as root. Maybe it helps?
user@debian10:/opt/hal-core/scripts$ sudo su
root@debian10:/opt/hal-core/scripts# . ./rip-environment
root@debian10:/opt/hal-core/scripts#
Please Log in to join the conversation.
Time to create page: 0.139 seconds
