How to compile user comp

More
8 years 7 months ago #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!

Please Log in to join the conversation.

More
8 years 7 months ago #107965 by andypugh
Replied by andypugh on topic How to compile user comp
Try
Code:
sudo halcompile --install vfdb_vfd.c

Please Log in to join the conversation.

More
8 years 7 months ago #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

Attachment not found

Please Log in to join the conversation.

More
8 years 7 months ago #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 to join the conversation.

More
8 years 7 months ago #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:
Code:
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

Attachment not found

Please Log in to join the conversation.

More
8 years 7 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum