- Posts: 42
- Thank you received: 0
error can't find component
4 years 10 months ago #230153
by mikeross
error can't find component was created by mikeross
Hi,I need some help as I can't seem to figure out what I broke. I've been working on my toolchanger.comp and now after running:
sudo halcompile --install toolchanger.comp in terminal and getting the following:
Compiling realtime toolchanger.c
Linking toolchanger.so
cp toolchanger.so /usr/lib/linuxcnc/modules/
I can't run Linuxcnc and get an error:
HAL: ERROR: function 'toolchanger' not found
./Emco-Compact5-2021.hal:25: addf failed
This is happening on all my previous files too that used to work? any ideas? The comp file is defined as a singleton, and as I said, none of the versions I have from previously work..attached are my ini, hal, comp and the error report
sudo halcompile --install toolchanger.comp in terminal and getting the following:
Compiling realtime toolchanger.c
Linking toolchanger.so
cp toolchanger.so /usr/lib/linuxcnc/modules/
I can't run Linuxcnc and get an error:
HAL: ERROR: function 'toolchanger' not found
./Emco-Compact5-2021.hal:25: addf failed
This is happening on all my previous files too that used to work? any ideas? The comp file is defined as a singleton, and as I said, none of the versions I have from previously work..attached are my ini, hal, comp and the error report
Please Log in to join the conversation.
4 years 10 months ago #230155
by roland
Replied by roland on topic error can't find component
this is probably due to the missing line
in your toolchanger.comp
see linuxcnc.org/docs/html/hal/comp.html
Code:
function _;
see linuxcnc.org/docs/html/hal/comp.html
Please Log in to join the conversation.
Time to create page: 0.161 seconds
