*SOLVED* Recompiling genhexkins

More
06 Apr 2014 22:07 #45617 by vovovass
Bonjour à tous ! :)

Je vient vers vous par ce que j'ai le même problème que Mr PKM :
Je suis français et avec la traduction automatique j'ai dût mal à vous suivre :blush:
Je veut construire le même type d'hexapode que Mr PKM et je voudrait de l'aide à propos des étapes de compilation et de modification des dimensions de l'hexapode dans linuxcnc.

Si j'ai bien compris, il faut :
1- Modifié les coordonnées XYZ de la base et de la platforme de l'hexapode : UF_HEXAPOD et commenté les autres dans le fichier genhexkins.h qui ce trouve dans le répertoire : /usr/includ/linuxcnc/genhexkins.h
2-Copier ceci : www.imac.unavarra.es/~cnc/GIT/emc2-dev/s...ematics/genhexkins.c pour le coller dans un fichier que j'ai nommé genhexkins.c
3-Compilé le fichier genhexkins.c avec la commande sudo comp --install genhexkins.c

Mais j'ai plusieurs problème : :S
Je ne peut pas modifier le fichier genhexkins.h car il est placé en lecture seule. Et lors de la compilation du fichier genhexkins.c, j'ai le même message d'erreur que Mr PKM :

WARNING: "pmRpyMatConvert" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "hal_init" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "pmCartCartCross" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "hal_exit" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "pmCartUnit" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "pmMatCartMult" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "pmCartCartAdd" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "hal_ready" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "pmCartMag" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!
WARNING: "pmCartCartSub" [/tmp/tmpvWVdx8/genhexkins.ko] undefined!

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

More
06 Apr 2014 23:31 - 06 Apr 2014 23:33 #45622 by PKM
Replied by PKM on topic *SOLVED* Recompiling genhexkins
Hi!
comp--install won't work for genhexkins.c
You should install LinuxCNC from source wiki.linuxcnc.org/cgi-bin/wiki.pl?Instal..._or_8_04_from_source
Then edit genhexkins.c and genhexkins.h and compile the whole project.
Last edit: 06 Apr 2014 23:33 by PKM.

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

More
07 Apr 2014 03:26 #45630 by vovovass
ok merci !

J'ai donc éxecuté les étape de :

2. Installing to Ubuntu 10.04 or 8.04 from source
2.1.........
..............
..............
2.8. Accomplishing the above steps on an offline machine

avec succès.

Par contre je ne comprend pas à quel étape on recompile tous le projet avec genhexkins.c et genhexkins.h ??? :huh:

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

More
07 Apr 2014 22:03 #45654 by andypugh

Hi!
comp--install won't work for genhexkins.c.


I think that comp --install _might_ work to compile just genhexkins if you have all the source code to resolve the #includes.

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

More
07 Apr 2014 22:09 #45658 by PKM
Replied by PKM on topic *SOLVED* Recompiling genhexkins

I think that comp --install _might_ work to compile just genhexkins if you have all the source code to resolve the #includes.


It mostly uses posemath library. You mean alll functions and definitions must be copied from posemath to genhexkins? (dummy question)

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

More
07 Apr 2014 22:21 #45660 by andypugh

I think that comp --install _might_ work to compile just genhexkins if you have all the source code to resolve the #includes.


It mostly uses posemath library. You mean alll functions and definitions must be copied from posemath to genhexkins? (dummy question)


#include basically _does_ copy the contents of posemath into the file prior to compiling. But it can only do this if the posemath.h file can be found on the system.
Unless you have the source code none of the #includes can be resolved.

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

More
07 Apr 2014 22:48 #45662 by vovovass
Alors moi je ne comprend plus rien. Mes connaissance sont assez limité sur Linux. :S

Quelqu'un peux faire un petit résumé étape par étape pour compiler ces 2 fichiers ?

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

More
08 Apr 2014 13:26 #45680 by findux
I tried run-in-place install whit pre edited genhexkins.c genhexkins.h . but I had a few problems, genhexkins.ko is moved manually as superuser. it is working.

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

More
12 Apr 2014 15:30 #45876 by vovovass
Personne ne peut faire un petit tutoriel sur l'installation de la cinématique genhexkins.c et genhexkins.h ? :(

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

Time to create page: 0.143 seconds
Powered by Kunena Forum