Install jetson_multimedia_api failed

I’m setting up Jetson AGX Xavier .
I try to use docker build a docker image, then I downloaded jetson_multi_media_api from Jetson Linux | NVIDIA Developer here, Jetson Linux API Reference (formerly named Multimedia API Reference)

COPY ./docker/packages/ /tmp/
RUN unzip /tmp/ -d /usr/src/jetson_multimedia_api \
    && rm /tmp/
RUN apt-get update \
    && apt-get install --no-install-recommends -y cmake libgtk-3-dev libjpeg-dev libgles2-mesa-dev libgstreamer1.0-dev v4l-utils \
    && ln -s /usr/lib/aarch64-linux-gnu/ /usr/lib/aarch64-linux-gnu/ \
    && rm -rf /var/lib/apt/lists/*
RUN cd /usr/src/jetson_multimedia_api/src/jetson_multimedia_api/argus/cmake \
    && /usr/bin/cmake .. \
    && make -j$(nproc) install

when I install jetson_multimedia_api;

/bin/sh: 1: xxd: not found
make[2]: *** [apps/camera/ui/camera/CMakeFiles/argus_camera.dir/build.make:62: apps/camera/ui/camera/cameraBuilder.h] Error 127
make[2]: *** Deleting file 'apps/camera/ui/camera/cameraBuilder.h'
make[1]: *** [CMakeFiles/Makefile2:787: apps/camera/ui/camera/CMakeFiles/argus_camera.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Seems xxd was not found. Be sure it is available from your container:

sudo apt search xxd
xxd/focal-updates,focal-security,now 2:8.1.2269-1ubuntu5.9 arm64

If available you would just add xxd to apt installed dependencies in your Dockerfile.

thanks for replying, I have a question about the source of Multimedia API for jetpack 5.0.2, I download it from the above address, Is it the right way to get the multi-media API source for jetpack 5.0.2?

I can’t tell from your container, but with JP-5.0.2 on AGX Orin I see:

sudo apt update
[sudo] password for nvidia: 
Hit:1 stable InRelease
Get:2 stable InRelease [3 023 B]                                                            
Hit:3 focal InRelease                                                                           
Hit:4 focal-updates InRelease             
Hit:5 focal-backports InRelease
Hit:6 focal-security InRelease
Get:7 r35.1 InRelease [2 555 B]
Get:8 stable/main arm64 Packages [52,9 kB]
Get:9 r35.1 InRelease [2 550 B]
Get:10 stable/main amd64 Packages [52,8 kB]
Get:11 stable/main armhf Packages [53,6 kB]
Fetched 167 kB in 6s (26,9 kB/s)                                                                                                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

sudo apt search nvidia-l4t-jetson-multimedia-api
Sorting... Done
Full Text Search... Done
nvidia-l4t-jetson-multimedia-api/stable,now 35.1.0-20220825113828 arm64 [installed]
  NVIDIA Jetson Multimedia API is a collection of lower-level APIs that support flexible application development.

So version 35.1 should be ok, but not tried that package. Otherwise try from apt:

sudo apt install nvidia-l4t-jetson-multimedia-api

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.