- Configuring LinuxCNC
- Advanced Configuration
- Compiling scarakins.c under version 2.9.3 does not work.
Compiling scarakins.c under version 2.9.3 does not work.
- infou
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
22 Dec 2024 16:55 #317148
by infou
Compiling scarakins.c under version 2.9.3 does not work. was created by infou
Under version 2.8 it works. I have a Scara Robot with different dimensions, so I have changed D1-D5 (but it does not compile with the original file).
with the original file). So far I have not found a way to compile this file in the forum and also with Google.
Then I tried to compile the Scarakins.c from 2.8 into 2.9.3, which did compile. However, when using the 2.8 Scarakins.so
Linuxcnc aborted with an error message at startup.
I assume that in the 2.9.3 version switchkins are a change to the 2.8 version.
Is there a possibility to compile the original and the modified scarakins.c from 2.9.3 ?
What about unserkins.comp ? I don't know how to create it.
Here is the error message when compiling:
cnc@cnc:~/linuxcnc/linuxcnc-dev/src/emc/kinematics$ halcompile --compile scarakins.c
Compiling realtime scarakins.c
Linking scarakins.so
/usr/bin/ld:scarakins.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:125: scarakins.so] Fehler 1
with the original file). So far I have not found a way to compile this file in the forum and also with Google.
Then I tried to compile the Scarakins.c from 2.8 into 2.9.3, which did compile. However, when using the 2.8 Scarakins.so
Linuxcnc aborted with an error message at startup.
I assume that in the 2.9.3 version switchkins are a change to the 2.8 version.
Is there a possibility to compile the original and the modified scarakins.c from 2.9.3 ?
What about unserkins.comp ? I don't know how to create it.
Here is the error message when compiling:
cnc@cnc:~/linuxcnc/linuxcnc-dev/src/emc/kinematics$ halcompile --compile scarakins.c
Compiling realtime scarakins.c
Linking scarakins.so
/usr/bin/ld:scarakins.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:125: scarakins.so] Fehler 1
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23182
- Thank you received: 4869
22 Dec 2024 20:57 #317158
by andypugh
Replied by andypugh on topic Compiling scarakins.c under version 2.9.3 does not work.
I can reproduce the problem.
After some fiddling about to persist the scarkins.ver file (which is normally automatically deleted by the tempfile functions) I found that the problem seems to be exactly this:
unix.stackexchange.com/questions/771815/...hen-building-gettext
Do you have a linuxcnc-dev directory? What does "which halcompile" say?
(I suspect that the "make clean" fix isn't going to help here)
After some fiddling about to persist the scarkins.ver file (which is normally automatically deleted by the tempfile functions) I found that the problem seems to be exactly this:
unix.stackexchange.com/questions/771815/...hen-building-gettext
Do you have a linuxcnc-dev directory? What does "which halcompile" say?
(I suspect that the "make clean" fix isn't going to help here)
Please Log in or Create an account to join the conversation.
- infou
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
23 Dec 2024 10:10 #317182
by infou
Replied by infou on topic Compiling scarakins.c under version 2.9.3 does not work.
I have installed with
git clone -b v2.9.4 github.com/LinuxCNC/linuxcnc.git linuxcnc-dev cd linuxcnc-dev
created linuxcnc-dev.
cnc@cnc:~/linuxcnc/linuxcnc-dev$ which halcompile
/usr/bin/halcompile
cnc@cnc:~/linuxcnc/linuxcnc-dev$ make clean
make: *** No rule to create "clean". Conclusion.
cnc@cnc:~/linuxcnc/linuxcnc-dev$
make clean did not work
git clone -b v2.9.4 github.com/LinuxCNC/linuxcnc.git linuxcnc-dev cd linuxcnc-dev
created linuxcnc-dev.
cnc@cnc:~/linuxcnc/linuxcnc-dev$ which halcompile
/usr/bin/halcompile
cnc@cnc:~/linuxcnc/linuxcnc-dev$ make clean
make: *** No rule to create "clean". Conclusion.
cnc@cnc:~/linuxcnc/linuxcnc-dev$
make clean did not work
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4077
- Thank you received: 1763
23 Dec 2024 11:46 - 23 Dec 2024 13:56 #317185
by Aciera
Replied by Aciera on topic Compiling scarakins.c under version 2.9.3 does not work.
This seems to be a problem that comes up when trying to use 'halcompile' to compile some of the kinematics files. As a workaround I would suggest to build the repo locally and use 'make' to recompile after making changes.
linuxcnc.org/docs/html/code/building-linuxcnc.html
Another case:
forum.linuxcnc.org/24-hal-components/546...om-kinematics#315800
linuxcnc.org/docs/html/code/building-linuxcnc.html
Another case:
forum.linuxcnc.org/24-hal-components/546...om-kinematics#315800
Last edit: 23 Dec 2024 13:56 by Aciera.
Please Log in or Create an account to join the conversation.
- infou
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
27 Dec 2024 18:19 #317496
by infou
Replied by infou on topic Compiling scarakins.c under version 2.9.3 does not work.
Many thanks for the quick support.now it works.
I found time today to compile and install Linuxcnc 2.9.3.
After the git clone ... I searched the linxcnc-dev directory for scara and edited all files where
d1-d6 were defined with my values.
In some places the build and installation was a bit stuck, then I asked Windows-copilot and it went on.
For those who have similar plans, I have entered my terms:
For build:
git clone --branch v2.9.3 github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
sudo apt-get build-dep linuxcnc
sudo apt-get install build-essential
root@cnc:/home/cnc/linuxcnc-dev/debian#
root@cnc:/home/cnc/linuxcnc-dev/debian# ./configure
successfully configured for 'uspace-Debian-12'..
sudo apt-get install libgpiod-dev xvfb
dpkg-buildpackage -b -uc
For install:
sudo apt-get install iptables mesa-utils python3-numpy python3-opengl python3-configobj libgtksourceview-3.0-dev tclreadline python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-opencv python3-espeak python3-dbus.mainloop.pyqt5 python3-pyqt5.qtwebengine python3-pyqt5.qtwebkit espeak-ng pyqt5-dev-tools gstreamer1.0-tools espeak python3-poppler-qt5 python3-serial
sudo apt --fix-broken install
sudo dpkg -i *.deb
I found time today to compile and install Linuxcnc 2.9.3.
After the git clone ... I searched the linxcnc-dev directory for scara and edited all files where
d1-d6 were defined with my values.
In some places the build and installation was a bit stuck, then I asked Windows-copilot and it went on.
For those who have similar plans, I have entered my terms:
For build:
git clone --branch v2.9.3 github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
sudo apt-get build-dep linuxcnc
sudo apt-get install build-essential
root@cnc:/home/cnc/linuxcnc-dev/debian#
root@cnc:/home/cnc/linuxcnc-dev/debian# ./configure
successfully configured for 'uspace-Debian-12'..
sudo apt-get install libgpiod-dev xvfb
dpkg-buildpackage -b -uc
For install:
sudo apt-get install iptables mesa-utils python3-numpy python3-opengl python3-configobj libgtksourceview-3.0-dev tclreadline python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-opencv python3-espeak python3-dbus.mainloop.pyqt5 python3-pyqt5.qtwebengine python3-pyqt5.qtwebkit espeak-ng pyqt5-dev-tools gstreamer1.0-tools espeak python3-poppler-qt5 python3-serial
sudo apt --fix-broken install
sudo dpkg -i *.deb
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Compiling scarakins.c under version 2.9.3 does not work.
Time to create page: 0.086 seconds