Unable to compile drivework on orin

Please provide the following info (tick the boxes after creating this topic):
Software Version
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
1.9.3.10904
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
I copied the drivework folder from docker to orin and then tried to compile the drivework example code. But the following error is displayed:
– Building GLFW for X11 (static)
– **** Please copy the contents of /home/zhangzs/nvidia/driveworks/samples/build/install/usr/local/driveworks/samples/bin' on the host filesystem to /usr/local/driveworks/samples/bin’ on the target filesystem. ****
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find cuDNN (missing: cuDNN_INCLUDE_DIR cuDNN_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindcuDNN.cmake:121 (find_package_handle_standard_args)
CMakeLists.txt:132 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/zhangzs/nvidia/driveworks/samples/build/CMakeFiles/CMakeOutput.log”.
See also “/home/zhangzs/nvidia/driveworks/samples/build/CMakeFiles/CMakeError.log”.

Dear @deng.shigang,
On target compilation is not supported and need to cross compile the DW samples. Please see the discussion at Setting up Driveworks 5.14 on the Drive Orin - #5 by SivaRamaKrishnaNV if it helps…

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