- Posts: 13
- Thank you received: 3
Custom component - addf failed
2 years 4 months ago #302167
by Rookie0
Replied by Rookie0 on topic Custom component - addf failed
same error in my hal file.
i just wrote a very simple comp, and installed it with sudo in terminal.
i ran linuxcnc app from desktop, then the same error reported.
BUT, it worked well in halrun. I'm confused.
i just wrote a very simple comp, and installed it with sudo in terminal.
i ran linuxcnc app from desktop, then the same error reported.
BUT, it worked well in halrun. I'm confused.
Please Log in or Create an account to join the conversation.
2 years 4 months ago #302171
by Rookie0
Replied by Rookie0 on topic Custom component - addf failed
i've found the cause of the problem just right now.
it's UNDERLINE in the component's name.
remove them (both in code and filename), the function works!
but i'm still confused, why the other comps with same format in source code, they must be worked well in fact...
i'm poor in C/C++, just hope someone find the reason and fix it. Thanks~.~
it's UNDERLINE in the component's name.
remove them (both in code and filename), the function works!
but i'm still confused, why the other comps with same format in source code, they must be worked well in fact...
i'm poor in C/C++, just hope someone find the reason and fix it. Thanks~.~
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds