Use the following steps to build a project using the example makefiles on the Linux platform:
- Open a terminal.
- Set the environment variable
SYSROOT
to the/sw/aarch64-linux-gnu/sysrootfolder.
- Copy the bilateralfilter example from thexfOpenCVgit folder on local machine>/xfOpenCV/examples/bilateralfilterfolder to the/sw/aarch64-linux-gnu/sysrootfolder.
- Change the directory to/samples/bilateral/example.
cd /samples/bilateral/example
- Set the environment variables to run SDx development environment.
- For c shell:
source /settings.csh
- For bash shell:
source /settings.sh
- Type the
make
command in the terminal.
The
sd_cardfolder is created and can be found in the
/samples/bilateral/examplesfolder.