using boost c++ library on VOXL



  • I want to use the boost C++ library (https://www.boost.org/) on one of the MPA services (voxl-tflite-server, https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-tflite-server). I read a post where someone was trying to use apt-get functionality, where the answer was to look at the documentation on running Ubuntu on VOXL (https://docs.modalai.com/docker-on-voxl/). I have been developing on VOXL by doing the following dev flow:

    • Make changes on local PC running Ubuntu
    • Run voxl-docker -i voxl-cross on PC which runs the voxl-cross docker image
    • In docker image:
      • Run ./install_build_deps.sh stable which installs the dependencies of the MPA service via opkg
      • Build via ./build.sh
      • Make ipk package via ./make_package.sh
      • Exit docker image
    • Run install_on_voxl.sh which pushes ipk package to VOXL board via ADB and installs it via opkg

    Do I need to create my own custom docker image that has boost installed on it, or can I install boost on my voxl-cross docker image?


  • Dev Team

    I believe you should just be able to clone boost and perform a make install inside the docker. You can then save the state of that docker so you don't need to repeat that step later.


Log in to reply