LinuxCNC S-Curve Accelerations
- Grotius
-
- Offline
- Platinum Member
-
Less
More
- Posts: 2408
- Thank you received: 2320
09 May 2025 06:55 #328047
by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
Hi Tia,
Attached file can be renamed to install.sh
This is more or less the install procedure to get it going, excluding the ethercat-master setup.
Furthermore we expanded the current path algo to a new one wich covers abc uvw motion at fillets.
This path algo is active by default.
Furthermore we solved a codeberg issue , related to uvw motions at runtime.
Attached file can be renamed to install.sh
This is more or less the install procedure to get it going, excluding the ethercat-master setup.
Furthermore we expanded the current path algo to a new one wich covers abc uvw motion at fillets.
This path algo is active by default.
Furthermore we solved a codeberg issue , related to uvw motions at runtime.
Please Log in or Create an account to join the conversation.
- tiagounderground
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 12
09 May 2025 17:23 #328089
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
I instaled linuxcnc scurve compact with the install script from cmake folder
Is it different from the one in the root scurve compact folder?
Is it different from the one in the root scurve compact folder?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18607
- Thank you received: 5121
09 May 2025 20:58 #328105
by PCW
Replied by PCW on topic LinuxCNC S-Curve Accelerations
Well, ran install.sh and it wiped everything except the base mint installation
on my test computer. Not trying that again.
on my test computer. Not trying that again.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 379
- Thank you received: 36
09 May 2025 23:46 #328110
by langdons
Replied by langdons on topic LinuxCNC S-Curve Accelerations
Sounds fun!
(not really)
(not really)
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 702
- Thank you received: 231
13 May 2025 20:01 #328413
by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
Did that too hehe. All files gone. Luckily it was a new PC so I can redo it.
I mean do it one more time and delete all files again
It's the ./build_cmake_rm that is a bit aggressive.
This is the log of that command, it goes a bit further bit I only include up to the point where things go wrong.
+
+
| liblinuxcnchal |
+
+
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/src/linuxcnc/cmake/liblinuxcnchal/build
[ 66%] Building C object CMakeFiles/linuxcnchal.dir/home/debian/src/linuxcnc/src/hal/hal_lib.c.o
[ 66%] Building C object CMakeFiles/linuxcnchal.dir/home/debian/src/linuxcnc/src/rtapi/uspace_ulapi.c.o
[100%] Linking C shared library liblinuxcnchal.so
[100%] Built target linuxcnchal
[100%] Built target linuxcnchal
Install the project...
-- Install configuration: "Release"
-- Installing: /home/debian/src/linuxcnc/cmake/liblinuxcnchal/../../lib/liblinuxcnchal.so.0
-- Up-to-date: /home/debian/src/linuxcnc/cmake/liblinuxcnchal/../../lib/liblinuxcnchal.so
+
+
| custom motmod.so |
+
+
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/src/linuxcnc/cmake/libmotion/build
[ 11%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/kinematics/cubic.c.o
[ 23%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/command.c.o
[ 23%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/axis.c.o
[ 23%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/motion.c.o
[ 29%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/control.c.o
[ 35%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/simple_tp.c.o
[ 41%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/emcmotutil.c.o
[ 47%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/stashf.c.o
[ 52%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/dbuf.c.o
[ 58%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/tc.c.o
[ 64%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/tcq.c.o
[ 70%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/spherical_arc.c.o
[ 76%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/blendmath.c.o
[ 82%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/nml_intf/emcpose.c.o
[ 88%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/libnml/posemath/_posemath.c.o
[ 94%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/libnml/posemath/sincos.c.o
[100%] Linking C shared library motmod.so
[100%] Built target motmod
[100%] Built target motmod
Install the project...
-- Install configuration: "Release"
-- Installing: /home/debian/src/linuxcnc/cmake/libmotion/../../rtlib/motmod.so
+
+
| custom homemod.so |
+
+
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/src/linuxcnc/cmake/libhome/build
[ 66%] Building C object CMakeFiles/homemod.dir/home/debian/src/linuxcnc/src/emc/motion/homemod.c.o
[ 66%] Building C object CMakeFiles/homemod.dir/home/debian/src/linuxcnc/src/emc/motion/homing.c.o
[100%] Linking C shared library homemod.so
[100%] Built target homemod
[100%] Built target homemod
Install the project...
-- Install configuration: "Release"
-- Installing: /home/debian/src/linuxcnc/cmake/libhome/../../rtlib/homemod.so
+
+
| libclothoid3d.so |
+
+
./build_cmake_rm: rad 84: cd: libclothoid3d/src: Filen eller katalogen finns inte
CMake Warning:
Ignoring extra path from command line:
".."
CMake Error: The source directory "/home/debian/src/linuxcnc/cmake" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** Inga mål angavs och ingen makefil hittades. Stannar.
make: *** Ingen regel för att skapa målet ”install”. Stannar.
I mean do it one more time and delete all files again

It's the ./build_cmake_rm that is a bit aggressive.
This is the log of that command, it goes a bit further bit I only include up to the point where things go wrong.
Warning: Spoiler!
+
+
| liblinuxcnchal |
+
+
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/src/linuxcnc/cmake/liblinuxcnchal/build
[ 66%] Building C object CMakeFiles/linuxcnchal.dir/home/debian/src/linuxcnc/src/hal/hal_lib.c.o
[ 66%] Building C object CMakeFiles/linuxcnchal.dir/home/debian/src/linuxcnc/src/rtapi/uspace_ulapi.c.o
[100%] Linking C shared library liblinuxcnchal.so
[100%] Built target linuxcnchal
[100%] Built target linuxcnchal
Install the project...
-- Install configuration: "Release"
-- Installing: /home/debian/src/linuxcnc/cmake/liblinuxcnchal/../../lib/liblinuxcnchal.so.0
-- Up-to-date: /home/debian/src/linuxcnc/cmake/liblinuxcnchal/../../lib/liblinuxcnchal.so
+
+
| custom motmod.so |
+
+
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/src/linuxcnc/cmake/libmotion/build
[ 11%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/kinematics/cubic.c.o
[ 23%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/command.c.o
[ 23%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/axis.c.o
[ 23%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/motion.c.o
[ 29%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/control.c.o
[ 35%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/simple_tp.c.o
[ 41%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/emcmotutil.c.o
[ 47%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/stashf.c.o
[ 52%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/motion/dbuf.c.o
[ 58%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/tc.c.o
[ 64%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/tcq.c.o
[ 70%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/spherical_arc.c.o
[ 76%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/tp/blendmath.c.o
[ 82%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/emc/nml_intf/emcpose.c.o
[ 88%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/libnml/posemath/_posemath.c.o
[ 94%] Building C object CMakeFiles/motmod.dir/home/debian/src/linuxcnc/src/libnml/posemath/sincos.c.o
[100%] Linking C shared library motmod.so
[100%] Built target motmod
[100%] Built target motmod
Install the project...
-- Install configuration: "Release"
-- Installing: /home/debian/src/linuxcnc/cmake/libmotion/../../rtlib/motmod.so
+
+
| custom homemod.so |
+
+
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/src/linuxcnc/cmake/libhome/build
[ 66%] Building C object CMakeFiles/homemod.dir/home/debian/src/linuxcnc/src/emc/motion/homemod.c.o
[ 66%] Building C object CMakeFiles/homemod.dir/home/debian/src/linuxcnc/src/emc/motion/homing.c.o
[100%] Linking C shared library homemod.so
[100%] Built target homemod
[100%] Built target homemod
Install the project...
-- Install configuration: "Release"
-- Installing: /home/debian/src/linuxcnc/cmake/libhome/../../rtlib/homemod.so
+
+
| libclothoid3d.so |
+
+
./build_cmake_rm: rad 84: cd: libclothoid3d/src: Filen eller katalogen finns inte
CMake Warning:
Ignoring extra path from command line:
".."
CMake Error: The source directory "/home/debian/src/linuxcnc/cmake" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** Inga mål angavs och ingen makefil hittades. Stannar.
make: *** Ingen regel för att skapa målet ”install”. Stannar.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 379
- Thank you received: 36
13 May 2025 20:14 #328417
by langdons
Replied by langdons on topic LinuxCNC S-Curve Accelerations
Run chmod -R 500 <important-dir> on everything you don't want to be erased.
That should fix the issue.
That should fix the issue.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 702
- Thank you received: 231
13 May 2025 21:55 #328423
by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
Nope won't work. Well one can't delete files but you can also not create new files or write to files during the build, so the build fails.
The right thing is to fix the build so this doesn't happen.
The right thing is to fix the build so this doesn't happen.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 702
- Thank you received: 231
14 May 2025 07:55 #328433
by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
Got it to build. The install script, as far as I can tell it doesn't bring in libclothoid3d and libscurve
When I did that manually (path here forum.linuxcnc.org/38-general-linuxcnc-q...orm?start=170#323932) and copied that to the empty directories the code builds.
When I did that manually (path here forum.linuxcnc.org/38-general-linuxcnc-q...orm?start=170#323932) and copied that to the empty directories the code builds.
The following user(s) said Thank You: tommylight, tiagounderground
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 379
- Thank you received: 36
14 May 2025 13:50 #328445
by langdons
Replied by langdons on topic LinuxCNC S-Curve Accelerations
You can set special file permissions.
Allow write but not deletion.
Set the sticky bit to true.
Writing is allowed, but not deletion.
Allow write but not deletion.
Set the sticky bit to true.
Writing is allowed, but not deletion.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 379
- Thank you received: 36
14 May 2025 13:58 #328447
by langdons
Replied by langdons on topic LinuxCNC S-Curve Accelerations
Turns out the GNU versions of chmod is inferior to the FreeBSD version I'm used to using on macOS.
Why don't the people at the GNU foundation just use the FreeBSD chmod?!!!
They could, but they insist on re-coding the wheel.
It's very annoying!
The FreeBSD has some issues, but has WAY more functionality than the GNU one.
The man page for chmod on macOS is WAY, WAY more detailed and informative than the lame, short GNU one.
Why don't the people at the GNU foundation just use the FreeBSD chmod?!!!
They could, but they insist on re-coding the wheel.
It's very annoying!
The FreeBSD has some issues, but has WAY more functionality than the GNU one.
The man page for chmod on macOS is WAY, WAY more detailed and informative than the lame, short GNU one.
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds