Thursday, August 10, 2017

How to update C++ changes in Custom library?

  1. Download Trillbit.zip, which contains library and headers.
  2. Go inside the Trillbit's mobile app folder. (Please pull the latest changes from master branch)
    1. cd ~/TrillApp.
  3. Put any updated/new C++ code in gen-libs/src/main/cpp/ folder.
  4. Build and run the app to verify its working correctly.
  5. Copy headers:
    1. cp distribution/demodulation/include/bpsk/* ~/Downloads/Trillbit/include
  6. Copy shared libraries:
    1. cd distribution/demodulation/lib/bpsk/
    2. for folder in *; do cp $folder/libtrill.so ~/Downloads/Trillbit/lib/$folder/; done
  7. Zip the Trillbit folder.

No comments:

Post a Comment