Cmake build multimedia api failed


I just downloaded clean Jetson_Multimedia_API_R35.1.0_aarch64.tbz2, my device is Jetson AGX Xavier; when I build multi-media API in the docker file.

/usr/bin/ld: ../utils/libargussampleutils.a(NvNativeBuffer.cpp.o): in function `ArgusSamples::NvNativeBuffer::create(Argus::Size2D<unsigned int> const&, NvBufSurfaceColorFormat, NvBufSurfaceLayout)':
NvNativeBuffer.cpp:(.text+0x1d0): undefined reference to `NvBufSurfaceAllocate'
collect2: error: ld returned 1 exit status
make[2]: *** [samples/eglImage/CMakeFiles/argus_eglimage.dir/build.make:98: samples/eglImage/argus_eglimage] Error 1
make[1]: *** [CMakeFiles/Makefile2:1194: samples/eglImage/CMakeFiles/argus_eglimage.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Hi,
Please check if it can be built successfully outside docker. If it can be built successfully on the system(without docker), please look for what are missing and add them into

/etc/nvidia-container-runtime/host-files-for-container.d/l4t.csv

thanks for replying, yes, I tried it, and it can be built successfully on the system(without docker), did I need COPY /etc/nvidia-container-runtime/host-files-for-container.d/l4t.csv into docker when I made docker image? but in my base image(FROM nvcr.io/nvidia/l4t-tensorrt:r8.4.1-runtime) without this path/etc/nvidia-container-runtime/host-files-for-container.d, should I COPY the etc into the base docker image?

This thread may be helpful.

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