Skip to content
Advertisement

Tag: bazel-rules

Bazel, how to add Python library built in C++ into Python Binary?

I have a C++ Library with Python Bindings built as follows, and a Python Binary that needs to import the libPerceptionPybind.so that is generated. I see that the libPerceptionPybind.so has been generated in my bazel-bin/pybind folder. I tried to add PerceptionPybind to the deps as you can see, but it gives an error: Answer You can use the data field

Advertisement