Cross Compiling DRIVEWORKS 3.5 for DRIVEOS 5.2

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.0.7363
other

Host Machine Version
native Ubuntu 18.04
other

Hi.

I am trying to cross compile DRIVEWORKS 3.5 from my host system to my Drive platform, I am trying this out using this link https://docs.nvidia.com/drive/driveworks-3.5/dwx_samples_building_V5L.html I have updated and completed all the steps in my host PC and when i try to run the CMAKE command i get errors related to CmakeList.txt. I am also attaching a picture. Not sure what the issue is .

sudo cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-3.5/samples/cmake/Toolchain-V5L.cmake \ -D VIBRANTE PDK:STRING=/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/ -D TRT_VERSION:STRING=6.3.1.3 \ /usr/local/driveworks-3.5/samples/

Hi @rajkumar.palanisamy ,

I’m not sure if any other issues but this seems a typo of VIBRANTE_PDK.
If still not working, you can compare with the command in the document page carefully.
Thanks.

Hi @VickNV ,
We were able to cmake, but we are facing linkage issue when we try to install. Im attaching the logs, Please let me know how to solve this

agx-pegasus@agx-pegasus:/usr/local/driveworks-3.5/samples$ sudo make install
[ 0%] Built target lodepng-src
[ 7%] Built target glfw-x11
[ 8%] Built target glfw-src
[ 9%] Built target samples_allocator
[ 9%] Built target create-data-symlink
[ 18%] Built target samples_framework
[ 19%] Built target samples_framework_nocuda
[ 21%] Built target sample_egomotion
[ 23%] Built target sample_sensors_info
[ 25%] Built target sample_gps_logger
[ 26%] Built target sample_imu_logger
[ 27%] Built target sample_camera_replay
[ 29%] Built target sample_camera_seek
[ 30%] Built target sample_record
[ 31%] Built target sample_canbus_logger
[ 33%] Built target sample_canbus_interpreter
[ 34%] Built target sample_lidar_replay
[ 36%] Built target sample_radar_replay
[ 38%] Built target sample_imu_plugin
[ 39%] Built target sample_gps_plugin
[ 40%] Built target sample_can_plugin
[ 42%] Built target sample_timesensor
[ 43%] Built target sample_camera
[ 44%] Built target sample_datasensor
[ 45%] Built target sample_cameraserver_client
[ 47%] Built target sample_cameraserver_client_raw
[ 48%] Built target sample_camera_usb
[ 49%] Built target sample_feature_tracker
[ 50%] Built target sample_template_tracker
[ 51%] Built target sample_connected_components
[ 53%] Built target sample_stereo_disparity
[ 55%] Built target sample_stereo_disparity_pva
[ 57%] Built target sample_color_correction
[ 59%] Built target sample_video_rectifier
[ 60%] Built target sample_imagetransformation
[ 61%] Built target sample_sfm
[ 62%] Built target sample_fast9_feature_detector
[ 64%] Built target sample_denseopticalflow
[ 66%] Built target sample_image_pyramid_pva
[ 67%] Built target sample_rig
[ 69%] Built target sample_renderer
[ 70%] Built target sample_render_engine
[ 72%] Built target sample_object_detector_tracker
[ 73%] Built target dnn_pool_plugin
[ 74%] Built target sample_dnn_plugin
[ 75%] Built target sample_dnn_tensor
[ 76%] Built target sample_socket_ipc_clientserver
[ 78%] Built target sample_hello_world
[ 79%] Built target dw_samples_image_common
[ 80%] Built target sample_image_streamer_multi
[ 82%] Built target sample_image_streamer_simple
[ 83%] Built target sample_image_capture
[ 84%] Built target sample_image_streamer_cross
[ 85%] Built target sample_template
[ 86%] Built target sample_icp
[ 88%] Built target sample_calibration_camera
[ 89%] Built target sample_calibration_imu
[ 91%] Built target sample_calibration_lidar
[ 92%] Built target sample_calibration_radar
[ 94%] Built target sample_calibration_stereo
[ 95%] Built target sample_calibration_steering
[ 96%] Built target sample_vehicleio
[ 97%] Built target sample_vehicleio_plugin
[ 99%] Built target sample_dataspeedBridge
[100%] Built target sample_pointcloudprocessing
Linking CXX executable CMakeFiles/CMakeRelink.dir/sample_egomotion
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwmapc.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libnvinfer.so.6, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libnvparsers.so.6, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libcudnn.so.7, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libnvonnxparser.so.6, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libnvinfer_plugin.so.6, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libnlsolver.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwgeometry.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwprofiler.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwtrace.so.3, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libnvToolsExt.so.1, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwsolver.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwcontainers.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/…/lib/gcc/aarch64-linux-gnu/7.3.1/…/…/…/…/aarch64-linux-gnu/bin/ld: warning: libdwfoundation.so, needed by /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ff059cc1f40acc659e5f45edcabc4faac1c14474' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_0e49ce5b3ad4c1e98d91c4fa8d45fdcbbf86d87c’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_593ab03e0dfd554c4bb59d7560a11ed6703bee5b' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_616414b303b00156c6504a842d8831639ecc5d04’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_b74fbca493e41c4f7501332f9d7d456edbee20f7' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_85e3ec1aa174552d8ce563f53ec78cd4a3607461’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to createInferRuntime_INTERNAL' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_9dbca90736da53c0f2911e434f139225df668770’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_6510c5d822879a37ab5fd026168eccc10f7722b0' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to cudnnGetVersion@libcudnn.so.7’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadableCreate' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_02c07d8e8ba30b3d7067c23555c74e4d00d13712’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_7d99c796f3cf70825a722b03cde5d9d0b4d1aa8a' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_71967a133b9eccc1287f0e54fd7574776468fce2’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to createInferRefitter_INTERNAL' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_b93de9504498d8fa3695938ebf5b6aef197ecddb’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_2d0458d0954a2027967b84042a6376671026bc1a' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_875673e416df614d2e0ccd4aa322dfe9e99a340a’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_9836da4c8bd9c7b24ffec153fd3b28f5cb174331' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_293adc89ea9b88493a76d6adedff75e0198cca99’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_6ba006ee4de821d1551fc393b7b06afa9edf2228' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_f21086abd6b52dec0c100d8f3bdba61c0385d7a8’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_2f57c5e68ed29ef33f4c5572fed5fede5018d8ce' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_5d027e1c02f482d56e8b4cfda6e698ea21e3f4f0’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d7cec3246920b68994bd506e1e1cce8e5b4de08d' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a5f17eca892da81fe9af8b1044cefbf5c4712892’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_c6c38ab3efeb2c99c30edef99bf9a03023e1c3df' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a7f669f27f3e04f23acd3029638085e3f63f036a’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_372f37b2adf8f92855c2145913ae0728c3767216' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_2bcf7ab122a0846b61ba44de8cb9231b638ec71c’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaGetInputTensorDescriptor' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_e8a7a0db3ebbe468cfa37ce010fb1e02da81f884’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_969afd5becba1d645949e5aaef22a6a78610aa68' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_7dd19df5602cca0fd1e520f05e70770e1755144b’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ea05897d7160fbb4f43837c59684ca578cf6964e' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to getPluginRegistry’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a6fb6d41557775b97ba0848c6f6bb02dce2014a2' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_00547e5fe936f7c288116342df91a475849e4f9f’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d38f6d2dcf9456169fa0d698ffc7069c56e0bb08' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_9efe1172b6455bc52ea7405ee78c82abdab3a3a2’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to nvcaffeparser1::createCaffeParser()' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_fa44a616321f114fc533060eaa0eb0d220a4481d’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a64fe3a7bef6d19f54c78cac732789c08bb87796' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_819431a004f3f8cb9d3d1883d5d084ea612d0592’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_463c219ec15414d76f534108bb20381728c676d3' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ab5b7902fea0052608a9637673401a6f7d114c75’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDataUnregister' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_02a076e6f02a934e90b601e7807cd702e588349d’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_c6c8ec8541284335e930e522a52d3427bcfdae84' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_9d16d65452ce1701ad13b0e607898b654cf25b0c’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_229da1670bd74ee9be8113416b7acb0a925cadb9' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d1b87e1769dc650670cad8b631d3add1b2081442’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_454f044991ed8e28815af4ac095372f31abd18e7' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_8acac446f1bda5e3417b5f045f53ddf75e0a8ce7’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_937bd515b42cf424499ca9ea3f54a753ace1962e' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_b43a20e66ba85514e3e11b42e93e8ed5bbd2713d’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_c377882e4d42544bad434598d424c272fed586ca' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_6b5aefeb3b85cdaf7ab5a069ab7f37f644ef999e’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ca5610272119c0048e37814e163fa58c478c7ced' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ab1977cbf5d0c54a4a7d6c34f440d8f82c1be578’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_f1e97b116d8990317297c39a96ad8be470df6d2b' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_85ec2bc7f7567222c5936a75bd20c83bc074fa1d’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_c2b129e872455ab37fc9e600efc603491de6e130' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaGetOutputTensorDescriptor’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_50a12bd61692804f512a608325a2dc2b36f04e9b' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_5b87c7d0b8a212a591ec7a94f1ac3ece5f01d559’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_e1afe7ebf4cec37f541e8d97a5f30e7d484556f6' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_b7c9770299720147ec96b06960e63933b9b299b5’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_106e61259acd70ad7b2cae6e0b6089b723ab33e9' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_bc5bbc972f51131b9ab6e83bfe16b5aa053eeb54’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a6fb743084cd9b24c787ec88c643847e09ef03e5' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_f1d7178a1842a97f6e75e35501ccd159777600ae’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a6e8f33aa6f2e1bb1d65dde061f17b9e488e2571' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_c8071be7588b007e356d952c4a37a6f9ac934596’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaInit' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_e955973b4d8834a2e7c35211baa09ae8e10830a0’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ec3dcf9da15cf3bb0a4f888857c9fc02c9b854c7' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to getInferLibVersion’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_34967e61878c8db9f7b6f96d60dbd4928c9ca327' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_30711c6aa784c9ac0d5e1174c81484c93f34a50b’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to nvuffparser::createUffParser()' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaSubmit’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_12d97e2928600f58bfb8b69c8de0a6e45de69af8' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_20e32587ed00c790a0e61008e1f448076c09e2d6’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_40b3b244206a12afcc9b442710d4da022bc32eb3' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaRemoveLoadable’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadLoadable' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_951ec259d363772efbbb6e8070a306d388465efd’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_3c8a7631fa4c85ce64ff869e371aadf84730c187' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_b896057abfcbb5f1cb2ce98461b88ddb5d88c861’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_f64fe9c06fc5e213fa940e0057bf0c2848a3f535' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_cf5be973ae13d00898d52f0d0151edd89b5cedf5’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_89b527d894f9df32090ee7c84896d691ad3a7eb8' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_7b0e57d84978af5465e9de5b2972e7d268e41cab’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_454c1942f2b31593e67bdd0e388858a148e6a7e3’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_f68ee28c150cf41e67046df336d11cb64c9c5b8b' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_56b35877c954a1297719aa7d497aa11bdca52cf0’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ffdf76a03b250674eb675c50f80ded3ae52ffb1e' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_ab300d8db583f975e0b2101ebb03374e2977ada7’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_fa646a461748a67d3b15bb3802ddb10250291848' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d7816ba52237713fdfac51b47226b1c0f74d34f9’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_eca467d6a49f1deed5478c434f7d5e0a0415369e' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_b88baedd78eeb7275f37e8b52b2b4b4ccf8968d4’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaAppendLoadable' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_1f34c0bf647e6281367d31585ceafd4a36fd1b73’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_e5cbfc8e913f2fef33506c5bca6d2bfc5c86a0f7' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_084096ea790fcedf6f30452cb250d2722714e44f’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d69b5f541bbb3284f2c53fc533d5ce48d51da2ca' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaGetNumEngines’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to createInferBuilder_INTERNAL' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_80162a0b681f5e543bd7adbf4c735522cb119fb1’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_acb7f7ed07d5600747d6a4f542a449d936e9cddd’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_e2fd5e130e8eb761aa9009dbf3e5df7cce8e5d68' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to getLogger’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_fe6ed79d5c7acfc43b35f5f5c25e30b6a803111d' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_3738419634026eab369c1b680bfcc77e942fce95’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_2738118faabec9c6e4b25532ccb6e2297860d0d9' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_05dc5382a9abf5dc3611d7eef10d1f0a81a19b4f’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_72cdce76a85a3cf6eb864127abf67094bd62e6ea' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_2695118a1284c7411f71bd9aed9e10bca813ea06’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a1f9f3b1039d7dabda90e315816819dc0a914c48' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_93270834ffbc9fff49820780cf867cff92a9e929’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadableDestroy' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_22d88f7fdb24e17023d266e9dbaa89522a2f2fdd’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_4e1ca59fdc81e9db475bb36295743b2350ed080c' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_c95e742e8a04f4d86f25f01f7957887e1ee96613’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_4351e2a6cd8571c9941a2a4dd6dea29690c05196' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d9970ddf0c894c134f5a2705cac91dfc50c4a32b’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_9180c29d4e06c29f97f09c6801bf46615e33f021' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaSetCurrentLoadable’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_ae45aeb5e020592cdd7ca76e96c15e66b30b35e0' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_082f38cba9f301e44d2d95ea2f56e28dfe9fc45d’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_79ea9d1a10558bf32adf7064f4c6a9e9e0b28ac0' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_12e47b05cd610533de63448e0adc859a69381918’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_98eb81a3c9a42959b9bd57ac82932518a05dd155' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_f233d03a7cfa42052ebada6739de9c1691a84655’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_503acb6709372f1f3b831d7ef524f2cb9baef0d7' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a13b5af7a6feb1bcd229fec23035ac9518f3b58a’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_24655c209cd2cfaf6998712abd862526e1587074' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_5ca8ee3bfb38804eea39e17a6c30e79c3b27cb2b’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so: undefined reference to dw_e08cc6c439e1f1a1e3ac0b665a459f6715deb174' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_a835013a1100f5298083970ce95dbdd7545c1c07’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to createNvOnnxParser_INTERNAL' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_0ba5b35d73d378cb1d39950f0e8dead9690a94cc’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDataRegister' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_e1cc1ec90626a20c44b50f5a07c43b98e055938f’
/usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_d4b88e3d9874aad0034957d608ac4ad1f9abd474' /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to dw_2f0f7249bd06f6b2b7802faa00cb939ce4a06d5e’
collect2: error: ld returned 1 exit status
src/egomotion/CMakeFiles/sample_egomotion.dir/build.make:175: recipe for target ‘src/egomotion/CMakeFiles/CMakeRelink.dir/sample_egomotion’ failed
make[2]: *** [src/egomotion/CMakeFiles/CMakeRelink.dir/sample_egomotion] Error 1
CMakeFiles/Makefile2:1825: recipe for target ‘src/egomotion/CMakeFiles/sample_egomotion.dir/preinstall’ failed
make[1]: *** [src/egomotion/CMakeFiles/sample_egomotion.dir/preinstall] Error 2
Makefile:166: recipe for target ‘preinstall’ failed
make: *** [preinstall] Error 2

