Building a Project Using the Example Makefiles on Linux

Use the following steps to build a project using the example makefiles on the Linux platform:

  1. Open a terminal.
  2. Set the environment variable SYSROOT to the <path to revision platform on local machine>/sw/aarch64-linux-gnu/sysroot folder.
  3. Copy the bilateralfilter example from the <path to xfOpenCV git folder on local machine>/xfOpenCV/examples/bilateralfilter folder to the <path to revision platform on local machine>/sw/aarch64-linux-gnu/sysroot folder.
  4. Change the directory to <path to reVISION platform on local machine>/samples/bilateral/example.
    cd <path to reVISION platform>/samples/bilateral/example
  5. Set the environment variables to run SDx development environment.
    • For c shell:
      source <SDx tools install path>/settings.csh
    • For bash shell:
      source <SDx tools install path>/settings.sh
  6. Type the make command in the terminal.
    The sd_card folder is created and can be found in the <path to reVISION platform on local machine>/samples/bilateral/examples folder.