Skip to content

chokobole/felicia-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Felicia examples

Prerequisites

please go to Prerequisites and make bazel, python and python dependencies ready.

How to build

Use Static Library

Build examples.

# On mac add --cpu darwin_x86_64
bazel //examples/...

Use Shared Library

  1. First follow the How To Pakcage.

  2. 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/
  3. Build examples. NOTE: Watch out the compilation_mode, if you build library with dbg, then you should put dbg to build. It depends on how you build shared library.

    # On mac add --cpu darwin_x86_64
    bazel --define use_shared_library=true //examples/...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages