Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.4.1.7402
other
Host Machine Version
native Ubuntu 18.04
other
Hello,
I’m trying to cross-compile the DriveWorks sample for the NVIDIA DRIVE Platform with reference to:
https://docs.nvidia.com/drive/driveworks-3.5/dwx_samples_building_V5L.html
I thought it was necessary to specify the cudnn path with the DCMAKE_PREFIX_PATH option, so I added this to the cmake options and ran it.
As a result, the following error occurred.
Can you help me resolve this error?
jpc00208119@JPC00208119:~/test/samples/build$ sudo cmake -DCMAKE_BUILD=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux -DTRT_VERSION:STRING=6.3.1.3 -DCMAKE_PREFIX_PATH="/home/jpc00208119/test/samples/3rdparty/linux-x86/cudnn-7.6.6.184" ..
-- VIBRANTE_PDK = /home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux
-- Vibrante version 5.2.0.0
-- Found /home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so:
-- - Includes: [/home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/include]
-- - Libraries: [/home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so]
-- Found: /home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libdrm.so
-- Header at: /home/jpc00208119/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/include
-- DW_EXPERIMENTAL_FORCE_EGL set and EGL Support Enabled
-- Cross Compiling for Vibrante
-- Building with TRT version 6.3.1.3 and cudnn version 7.6.6.184, pdk version 5.2.0.0
-- Building GLFW for X11 (static)
CMake Error at cmake/Samples3rdparty.cmake:14 (find_package):
Could not find a package configuration file provided by "vibrante" with any
of the following names:
vibranteConfig.cmake
vibrante-config.cmake
Add the installation prefix of "vibrante" to CMAKE_PREFIX_PATH or set
"vibrante_DIR" to a directory containing one of the above files. If
"vibrante" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:58 (include)
-- Configuring incomplete, errors occurred!
See also "/home/jpc00208119/test/samples/build/CMakeFiles/CMakeOutput.log".
See also "/home/jpc00208119/test/samples/build/CMakeFiles/CMakeError.log".
jpc00208119@JPC00208119:~/test/samples/build$
Note:
I referred to the post below.
My DRIVE AGX has been flushed by the SDK manager.