*SOLVED* Recompiling genhexkins

More
13 Jan 2012 12:27 - 13 Jan 2012 12:36 #16718 by cncbasher
find attached your armkins file and my emc makefile
these work and compile fine
against 2.6.0 pre~

place armkins.c and armkins.h in emc-dev2/src/emc/kinematics
and replace your makefile in emc-dev2/src

and then rebuild as normal

dont forget to keep copy of your origionals

File Attachment:

File Name: holly.gz
File Size:12 KB
Attachments:
Last edit: 13 Jan 2012 12:36 by cncbasher.
The following user(s) said Thank You: wql6649

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

More
16 Jan 2012 09:04 #16803 by honey

cncbasher wrote:

find attached your armkins file and my emc makefile
these work and compile fine
against 2.6.0 pre~

place armkins.c and armkins.h in emc-dev2/src/emc/kinematics
and replace your makefile in emc-dev2/src

and then rebuild as normal

dont forget to keep copy of your origionals

So I should:
- place armkins.c and armkins.h in emc2-dev/src/emc/kinematics
- place the make file that you have attached me in emc2-dev/src
- and rebuild.
I should rebuild with only "make"? or I should use . ./scripts/emc-environment ?

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

More
16 Jan 2012 09:17 #16804 by cncbasher
you should use source ./scripts/emc-environment
and then build , i use a script file for this purpose it's easier than typing it out all the time

iv'e attached it here , you may need to modify to suit your needs

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

More
16 Jan 2012 09:20 #16805 by cncbasher
you should use source ./scripts/emc-environment
and then build , i use a script file for this purpose it's easier than typing it out all the time

iv'e attached it here , you may need to modify to suit your needs , it's simple enough

File Attachment:

File Name: build_emc.txt
File Size:0 KB
Attachments:

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

More
16 Jan 2012 09:42 #16806 by honey
cncbasher wrote:

you should use source ./scripts/emc-environment
and then build , i use a script file for this purpose it's easier than typing it out all the time


How I should use this script? I am not so expert....

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

More
16 Jan 2012 09:50 #16807 by cncbasher
place in your home directory

in my case home/david
and my emc dev is placed in home/david/emc2-dev

if you right click on the script file make sure that under the permissions tab that Execute is ticked
then close

clicking on the script file now should give you the option to run
or alternatively just ./build-emc ( period . means execute the program ) from a terminal

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

Time to create page: 0.163 seconds
Powered by Kunena Forum