Skip to content

nav-io/libblsct-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libblsct-bindings

Preparation

Common

  1. Move to the repository root directory

  2. Create a symbolic link to navio-core

    ln -s path/to/navio-core
  3. Initialize and update swig submodule:

    git submodule update --init --remote --recursive

Install libblsct

  1. Build src/libblsct.a:

    ./script/build-libblsct.sh
  2. Initialize and update swig submodule:

    cd ffi
    git submodule update --init --recursive

Install Swig

  1. Install PCRE2 and bison

    On Ubuntu:

    sudo apt install libpcre2-dev bison

    On macOS:

    brew install pcre2 

    and add bison to the path

    export PATH="/opt/homebrew/opt/bison/bin:$PATH"
  2. Build swig and install it under swig directoy

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

    source ./script/activate-swig.sh