Dear @rajkumar.palanisamy ,
Could you confirm if make command is worked and able to generate all executables? If so, you can copy the binary to target and set LD_LIBRARY_PATH to include all required libs in path and check executing.

I have tested below things on my machine following the instructions from DriveWorks SDK Reference: Cross-Compiling for the NVIDIA DRIVE Platform (Linux). I am able to generate cross compiled executables with out any issue on host. Could you check the same commands and share CMake output and make output for understanding.

> mkdir ~/driveworks-cross/
> cd ~/driveworks-cross/
> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-3.5/samples/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/sindarapu/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux -DTRT_VERSION:STRING=6.3.1.3 /usr/local/driveworks-3.5/samples
> make -j12
> make install

Hi,
We were able make and generate executables using the above mentioned commands.

agx-pegasus@agx-pegasus:/usr/local/driveworks-3.5/samples$ sudo cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-3.5/samples/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux -DTRT_VERSION:STRING=6.3.1.3 /usr/local/driveworks-3.5/samples
– VIBRANTE_PDK = /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux
– Vibrante version 5.2.0.0
– Found /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so:
– - Includes: [/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/include]
– - Libraries: [/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so]
– Found: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libdrm.so
– Header at: /home/agx-pegasus/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)
– VIBRANTE_PDK_BRANCH = 5.2.0.0
– Found vibrante lib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante/lib/libudev.so
– Found vibrante lib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante/lib/libusb-1.0.so
– Found vibrante_Xlib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXcursor.so
– Driveworks Samples install dir: /usr/local
– Found ‘dw/core/Version.h’ in /usr/local/driveworks-3.5/targets/aarch64-Linux/include
– Found driveworks library in /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so
– Found ‘dwvisualization/core/Visualization.h’ in /usr/local/driveworks-3.5/targets/aarch64-Linux/include
– Found driveworks_visualization library in /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so
– Configuring done
– Generating done
– Build files have been written to: /usr/local/driveworks-3.5/samples
agx-pegasus@agx-pegasus:/usr/local/driveworks-3.5/samples$ sudo make -j12
[ 1%] Built target samples_framework_nocuda
[ 1%] Built target create-data-symlink
[ 1%] Built target lodepng-src
[ 2%] Built target samples_allocator
[ 4%] Built target sample_imu_plugin
[ 5%] Built target sample_gps_plugin
[ 6%] Built target sample_can_plugin
[ 13%] Built target glfw-x11
[ 14%] Built target glfw-src
[ 23%] Built target samples_framework
[ 26%] Built target sample_gps_logger
[ 27%] Built target sample_sensors_info
[ 28%] Built target sample_imu_logger
[ 30%] Built target sample_canbus_interpreter
[ 31%] Built target sample_canbus_logger
[ 33%] Built target sample_egomotion
[ 35%] Built target sample_camera_seek
[ 36%] Built target sample_record
[ 37%] Built target sample_camera_replay
[ 39%] Built target sample_radar_replay
[ 41%] Built target sample_timesensor
[ 42%] Built target sample_lidar_replay
[ 43%] Built target sample_datasensor
[ 44%] Built target sample_camera
[ 45%] Built target sample_camera_usb
[ 47%] Built target sample_cameraserver_client_raw
[ 48%] Built target sample_cameraserver_client
[ 49%] Built target sample_template_tracker
[ 50%] Built target sample_feature_tracker
[ 51%] Built target sample_connected_components
[ 53%] Built target sample_color_correction
[ 55%] Built target sample_stereo_disparity
[ 57%] Built target sample_stereo_disparity_pva
[ 59%] Built target sample_video_rectifier
[ 60%] Built target sample_sfm
[ 61%] Built target dnn_pool_plugin
[ 62%] Built target sample_imagetransformation
[ 63%] Built target sample_rig
[ 65%] Built target sample_renderer
[ 67%] Built target sample_object_detector_tracker
[ 69%] Built target sample_image_pyramid_pva
[ 70%] Built target sample_fast9_feature_detector
[ 71%] Built target sample_render_engine
[ 73%] Built target sample_denseopticalflow
[ 75%] Built target sample_socket_ipc_clientserver
[ 75%] Built target sample_dnn_tensor
[ 76%] Built target dw_samples_image_common
[ 78%] Built target sample_hello_world
[ 79%] Built target sample_template
[ 81%] Built target sample_calibration_imu
[ 81%] Built target sample_icp
[ 82%] Built target sample_calibration_radar
[ 84%] Built target sample_calibration_camera
[ 85%] Built target sample_calibration_steering
[ 87%] Built target sample_calibration_lidar
[ 88%] Built target sample_vehicleio_plugin
[ 90%] Built target sample_calibration_stereo
[ 92%] Built target sample_dataspeedBridge
[ 93%] Built target sample_vehicleio
[ 94%] Built target sample_dnn_plugin
[ 95%] Built target sample_pointcloudprocessing
[ 97%] Built target sample_image_capture
[ 97%] Built target sample_image_streamer_cross
[ 99%] Built target sample_image_streamer_simple
[100%] Built target sample_image_streamer_multi

