Open jrtcppv opened 2 years ago
I was able to get this working by reflashing to JetPack 4.5.1
and using branch 20.03
, as well as changing the base image:
FROM nvcr.io/nvidia/l4t-ml:r32.5.0-py3
ENV DEBIAN_FRONTEND=noninteractive
# Install apt packages
COPY nvidia-l4t-apt-source.list /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
COPY jetson-ota-public.asc /etc/apt/trusted.gpg.d/jetson-ota-public.asc
RUN apt-get update && apt-get install -y --no-install-recommends \
vim git ffmpeg pkg-config build-essential cmake \
libopencv-dev && apt-get clean && rm -fr /var/lib/apt/lists/*
# Install ODTK C++ inference API
WORKDIR /
RUN git clone -b 20.03 --depth 1 https://github.com/NVIDIA/retinanet-examples.git odtk
WORKDIR /odtk/extras/cppapi
RUN mkdir build
WORKDIR build
RUN cmake -DCMAKE_CUDA_FLAGS="--expt-extended-lambda -std=c++14" ..
RUN make
Using the following dockerfile on an Xavier AGX (also have tried on a TX2):
I get the following error:
I have tried playing with the include order for the
*.cuh
files, including additional headers that seem to contain missing symbols (such asdevice_select.cuh
) and keep running into this. I ran into this exact error on TX2 as well when I tried to build the full python module through setup.py. Note that theln -s
step is needed else thecub
headers will not be found.