Closed danieleades closed 2 years ago
@chrismurf Any thoughts on this?
thanks. the built python wheel contains shared libs and header files for dccl
, so it would seem a bit circular to also have to include system-installed header files.
This has been fixed in 3.0 and 4.0
I'm just getting started following the example in https://libdccl.org/, and I had a couple of questions I was hoping to get some help with.
I've pushed my example project to https://github.com/danieleades/dccl-example for reference. The steps I've followed are in the README in the project root. I'm using Poetry for managing Python packages.
Some questions-
./build.sh
) first, and then build the Python package (cd python && python setup.py build
). I'm finding that the python project fails to build since it can't find thedccl
header files. I can get this to work by installing the C++ project first (cd build && sudo make install
). This step isn't in the instructions, and isn't super portable. Is there a way around this?dccl.addProtoIncludePath(os.path.abspath(".")) dccl.addProtoIncludePath(os.path.abspath("/path/to/dccl/include"))
dccl.loadProtoFile(os.path.abspath("./navreport.proto"))
codec = dccl.Codec() codec.load("NavigationReport")
...