Missing .deb file in docker container

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Issue Description
I cannot find the corresponding folder in /drive. There is no /drive/extra/driveworks. According to the section of “Sample binary installation”, there should be /drive/extra/driveworks inside my docker container. But there is such folder.
DriveWorks SDK Reference: Getting Started Using the NVIDIA DRIVE OS NGC Docker Container

How can I install the sample files to my target board with such .deb files?
I am currntly also trying to cross-compile the helloword sample file, there is also error when I execute make. Do i need a GPU on my host when I do the cross-compile?

Dear @rlu1,
Could you share the content of /drive?

No.

root@docker-desktop:/drive# ls
drive-foundation  drive-foundation_src  drive-linux  drive-linux_src  drive_flashing  driveinstaller  flash.sh  toolchains

Also, i cannot even cross-compile the hello_world sample. I follow the steps in the doc. i can also share the error to you.


root@docker-desktop:/home/nvidia/build-aarch64-linux-gnu# make
Scanning dependencies of target lodepng-src
[  1%] Building CXX object 3rdparty/src/lodepng/CMakeFiles/lodepng-src.dir/src/lodepng.cpp.o
[  1%] Linking CXX static library liblodepng-src.a
[  1%] Built target lodepng-src
Scanning dependencies of target glfw-x11
[  2%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/context.c.o
[  2%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/init.c.o
[  3%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/input.c.o
[  4%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/monitor.c.o
[  4%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/vulkan.c.o
[  5%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/window.c.o
[  5%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/x11_init.c.o
[  6%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/x11_monitor.c.o
[  6%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/x11_window.c.o
[  7%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/xkb_unicode.c.o
[  8%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/linux_joystick.c.o
[  8%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/posix_time.c.o
[  9%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/posix_tls.c.o
[  9%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/glx_context.c.o
[ 10%] Building C object 3rdparty/src/glfw/CMakeFiles/glfw-x11.dir/3.2-screen/src/egl_context.c.o
[ 10%] Built target glfw-x11
Scanning dependencies of target glfw-src
[ 10%] Linking C shared library libglfw.so
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: total time in link: 0.023687
[ 10%] Built target glfw-src
Scanning dependencies of target samples_framework_nocuda
[ 11%] Building CXX object src/framework/CMakeFiles/samples_framework_nocuda.dir/ProgramArguments.cpp.o
[ 12%] Linking CXX static library libsamples_framework_nocuda.a
[ 12%] Built target samples_framework_nocuda
Scanning dependencies of target samples_allocator
[ 13%] Building CXX object src/framework/CMakeFiles/samples_allocator.dir/Allocator.cpp.o
[ 13%] Linking CXX static library libsamples_allocator.a
[ 13%] Built target samples_allocator
Scanning dependencies of target samples_framework
[ 14%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/SampleFramework.cpp.o
[ 14%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/DriveWorksSample.cpp.o
[ 15%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/DriveWorksSampleSeek.cpp.o
[ 16%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/ProgramArguments.cpp.o
[ 16%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/Window.cpp.o
[ 17%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/Grid.cpp.o
[ 17%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/WindowGLFW.cpp.o
[ 18%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/MathUtils.cpp.o
[ 18%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/MouseView3D.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/Log.cpp.o
[ 20%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/ProfilerCUDA.cpp.o
[ 20%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/CameraFramePipeline.cpp.o
[ 21%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/SimpleCamera.cpp.o
[ 21%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/SimpleRenderer.cpp.o
[ 22%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/SimpleRecordingPlayer.cpp.o
[ 22%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/ScreenshotHelper.cpp.o
[ 23%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/RenderUtils.cpp.o
[ 24%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/SamplesDataPath.cpp.o
[ 24%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/WindowEGL.cpp.o
[ 25%] Building CXX object src/framework/CMakeFiles/samples_framework.dir/WindowLinuxEGL.cpp.o
[ 25%] Linking CXX static library libsamples_framework.a
[ 25%] Built target samples_framework
Scanning dependencies of target sample_egomotion
[ 26%] Building CXX object src/egomotion/CMakeFiles/sample_egomotion.dir/main.cpp.o
[ 26%] Linking CXX executable sample_egomotion
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: warning: libnvinfer_safe.so.8, needed by /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so, not found (try using -rpath or -rpath-link)
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: warning: libnvinfer_checker.so.8, needed by /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so, not found (try using -rpath or -rpath-link)
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: warning: libnvinfer_builder_resource.so.8, needed by /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so, not found (try using -rpath or -rpath-link)
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: warning: libcufft.so.10, needed by /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so, not found (try using -rpath or -rpath-link)
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: warning: libnvrtc.so.11.2, needed by /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so, not found (try using -rpath or -rpath-link)
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: warning: libnvrtc-builtins.so.11.4, needed by /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so, not found (try using -rpath or -rpath-link)
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so: undefined reference to `nvinfer1::safe::createInferRuntime(nvinfer1::ILogger&)'
/drive/toolchains/aarch64--glibc--stable-2022.03-1/bin/../lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /drive/drive-linux/filesystem/targetfs/usr/local/driveworks-5.6/targets/aarch64-Linux/lib/libdw_dnn_base.so: undefined reference to `createConsistencyChecker_INTERNAL'
collect2: error: ld returned 1 exit status
make[2]: *** [src/egomotion/CMakeFiles/sample_egomotion.dir/build.make:122: src/egomotion/sample_egomotion] Error 1
make[1]: *** [CMakeFiles/Makefile2:1801: src/egomotion/CMakeFiles/sample_egomotion.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Here is the error when i cross compile the sample in the docker container

Dear @rlu1 ,
DRIVE OS 6.0.4 is pretty old. Is it possible to upgrade DRIVE OS release? If can’t be upgraded, please share the used cross compilation commands and logs.

Can you check adding the missing libs to LD_LIBRARY_PATH?

error_log.txt (98.2 KB)
here are commands that i executed and the outputs of the commands

when i flash the latest version to my orin board. All the files on the board will be deleted?? or there is some support for migration?

Dear @rlu1 ,
Could you check Error: cross compiling sample on docker for your compilation issue?

Yes.

its very similar issue.
so either i need to install drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.4.0-0004-patch-01 image or i just flash the latest drive OS?

Dear @rlu1 ,
If you don’t have any dependency on DRIVE OS 6.0.4, we suggest to use latest release. If you have to use 6.0.4, please use drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.4.0-0004-patch-01