Before 18.104.22.168, I tested cross-build lots of time without any problems.
This time, however, same job as follow makes errors and failed build process.
When cmake command is passed at 22.214.171.124 Driveworks, lots of following messages returned;
CMake Warning at src/dataspeedBridge/CMakeLists.txt:30 (add_executable): Cannot generate a safe runtime search path for target sample_dataspeedBridge because there is a cycle in the constraint graph: dir 0 is [/usr/local/driveworks/targets/aarch64-Linux/lib] dir 1 is [/usr/local/cuda-9.2/lib64] dir 2 is [/home/nvidia/nvidia/nvidia_sdk/DRIVE_OS_126.96.36.199_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-linux/lib-target] dir 4 must precede it due to runtime library [libXrandr.so.2] dir 5 must precede it due to runtime library [libX11.so.6] dir 3 is [/usr/local/driveworks/samples/3rdparty/linux-aarch64/vibrante/lib] dir 4 is [/usr/local/driveworks/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib] dir 5 is [/home/nvidia/nvidia/nvidia_sdk/DRIVE_OS_188.8.131.52_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-linux/targetfs/usr/lib/aarch64-linux-gnu] dir 4 must precede it due to runtime library [libXrandr.so.2] Some of these libraries may not be found correctly.
I think /usr/local/cuda-9.2/lib64 should be ignored for cross-build.
What’s wrong here?
- NVIDIA Drive 396 version is installed on the host