Error when compiling and installing custom kinematics

More
1 year 10 months ago #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 to join the conversation.

More
1 year 10 months ago #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

Please Log in to join the conversation.

More
1 year 10 months ago #315801 by Stefavita77
Thanks for sugget, i try it

Please Log in to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum