Error while cross compiling the DriveWorks sample

I am trying to cross compile the DriveWorks sample and getting the following error. Could anyone please help solve this error.

test@test-Inspiron-3542:~/Desktop/driveworks_samples-v1.2.400-a7f5475-478955-nogcid-linux-amd64-ubuntu1604/usr/local/driveworks-1.2/samples/Release$ cmake -DCMAKE_BUILD=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/test/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/OS/DriveSDK/drive-t186ref-linux/ ../
-- VIBRANTE_PDK = /home/test/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/OS/DriveSDK/drive-t186ref-linux/
-- Vibrante version 5.0.10.3
-- Cross Compiling for Vibrante
-- Using X11 for window creation
CMake Error at cmake/Samples3rdparty.cmake:11 (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:30 (include)


-- Configuring incomplete, errors occurred!
See also "/home/test/Desktop/driveworks_samples-v1.2.400-a7f5475-478955-nogcid-linux-amd64-ubuntu1604/usr/local/driveworks-1.2/samples/Release/CMakeFiles/CMakeOutput.log".
See also "/home/test/Desktop/driveworks_samples-v1.2.400-a7f5475-478955-nogcid-linux-amd64-ubuntu1604/usr/local/driveworks-1.2/samples/Release/CMakeFiles/CMakeError.log".

Dear ram469,
Please confirm if you have flashed the board as it sets up right environment for cross compilation

Hi ram469,

Have you clarified the cause and resolved the problem?
Any result can be shared?

Thanks

Hi, I am facing similar issue, Drive OS 5.2.0, please let me know do we need to install any thing for Vibrante.

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks/samples/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK=/home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux …

Error:

– VIBRANTE_PDK = /home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux
– Vibrante version 5.2.0.0
– Found /home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so:
– - Includes: [/home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/include]
– - Libraries: [/home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so]
– Found: /home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/lib-target/libdrm.so
– Header at: /home/che7-l20041/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/include
– DW_EXPERIMENTAL_FORCE_EGL set and EGL Support Enabled
– Cross Compiling for Vibrante
– Default - Building with TRT version 6.3.1.3 and cudnn version 7.6.6.184
– Building GLFW for X11 (static)
CMake Error at cmake/Samples3rdparty.cmake:15 (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:61 (include)

– Configuring incomplete, errors occurred!
See also “/home/che7-l20041/dw_Samples/buildagx/CMakeFiles/CMakeOutput.log”.
See also “/home/che7-l20041/dw_Samples/buildagx/CMakeFiles/CMakeError.log”.

Hi mukilan.vijayakumar,

Here is the forum for DRIVE PX2.
Please open your issue at Latest DRIVE AGX/DRIVE AGX General topics - NVIDIA Developer Forums

Thanks