You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ls /opt/nvidia/deepstream
deepstream deepstream-6.4
$ ls /usr/local | grep cuda
cuda
cuda-12
cuda-12.2
$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cd /tmp && git clone -b 20.03 --depth 1 https://github.com/NVIDIA/retinanet-examples.git && cd retinanet-examples/extras/cppapi && mkdir build && cd build
/tmp/retinanet-examples/extras/cppapi/build $ cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.2 -D CMAKE_CUDA_FLAGS="--expt-extended-lambda -std=c++11" ..
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CUDA compiler identification is NVIDIA 12.2.140
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda-12.2/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "retinanet".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "retinanet".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /tmp/retinanet-examples/extras/cppapi/build
/tmp/retinanet-examples/extras/cppapi/build $ make
[ 7%] Building CUDA object CMakeFiles/retinanet.dir/tmp/retinanet-examples/csrc/cuda/decode.cu.o
nvcc warning : incompatible redefinition for option 'std', the last value of this option was used
/tmp/retinanet-examples/csrc/cuda/decode.cu:36:10: fatal error: thrust/system/cuda/detail/cub/device/device_radix_sort.cuh: No such file or directory
36 | #include <thrust/system/cuda/detail/cub/device/device_radix_sort.cuh>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/retinanet.dir/build.make:76: CMakeFiles/retinanet.dir/tmp/retinanet-examples/csrc/cuda/decode.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/retinanet.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Questions
Is this supported on deepstream 6.4?
Are there any suggestions to fixing the error? (use a docker container, command lines, installations before build, build flags)
Thanks in advance
The text was updated successfully, but these errors were encountered:
I am trying to build this on jetson orin nano
Questions
Thanks in advance
The text was updated successfully, but these errors were encountered: