Compiling full LinuxCNC to get realtime components for use with PathPilot 2

More
4 years 8 months ago #236019 by sagreen

Hi,
I pulled 2.8.0-pre1 some time back
if you can't find it here it is from my google drive
2.8.0-pre1

the way I did this was install PP V2 into a virtual machine.
I loaded both PP 2.0.5 source and 2.8.0-pre1 source
installed need dependencies then compiled 2.8.0-pre1, do not install it only compile it from the operator id,
i was then able to pull any libs I needed

compiling pp 2.0.5 from source was fun as the list of prereq was larger as they are not included in the source

hope the 2.8.0-pre1 source helps
I've been trying to compile a linuxcnc 2.8.0-pre1 using all of the examples on this thread. I am able to get the kernel and 2.8.0-pre to compile and successfully run through the tests. But when I move the executable for the xhc-hb04 pendant over to a computer running pathpilot 2.8.3 (current) I get an error complaining about not finding a shared library...

operator@tormachpcnc:~/tmc/bin$ ./xhc-hb04
./xhc-hb04: error while loading shared libraries: liblinuxcnchal.so.0: cannot open shared object file: No such file or directory


When I compile 2.8.0-pre1 on a computer running pathpilot 2.8.3 I get the following error complaining about shared memory.. (note, it runs from the command line just fine)

halcmd -i /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini -f xhc-hb04.hal
sudo dmidecode -s system-product-name: System Product Name
rtapi_shmem_new failed due to shmget(key=0x48414c32): Invalid argument
HAL: ERROR: could not open shared memory
xhc-hb04: ERROR: hal_init failed
xhc-hb04.hal:1: waitpid failed xhc-hb04 xhc-hb04
xhc-hb04.hal:1: xhc-hb04 exited without becoming ready
HALCMD ini file /home/operator/tmc/configs/tormach_mill/tormach_1100-3_sim.ini load failed with config file xhc-hb04.hal


Has anyone got these binaries running on the current version of PathPilot?

Thanks,
Scott...

 

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

Time to create page: 0.059 seconds
Powered by Kunena Forum