Skip to content

Steps to build the library

Ayush Salunke edited this page Dec 13, 2024 · 5 revisions

Steps to build the library

  • Start by cloning the repository in you local workspace. Make sure to clone the branch "ayush_branch" for now.

    • To clone the specific branch use git clone -b <branch_name> <repo link>
  • Make sure to first also clone and build the Lab Streaming Layer in your local workspace before building this repository.

  • You can follow this set of instructions to install the LSL repository in your local workspace.

  • Also clone this repository in your workspace to work with YARP modules. Follow the installation instructions given in the link.

  • The git submodule links have been updated to point at the right location.

  • Run the following set of commands to build both LSL and Main Library.

    • git submodule init
    • git submodule update
    • mkdir build && cd build (rm -rf build if an old build folder already exists)
    • cmake ..
    • sudo cmake --build . --config Release --target install
  • This has to be done because the LSL will install its dependencies in your /usr/local/lib folder which will be required by the HRIphysioLib repository to build successfully.

  • Make sure to update the submodules before building LSL.

  • I have attached a screenshot of the successful build. Successbuild