Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 847 Bytes

README.md

File metadata and controls

52 lines (33 loc) · 847 Bytes

libblsct-bindings

How to set up the environment

  1. Move to the repository root

  2. Fetch navio-core and swig submodules

    git submodule update --init --remote --recursive
  3. Build src/libblsct.a:

    ./script/build-libblsct.sh
  4. Install PCRE2 and bison

    On Ubuntu:

    sudo apt install libpcre2-dev bison

    On macOS:

    Regarding bison, although Xcode includes bison, the version is 2.3 which does not work with swig. Newer version of bison needs to installed.

    brew install pcre2 bison 

    and add bison to the path

    export PATH="/opt/homebrew/opt/bison/bin:$PATH"
  5. Build swig

    ./script/build-swig.sh
  6. Add locally built swig to the PATH

    source ./script/activate-swig.sh