recompile error, genhexkins.c

More
25 Dec 2013 22:37 #42002 by tiffany
I have added posemath.h, it still told me undefinded?

the error picture in attachment~~
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Dec 2013 23:13 #42003 by PKM
Replied by PKM on topic recompile error, genhexkins.c
I'm afraid that you can not use comp for genhexkins.
You have to install run-in-place version of LinuxCNC from source.
Get the source with git wiki.linuxcnc.org/cgi-bin/wiki.pl?Instal..._the_source_with_git
Then resolve build dependencies (2.4) and compile realtime version (2.5)
If everything went OK and you can start RIP version, change genhexkins.c or genhexkins.h at the source tree (/src/emc/kinematics/)
Then just run make in src/ directory and your changes will be applied.

Please Log in or Create an account to join the conversation.

More
26 Dec 2013 15:37 #42020 by tiffany
thank for your reply~~~

I have install all git; the error is still~~

and I don't understand your words "If everything went OK and you can start RIP version, change genhexkins.c or genhexkins.h at the source tree (/src/emc/kinematics/)
Then just run make in src/ directory and your changes will be applied."

could you tell me the details? thank you very much~~

forgive me for a newbie~~

Please Log in or Create an account to join the conversation.

More
26 Dec 2013 15:56 #42023 by ArcEye
He just means build linuxcnc from sources, then when that builds OK, substitute your new files for the old ones and rebuild

Please Log in or Create an account to join the conversation.

More
26 Dec 2013 17:14 #42027 by tiffany
I have install all the things, and I find this could be done by another computer

if I deleted some files without conscious?

I still didn't known what's it~~~

Please Log in or Create an account to join the conversation.

More
26 Dec 2013 18:32 #42028 by PKM
Replied by PKM on topic recompile error, genhexkins.c
Did you install LinuxCNC from source?
I don't understand what error you have now.

I mean when you installed LinuxCNC for example to linuxcnc-dev directory, you can go to linuxcnc-dev/src/emc/kinematics and edit genhexkins.c and genhexkins.h or replace them with your versions. Then you should

cd linuxcnc-dev/src/
make


After that you'll have LinuxCNC with your kinematics.
Run it from terminal

cd linuxcnc-dev/
. ./scripts/rip-environment
linuxcnc

Please Log in or Create an account to join the conversation.

More
26 Dec 2013 20:45 #42030 by tiffany
I actually did as what you said, and I can open the hexapod interface by terminal;

but if I recompile genhexkins.c it will show error about undefined

or if I open cnc by application->cnc->linuxcnc->hexapod/hexapod_sim

also has the error about unkown symbol in modules~~

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds
Powered by Kunena Forum