Closed PTaylor-RA closed 6 years ago
If you're attempting to build sdbusplus outside of an openbmc SDK, you will need to install/configure the autoconf archive package. Installing this depends on your distribution.
I am not very good with makefiles, autoconf, etc and am afraid it will take me hours to figure out how to get everything configured. Would it be possible to just post the contents of the generated files:
calculator_server_generated_files = \
net/poettering/Calculator/server.hpp \
net/poettering/Calculator/server.cpp \
net/poettering/Calculator/error.hpp \
net/poettering/Calculator/error.cpp
I think that is all I would need to understand how to use the library.
I'm really interested in using this library as well. I have autoconf-archive installed on my system, but can't figure out where to go from there. Any advice?
Hi @The-Funk,
Your query isn't really a bug or a feature as such, and it's probably better served in a different forum. Please get in touch via Matrix, IRC or the mailing list and we'd be happy to help there:
Mail: openbmc@lists.ozlabs.org https://lists.ozlabs.org/listinfo/openbmc IRC: #openbmc on freenode.net Riot: #openbmc:matrix.org
@amboar I forgot I even commented here. I got it working. I needed the pkg-config package.... doh!
This looks like a great project and possibly the only one I could find using the sd-bus D-Bus implementation. My goal is to generate the full example code for reference as I try to implement this library in my project. Specifically,
and its inheritance by the Calculator struct seems to be hiding a LOT of code for setting up the server.
I couldn't find any options to just generate the examples, but it does appear that the sdbus++ tool is required for that so I tried going ahead and making the tool, but that won't work either. Here's what I'm trying (after running
bootstrap.sh
):