How to compile user comp

More
27 Mar 2018 09:46 - 27 Mar 2018 09:46 #107951 by emptyhb
Hi, i'm new in Linuxcnc. I dont know how to start compile .c source file from github

here is github.com/araisrobo/linuxcnc/tree/maste.../user_comps/vfdb_vfd

Any one can help me how to start with this? Thank you all!
Last edit: 27 Mar 2018 09:46 by emptyhb.

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

More
27 Mar 2018 16:34 #107965 by andypugh
Replied by andypugh on topic How to compile user comp
Try
sudo halcompile --install vfdb_vfd.c
The following user(s) said Thank You: emptyhb

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

More
27 Mar 2018 17:18 - 27 Mar 2018 17:19 #107976 by emptyhb
Replied by emptyhb on topic How to compile user comp
After execute command above. I'm getting this error attach in text file here

File Attachment:

File Name: error_msg.txt
File Size:17 KB
Attachments:
Last edit: 27 Mar 2018 17:19 by emptyhb.

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

More
27 Mar 2018 17:30 #107979 by andypugh
Replied by andypugh on topic How to compile user comp
Unfortunately halcompile can't compile userspace components if they are C files rather than .comp files:

linuxcnc.org/docs/2.7/html/hal/comp.html...side_the_source_tree

I don't know what the answer is, in this case.

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

More
27 Mar 2018 17:41 - 27 Mar 2018 17:43 #107982 by emptyhb
Replied by emptyhb on topic How to compile user comp
I found other way to compile is: github.com/KurtJacobson/RF45-CNC/wiki/Bu...LinuxCNC-From-Source

but now i'm stuck on:
operator@tormachpcnc:~$ cd linuxcnc-dev/
operator@tormachpcnc:~/linuxcnc-dev$ dpkg-checkbuilddepsdpkg-checkbuilddeps: Unmet build dependencies: libmodbus-dev (>= 3.0)
operator@tormachpcnc:~/linuxcnc-dev$ sudo apt-get install libmodbus-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libmodbus-dev
operator@tormachpcnc:~/linuxcnc-dev$ 

i've download libmodbus-dev package from other source. It require libmodbus5, and libc6 version >2.15 .

But noway to update libc6 on ubuntu 10.04

Attachments:
Last edit: 27 Mar 2018 17:43 by emptyhb.

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

More
27 Mar 2018 17:58 #107985 by andypugh
Replied by andypugh on topic How to compile user comp
I think you are using the Tormach version of LinuxCNC?

I think that they have a beta version of their software on a newer Linux and including the Joints-axes stuff.
Might be worth a try.
The following user(s) said Thank You: emptyhb

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

Time to create page: 0.098 seconds
Powered by Kunena Forum