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 variableSYSROOTto the/sw/aarch64-linux-gnu/sysrootfolder.
  3. Copy the bilateralfilter example from thexfOpenCVgit folder on local machine>/xfOpenCV/examples/bilateralfilterfolder to the/sw/aarch64-linux-gnu/sysrootfolder.
  4. Change the directory to/samples/bilateral/example.
    cd /samples/bilateral/example
  5. Set the environment variables to run SDx development environment.
    • For c shell:
      source /settings.csh
    • For bash shell:
      source /settings.sh
  6. Type themakecommand in the terminal.
    The sd_cardfolder is created and can be found in the /samples/bilateral/examplesfolder.