please go to Prerequisites and make bazel
, python
and python dependencies
ready.
Build examples.
# On mac add --cpu darwin_x86_64
bazel //examples/...
-
First follow the How To Pakcage.
-
Copy the library and headers.
mkdir include lib # Common cp /path/to/felicia/bazel-bin/felicia/felicia_hdrs.tar include/ tar -xf feilcia_hdrs.tar -C include/ # For linux cp /path/to/felicia/bazel-bin/felicia/libfelicia.so lib/ # For windows cp /path/to/felicia/bazel-bin/felicia/felicia.dll lib/ cp /path/to/felicia/bazel-bin/felicia/felicia.lib lib/ # For mac cp /path/to/felicia/bazel-bin/felicia/libfelicia.dylib lib/
-
Build examples. NOTE: Watch out the
compilation_mode
, if you build library withdbg
, then you should putdbg
to build. It depends on how you build shared library.# On mac add --cpu darwin_x86_64 bazel --define use_shared_library=true //examples/...