Error when compiling and installing custom kinematics
- Stefavita77
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
02 Dec 2024 15:14 #315796
by Stefavita77
Error when compiling and installing custom kinematics was created 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?
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.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 3946
- Thank you received: 1705
02 Dec 2024 15:30 #315800
by Aciera
Replied by Aciera on topic Error when compiling and installing custom kinematics
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
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.
- Stefavita77
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
02 Dec 2024 15:51 #315801
by Stefavita77
Replied by Stefavita77 on topic Error when compiling and installing custom kinematics
Thanks for sugget, i try it
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds