Driveworks Cross compilation throwing error saying that libcudart.so:File not recognized

Hi,

I was cross compiling my code from my Linux machine ubuntu 16.04.

I have taken care some of below prerequisites:
Installed Cuda-toolkit 9.0

export MY_DRIVESDK=/home/DriveSDK/drive-t186ref-linux
export MY_TOOLCHAIN_FILE=/usr/local/driveworks/samples/cmake/Toolchain-V4L.cmake

Below is my build command

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$MY_TOOLCHAIN_FILE DVIBRANTE_PDK:STRING=$MY_DRIVESDK

Still I am getting below error

/usr/local/cuda/targets/aarch64-linux/lib/libcudart.so File not recognized: File format not recognized.

Can anyone please help me to figure out the issue …
Please let me know if you need any other info

Dear Abhilash,
Could you please check the pre-requistes and compilation steps at file:///usr/local/driveworks/doc/nvdwx_html/dwx_samples_building.html. You need to install CUDA libs for cross compilation

Also, Our latest PDK comes with CUDA 9.2 already. Could you please upgrade to latest PDK if possible(https://developer.nvidia.com/nvidia-drive-downloads)

Thanks RamaKrishna, I will go through the documents for cross compilation