PathPilot 2.0.2 adding rtlib's

More
8 years 6 months ago - 8 years 6 months ago #109598 by Stigoe

emptyhb wrote: Can you try with flipflop? I can confirm all rtlibs can load with "count=n" parameter but if using "names", addf function will not work after.

Works for me.




So does adding two instances of a component.


Last edit: 8 years 6 months ago by Stigoe. Reason: Adding another example
The following user(s) said Thank You: emptyhb

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

More
8 years 6 months ago #109601 by emptyhb
@Stigoe:
You got an email, i don't know what step am i missing for compile rtlibs.

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

More
8 years 6 months ago #109603 by Stigoe
Hi.

Yes, I saw it right now. I don't know which steps you are missing, as I don't know what you have done and what you haven't done. How I did it, was how I described in an earlier post. All included HAL components were actually compiled when LCNC was compiled, which I noticed two days ago. They reside in [LinuxCNC-folder]/rtlib.

I'll see if I can redo the whole thing and take some screenshots during the process in a couple of days.

If you'd like, I can send you the files, if you say which ones you need.

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

More
8 years 6 months ago - 8 years 6 months ago #109604 by emptyhb
Here's all step i'm doing:

1. Make folders in home directory by structure:
Code:
repos/tormach_linuxcnc
2. Clone linuxcnc
Code:
$:cd repos/tormach_linuxcnc/ $:git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc
3. Build linuxcnc
Code:
$:cd linuxcnc/src $:./autogen.sh $:./configure --with-realtime=uspace $:make
4. After build completed, copies missing rtlibs from linuxcnc/rtlibs to ~/tmc/rtlibs
Last edit: 8 years 6 months ago by emptyhb.

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

More
8 years 6 months ago #109607 by Stigoe

emptyhb wrote: 2. Clone linuxcnc

Code:
$:cd repos/tormach_linuxcnc/ $:git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc

This may be one reason why it doesn't work. I didn't use the latest source, I used LCNC 2.7.8.

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

More
8 years 6 months ago #109609 by emptyhb
I'm switch back to 2.7.12 version
Code:
$ git fetch origin 2.7 $ git checkout 2.7
Then repeat all steps again, but nothing different.

But, i found: if i comple .comp file with "halcompile --install" the file size of rtlib (compiled comp) it different with default linuxcnc build.

How do you use halcompile? or you are using default linuxcnc compiled files?

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

Time to create page: 0.412 seconds
Powered by Kunena Forum