Jetson containers with custom app, linker error

I am using the nvidia runtime and GitHub - dusty-nv/jetson-containers: Machine Learning Containers for NVIDIA Jetson and JetPack-L4T (DockerFile.jetpack) image to build a docker base on an Jetson Xavier NX, and on top of that docker base file I build my C++ object detection application with Cmake. Everything is building until i get this linker error:

On the jetson xavier nx, jetpack 4.6 is installed, does anyone know how to resolve this error?

Hi @gebruiker108, have you set your default runtime to nvidia? https://github.com/dusty-nv/jetson-containers#docker-default-runtime

This will make it so those CUDA and TensorRT libraries are available to link against when you are doing docker build operations.

1 Like

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