Error when compiling and installing custom kinematics

More
02 Dec 2024 15:14 #315796 by Stefavita77
Hello all,
I am trying to compile with the command "halcompile -- install <5axiskins.c>" a custom kinematics modifying a function of the original 5axiskins.c
but i get this error

emc@emc:~/Desktop/5axiskins$ sudo halcompile --install 5axiskins.c
Compiling realtime 5axiskins.c
Linking 5axiskins.so
/usr/bin/ld:5axiskins.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:125: 5axiskins.so] Error 1

I need it to modify the PmCartesian s2r function to calculate the axis compensation.

Someone can help me to do it?

 

Please Log in or Create an account to join the conversation.

More
02 Dec 2024 15:30 #315800 by Aciera
While the 'halcompile' tool usually works for most things it is sometimes necessary to compile from source with all build dependencies installed.
So I would suggest to clone the git repo and do a run-in-place (rip) install by building linuxcnc on your local machine.
linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
The following user(s) said Thank You: Stefavita77

Please Log in or Create an account to join the conversation.

More
02 Dec 2024 15:51 #315801 by Stefavita77
Thanks for sugget, i try it

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum