-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
how to use instcomp with new packaging scheme #369
Comments
This may be tied to #361. |
This could be caused by a bug which should be repaired in a PR #364. The issue was that not all parts were installed correctly and it panicked on it. As nobody merged it in 18 days, I am going to do it. Hopefully, it will help.
Yes, sorry, I haven't yet updated the building documentation. (Well, I think I will need to pretty much rewrite it [minimally] as the documentation is pretty much useless right now. I am tracking it in machinekit/machinekit-docs#327.)
Yes, the reason behind it is that by Debian rules, you should ideally install the locally built binaries under Down the line, the Also, the searched paths will need a better configuration. Sorry, I forgot that there are no pre-build statically linked binaries from Kitware with the latest CMake for Also, I am not sure about the paths for the |
Thanks @cerna! I rebuilt the machinekit-hal packages and tried again. Now I'm getting this error:
In case it helps, these are the commands I'm running to give this a go:
|
Muhehehe, @jallwine, with one strike you sunk the comp/instcomp/CMake triplet. Well, yeah, it's not working. The main points are:
There will be other changes needed for the codebase because of namespacing. Frankly, it was easier to write it by hand (example in cerna/bb_gpio), than make the |
I followed these instructions for building machine-hal packages: http://www.machinekit.io/docs/developing/machinekit-developing/
The only real change I had to do was to use the buildcontainerimage.py script in the debian directory rather than the scripts directory (which no longer exists). I built the deb packages for Debian Bullseye on armhf (as I want to run it on the Beaglebone Black). After building the packages, I installed them to a Beaglebone running Debian Bullseye using the following:
I was able to start the realtime environment and instantiate some basic HAL components. Now, I'm trying to compile and install my own HAL components using instcomp (specifically this one: https://github.com/pocketnc/bb_gpio). It seems like instcomp now needs an install directory to be specified? (I get the following error:
Error: Install path must be a single directory
).When I give it a path, it then complains with some CMake errors. First, I had cmake 3.18 installed (from Bullseye repositories), so it complained about that. I built CMake 3.22 from source (this took close to all day on my Beaglebone Black). Now when I run instcomp I get this:
I imagine I've installed CMake incorrectly or need to perform some extra steps. Any ideas?
The text was updated successfully, but these errors were encountered: