machinekit / EMCApplication

Machinekit Featured Application for Enhanced Motion Controller from LinuxCNC
GNU General Public License v2.0
14 stars 11 forks source link

EMCApplication packages for new Machinekit-hal releases #15

Open RVillatore opened 2 years ago

RVillatore commented 2 years ago

I was attempting to isntall EMCApplication on my DE10 nano running debian 11 and I was surprised to see that there are packages for machinekit-hal but there are no updates to EMCApplication.

Am I missing something?

ebo commented 2 years ago

I was just about to ask the same thing. Does anyone have updates they are willing to point us to and share?

jallwine commented 2 years ago

I'm also looking into this. What is necessary to get EMCApplication going with the latest CMake built machinekit-hal packages? I'm specifically looking into getting it working on Bullseye if that matters.

ebo commented 2 years ago

According to both what I have read, and looing at what is being built on cloudsmith, EMCApplication is not being built for Bullseye, and as far as I can tell, machinekit-hal is not stable at the moment on buster. I have no idea what needs to be done to get EMCA to work on bullseye. Maybe someone else will comment.

RVillatore commented 2 years ago

When you try to build the emcapplication as a RIP, it will complain about not being able to install the package "pru-assembler". I've edited the bootstrap file to not require this package. Now it complains that there is no "machinekit-hal.pc" file when running the command "./configure --with-hal=machinekit-hal" I'm compiling machinekit-hal to see if I can make this file, but it takes some time when running that on a de10 nano.

ebo commented 2 years ago

@RVillatore yea... If I do much of this type of stuff I'll work on getting distcc working again. I'll try to poke at this again this weekend if I get a chance.

RVillatore commented 2 years ago

@ebo I've managed to compile emcapplication for Bullseye using the latest machinekit-hal, now I'm fixing the package generation. I'll upload the packages and my changes to a fork when I'm done (should take 1 or 2 weeks, since I'm not able to work on it very often) For those interested in the solution: First of all, you should hard code the path to machinekit hal in the configure.ac file or create a machineki-hal.pc file. Next, you will need to fix the dependencies (this will take some time) and then fix the submake files to solve linking problems. This dhould be enough to compile. I'll update this with my solution for the package build when I'm done

RVillatore commented 2 years ago

@ebo I 've managed to finish my very bad fix to compile emcapplication for the newest machinekit-hal releaso (bullseye). Please see my git repo: https://github.com/RVillatore/EMCApplication/tree/machinekit-hal-last-update You just need to follow the instructions under docker to create a container and build the packages. Just to let you know, I've only compiled the application, but haven't tested it.

ebo commented 2 years ago

Thanks. I will have to check this out. As a note, I have been sick for awhile (non-COVID related) and it will be awhile before I can make time to pick this back up again.

RVillatore commented 2 years ago

@ebo Hi, man... take care. I hope that you are doing well. Please contact me when you start messing with this again, I'll be glad to help you if you need =)

ebo commented 2 years ago

@RVillatore thank you for the well wishing, and for the offer. I am sure I will get back in contact when I pick this back up.