Compiling extra Kinematics

More
2 years 2 months ago #308790 by nartburg
Dear Forum,

Let's assume I have coded an extra kinematic with forward and inverse and now it's time to put this module into the makefile(s).

So that whenever this module is touched make recompiles it.

Martin

Please Log in to join the conversation.

More
2 years 2 months ago #308796 by tommylight

Please Log in to join the conversation.

More
2 years 2 months ago #308804 by nartburg
Replied by nartburg on topic Compiling extra Kinematics
sry my question was ambigous.

I have already built linuxcnc to RIP

the question was how to put this extra kinematic into the build process so that it is recompiled linked and put in the right place with make

Please Log in to join the conversation.

More
2 years 2 months ago #308811 by Aciera
Replied by Aciera on topic Compiling extra Kinematics
1. I can't really tell you as I generally use the newer .comp method for kinematics:
linuxcnc.org/docs/devel/html/motion/kine...erkins_comp_template

2. If I need to use the classic C file method I modify one of the built in kinematic files.

3. If I really wanted to figure it all out then I would look for an installed kinematic file (eg 'scarakins.c') and look where that pops up in the source code and copy the lines in the relevant files and replace 'scarakins.c' with my .c file (likely '/src/emc/kinematic/meson.build' and '/src/Makefile'):

 

Attachment not found


 

Please Log in to join the conversation.

More
2 years 2 months ago #308832 by nartburg
Replied by nartburg on topic Compiling extra Kinematics
@ ACIERA -- nice Hackadvice ;-))

Take an existing ...kins.c modify it and use the modified file.

I was not only trying to bend the machine to my will but also tried to de-cypher the linuxcnc make system ;-))

Please Log in to join the conversation.

Time to create page: 3.339 seconds
Powered by Kunena Forum