We included required LD_LIBRARY_PATH in makefile. But still we getting same linker issue while installing it.

Dear @rajkumar.palanisamy ,
This is strange. Could you please create a seperate build directory in $HOME and share the logs. I notice few differences in cmake outputlog compared to mine.

Hi,
I created build directory in home but im getting same cmake output logs as before.

Dear @rajkumar.palanisamy ,
I don’t see any object building, linking in make -j12 log.
Can you double check if the generated executable are of aach64 type?
If you have got aarch64 executable, Could you check copying the DW executable to target and see if it is working without any issue. You would notice executable corresponding to each sample at <build_dir>/src/.

Thanks,
I dont know what was the issue. I have reinstalled the driveworks and followed the above steps. I was able to build and install sucessfully.

agx-pegasus@agx-pegasus:~/build$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-3.5/samples/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux -DTRT_VERSION:STRING=6.3.1.3 /usr/local/driveworks-3.5/samples
– VIBRANTE_PDK = /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux
– VIBRANTE_PDK_DEVICE = t186ref
– VIBRANTE_PDK_BRANCH = 5.2.0.0
– Vibrante version 5.2.0.0
– VIBRANTE_PDK = /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux
– Vibrante version 5.2.0.0
– The C compiler identification is GNU 7.3.1
– The CXX compiler identification is GNU 7.3.1
– Check for working C compiler: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/…/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc
– Check for working C compiler: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/…/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc - works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/…/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++
– Check for working CXX compiler: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/…/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ - works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– The CUDA compiler identification is NVIDIA 10.2.187
– Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
– Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - works
– Detecting CUDA compiler ABI info
– Detecting CUDA compiler ABI info - done
– Detecting CUDA compile features
– Detecting CUDA compile features - done
– Found PkgConfig: /usr/bin/pkg-config (found version “0.29.1”)
– Found EGL: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so
– Found /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so:
– - Includes: [/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/include]
– - Libraries: [/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libEGL.so]
– Found: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libdrm.so
– Header at: /home/agx-pegasus/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
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– 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)
– Found X11: /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/include
– Looking for XOpenDisplay in /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libX11.so;/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libXext.so
– Looking for XOpenDisplay in /home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libX11.so;/home/agx-pegasus/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/lib-target/libXext.so - found
– Looking for gethostbyname
– Looking for gethostbyname - found
– Looking for connect
– Looking for connect - found
– Looking for remove
– Looking for remove - found
– Looking for shmat
– Looking for shmat - found
– VIBRANTE_PDK_BRANCH = 5.2.0.0
– Found vibrante lib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante/lib/libudev.so
– Found vibrante lib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante/lib/libusb-1.0.so
– Found vibrante_Xlib: /usr/local/driveworks-3.5/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXcursor.so
– Driveworks Samples install dir: /home/agx-pegasus/driveworks-cross/install
– Found ‘dw/core/Version.h’ in /usr/local/driveworks-3.5/targets/aarch64-Linux/include
– Found driveworks library in /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks.so
– Found ‘dwvisualization/core/Visualization.h’ in /usr/local/driveworks-3.5/targets/aarch64-Linux/include
– Found driveworks_visualization library in /usr/local/driveworks-3.5/targets/aarch64-Linux/lib/libdriveworks_visualization.so
– Configuring done
– Generating done
– Build files have been written to: /home/agx-pegasus/driveworks-cross

Hi,
I was able to run cross-compiled samples in the target system inside the /usr/local/driveworks/bin folder. there was a issue when i try to run in the host system.

-pegasus@agx-pegasus:~/driveworks-cross/install/bin$ ./sample_egomotion
/lib/ld-linux-aarch64.so.1: No such file or directory

  1. can i run the examples which i have compiled for arm64 in my host system ?
  2. In target system, if i want to run the my samples in my home directory instead of using in /usr/local/driveworks/bin what steps do i need to follow to include path for libraries?

Dear @rajkumar.palanisamy,
The executable is generated for aarch64 and not expected to work on host system. For getting DW sample executables on host please follow instructions at DriveWorks SDK Reference: Building for the Linux Host System . Please file a new topic in case you have any issue