Hi,
Please follow the README.txt to build it on Jetson AGX
Steps to compile the "gst-nvarguscamera" sources natively:
1) Install gstreamer related packages on target using the command:
sudo apt-get install libgstreamer1.0-dev \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
libgstreamer-plugins-base1.0-dev \
libegl1-mesa-dev
2) Install "jetson_multimedia_api" package from latest Jetpack release.
3) Download and extract the package "gst-nvarguscamera_src.tbz2" as follow:
tar -I lbzip2 -xvf gst-nvarguscamera_src.tbz2
3) Run the following commands to build and install "libgstnvarguscamerasrc.so":
cd "gst-nvarguscamera"
make
make install
or
DEST_DIR=<dir> make install
Note: "make install" will copy library "libgstnvarguscamerasrc.so"
into "/usr/lib/aarch64-linux-gnu/gstreamer-1.0" directory.
Sorry, to tell we don’t support to build it from host now.
You may need to figure out the solution by yourself. The error is lost the header file fromjetson_multimedia_api
Install “jetson_multimedia_api” package from latest Jetpack release. Install it from Xavier AGX and copy it to your host. Suppose unable get it from the host.
sudo apt list -a nvidia-l4t-jetson-multimedia-api
sudo apt install nvidia-l4t-jetson-multimedia-api=32.xxxxx
I managed to crosscompile nvarguscamerasrc in docker using docker buildx to build for another architecture. Qemu doing all the heavy lifting. It’s very simple and should be supported by nvidia imho,
Also took the jetson_multimedia_api dir from the jetson in /usr/src/ and put it in the docker container.
Same with tegra libraries in /usr/lib/aarch64-linux-gnu
Works well and we can automate building our modified nvarguscamerasrc now :)