Hello, I was trying to use NVIDIA L4T TensorRT r10.3.0-devel to build opencv from source with cuda support in the docker image, but I got the following error during the build stage:
46.08 -- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version "")
46.09 -- Julia not found. Not compiling Julia Bindings.
46.11 -- Module opencv_ovis disabled because OGRE3D was not found
46.14 -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
46.15 -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
46.16 -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
46.16 -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
46.16 -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
46.16 -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
46.18 -- Checking for module 'tesseract'
46.18 -- No package 'tesseract' found
46.18 -- Tesseract: NO
46.41 -- Allocator metrics storage type: 'int'
46.44 -- Excluding from source files list: modules/imgproc/src/corner.avx.cpp
46.44 -- Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp
46.44 -- Excluding from source files list: modules/imgproc/src/imgwarp.lasx.cpp
46.44 -- Excluding from source files list: modules/imgproc/src/imgwarp.sse4_1.cpp
46.44 -- Excluding from source files list: modules/imgproc/src/resize.avx2.cpp
46.45 -- Excluding from source files list: modules/imgproc/src/resize.lasx.cpp
46.45 -- Excluding from source files list: modules/imgproc/src/resize.sse4_1.cpp
46.51 CMake Error at modules/dnn/CMakeLists.txt:49 (message):
46.51 DNN: CUDA backend requires CUDA Toolkit. Please resolve dependency or
46.51 disable OPENCV_DNN_CUDA=OFF
46.51
46.51
46.51 -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /opencv/opencv-4.10.0/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
46.56 -- opencv_dnn: filter out cuda4dnn source code
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx2.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx512_skx.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.lasx.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.avx2.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.avx512_skx.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.rvv.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.lasx.cpp
46.57 -- Excluding from source files list: <BUILD>/modules/dnn/layers/cpu_kernels/conv_block.avx.cpp
46.58 -- Excluding from source files list: <BUILD>/modules/dnn/layers/cpu_kernels/conv_block.avx2.cpp
Then we I double check the [r10.3.0-devel](http://nvcr.io/nvidia/l4t-tensorrt:r10.3.0-devel)
image size, I found it has the exact same size as the runtime version nvcr.io/nvidia/l4t-tensorrt:r10.3.0-runtime. This makes me think the wrong devel tag was given to the runtime image, and there is not devel image public available right now. Could anyone help me check if my assumption is correct? Thanks!