When I try to cross compile the sample code on host machine, when I type the following command:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/home/j5207/nvidia/dw_sample/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/j5207/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-linux -DVIBRANTE_PDK_FILE:STRING=/home/j5207/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-linux/lib-target/version-oss-sdk.txt ..
I have the following output:
-- Building GLFW for X11 (static) CMake Error at /usr/share/cmake-3.5/Modules/FindX11.cmake:439 (message): Could not find X11 Call Stack (most recent call first): 3rdparty/src/glfw/CMakeLists.txt:22 (find_package) 3rdparty/src/glfw/CMakeLists.txt:107 (glfw_build_for_winsys)
Also, at first, when I just install all the required component on host machine via sdkmanager, I could not locate DriveSDK, and after I also tried to install the required target component( even though failed since no target hardware connected), I could locate the DriveSDK, but still have this error output.
Could anyone help me out?