Cross compile failure

Having followed the instructions in “building the samples” in the driveWorks SDK reference document,
I have used the following cross compile:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-1.2/samples/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/test/NVIDIA/Drive/5050bL_SDK/DriveSDK/drive-t186ref-linux
/drive-t186ref-linux /usr/local/driveworks/samples
which generated build files succesfully to /usr/local/driveworks-1.2/samples/release.
Then I used:
make -j
It created following errors:
test@test-Inspiron-3542:/usr/local/driveworks/samples/release$ sudo make -j
[ 2%] Built target lodepng-src
[ 4%] Built target update_cuda_deps
[ 14%] Built target glfw
[ 25%] Built target dw_samples_framework
[ 26%] Linking CXX executable sample_gps_logger
[ 27%] Linking CXX executable sample_vehicleio
[ 28%] Linking CXX executable sample_canbus_logger
[ 28%] Linking CXX executable sample_record
[ 29%] Linking CXX executable sample_hello_world
[ 28%] Linking CXX executable sample_lane_detection
[ 29%] Linking CXX executable sample_canbus_interpreter
[ 30%] Linking CXX executable sample_icp
[ 31%] Linking CXX executable sample_camera_multiple_gmsl
[ 32%] Linking CXX executable sample_freespace_detection
[ 32%] Linking CXX executable sample_ipc_socketclientserver
[ 32%] Linking CXX executable sample_calibration_imu
[ 33%] Linking CXX executable sample_camera_replay
[ 34%] Linking CXX executable sample_imu_logger
[ 35%] Linking CXX executable sample_sensors_info
[ 35%] Linking CXX executable sample_mapaccess
[ 35%] Linking CXX executable sample_egomotion
[ 36%] Linking CXX executable sample_camera_gmsl_raw
[ 41%] Linking CXX executable sample_occupancy_grid
[ 40%] Linking CXX executable sample_camera_seek
[ 47%] Linking CXX executable sample_drivenet
[ 47%] Linking CXX executable sample_calibration_lidar
[ 47%] Linking CXX executable sample_object_tracker
[ 47%] Linking CXX executable sample_camera_scaling_tracker
[ 42%] Linking CXX executable sample_rig_configuration
[ 41%] Linking CXX executable sample_object_detector
[ 41%] Linking CXX executable sample_camera_gmsl
[ 47%] Linking CXX executable sample_radar_replay
[ 41%] Linking CXX executable sample_lidar_accumulator
[ 46%] Linking CXX executable sample_camera_usb
[ 44%] Linking CXX executable sample_color_correction
[ 45%] Built target dw_samples_image_common
[ 45%] Linking CXX executable sample_template
[ 47%] Linking CXX executable sample_render_engine
[ 47%] Linking CXX executable sample_camera_tracker
[ 48%] Linking CXX executable sample_maptracker
[ 47%] Linking CXX executable sample_calibration_camera
[ 47%] Linking CXX executable sample_lidar_replay
[ 49%] Linking CXX executable sample_blindness_detection
[ 49%] Linking CXX executable sample_drivenetNcameras
[ 49%] Linking CXX executable sample_laneplanner
[ 51%] Built target dw_samples_stereo_common
[ 51%] Linking CXX executable sample_video_rectifier
[ 52%] Linking CXX executable sample_renderer
Scanning dependencies of target sample_image_streamer_multi
[ 53%] Linking CXX executable sample_sfm
[ 54%] Linking CXX executable sample_dataspeedBridge
Scanning dependencies of target sample_stereo_rectifier
Scanning dependencies of target sample_image_streamer_cross
Scanning dependencies of target sample_image_capture
Scanning dependencies of target sample_image_streamer_simple
Scanning dependencies of target sample_stereo_disparity
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status src/sensors/record/CMakeFiles/sample_record.dir/build.make:110: recipe for target 'src/sensors/record/sample_record' failed make[2]: *** [src/sensors/record/sample_record] Error 1 CMakeFiles/Makefile2:757: recipe for target 'src/sensors/record/CMakeFiles/sample_record.dir/all' failed make[1]: *** [src/sensors/record/CMakeFiles/sample_record.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status src/sensors/gps/CMakeFiles/sample_gps_logger.dir/build.make:110: recipe for target 'src/sensors/gps/sample_gps_logger' failed src/hello_world/CMakeFiles/sample_hello_world.dir/build.make:110: recipe for target 'src/hello_world/sample_hello_world' failed make[2]: *** [src/hello_world/sample_hello_world] Error 1 CMakeFiles/Makefile2:2071: recipe for target 'src/hello_world/CMakeFiles/sample_hello_world.dir/all' failed make[1]: *** [src/hello_world/CMakeFiles/sample_hello_world.dir/all] Error 2 make[2]: *** [src/sensors/gps/sample_gps_logger] Error 1 CMakeFiles/Makefile2:529: recipe for target 'src/sensors/gps/CMakeFiles/sample_gps_logger.dir/all' failed make[1]: *** [src/sensors/gps/CMakeFiles/sample_gps_logger.dir/all] Error 2 /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
src/ipc/CMakeFiles/sample_ipc_socketclientserver.dir/build.make:110: recipe for target ‘src/ipc/sample_ipc_socketclientserver’ failed
make[2]: *** [src/ipc/sample_ipc_socketclientserver] Error 1
CMakeFiles/Makefile2:2014: recipe for target ‘src/ipc/CMakeFiles/sample_ipc_socketclientserver.dir/all’ failed
make[1]: *** [src/ipc/CMakeFiles/sample_ipc_socketclientserver.dir/all] Error 2
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status src/sensors/lidar/lidar_replay/CMakeFiles/sample_lidar_replay.dir/build.make:136: recipe for target 'src/sensors/lidar/lidar_replay/sample_lidar_replay' failed make[2]: *** [src/sensors/lidar/lidar_replay/sample_lidar_replay] Error 1 CMakeFiles/Makefile2:928: recipe for target 'src/sensors/lidar/lidar_replay/CMakeFiles/sample_lidar_replay.dir/all' failed make[1]: *** [src/sensors/lidar/lidar_replay/CMakeFiles/sample_lidar_replay.dir/all] Error 2 /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
src/renderer/CMakeFiles/sample_renderer.dir/build.make:110: recipe for target ‘src/renderer/sample_renderer’ failed
make[2]: *** [src/renderer/sample_renderer] Error 1
CMakeFiles/Makefile2:1537: recipe for target ‘src/renderer/CMakeFiles/sample_renderer.dir/all’ failed
make[1]: *** [src/renderer/CMakeFiles/sample_renderer.dir/all] Error 2
[ 55%] Building CXX object src/image/image_streamer_multi/CMakeFiles/sample_image_streamer_multi.dir/main.cpp.o
[ 56%] Building CXX object src/stereo/stereoRectifier/CMakeFiles/sample_stereo_rectifier.dir/main.cpp.o
[ 56%] Building CXX object src/image/image_streamer_cross_process/CMakeFiles/sample_image_streamer_cross.dir/main.cpp.o
[ 56%] Building CXX object src/image/image_capture/CMakeFiles/sample_image_capture.dir/main.cpp.o
[ 57%] Building CXX object src/image/image_streamer_simple/CMakeFiles/sample_image_streamer_simple.dir/main.cpp.o
[ 57%] Building CXX object src/stereo/disparity/CMakeFiles/sample_stereo_disparity.dir/main.cpp.o
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/sensors/canbus/interpreter/CMakeFiles/sample_canbus_interpreter.dir/build.make:136: recipe for target ‘src/sensors/canbus/interpreter/sample_canbus_interpreter’ failed
make[2]: *** [src/sensors/canbus/interpreter/sample_canbus_interpreter] Error 1
CMakeFiles/Makefile2:871: recipe for target ‘src/sensors/canbus/interpreter/CMakeFiles/sample_canbus_interpreter.dir/all’ failed
make[1]: *** [src/sensors/canbus/interpreter/CMakeFiles/sample_canbus_interpreter.dir/all] Error 2
src/sensors/info/CMakeFiles/sample_sensors_info.dir/build.make:110: recipe for target ‘src/sensors/info/sample_sensors_info’ failed
make[2]: *** [src/sensors/info/sample_sensors_info] Error 1
CMakeFiles/Makefile2:472: recipe for target ‘src/sensors/info/CMakeFiles/sample_sensors_info.dir/all’ failed
make[1]: *** [src/sensors/info/CMakeFiles/sample_sensors_info.dir/all] Error 2
src/sensors/canbus/logger/CMakeFiles/sample_canbus_logger.dir/build.make:110: recipe for target ‘src/sensors/canbus/logger/sample_canbus_logger’ failed
make[2]: *** [src/sensors/canbus/logger/sample_canbus_logger] Error 1
CMakeFiles/Makefile2:814: recipe for target ‘src/sensors/canbus/logger/CMakeFiles/sample_canbus_logger.dir/all’ failed
make[1]: *** [src/sensors/canbus/logger/CMakeFiles/sample_canbus_logger.dir/all] Error 2
src/dnn/sample_object_detector/CMakeFiles/sample_object_detector.dir/build.make:110: recipe for target ‘src/dnn/sample_object_detector/sample_object_detector’ failed
make[2]: *** [src/dnn/sample_object_detector/sample_object_detector] Error 1
CMakeFiles/Makefile2:1729: recipe for target ‘src/dnn/sample_object_detector/CMakeFiles/sample_object_detector.dir/all’ failed
make[1]: *** [src/dnn/sample_object_detector/CMakeFiles/sample_object_detector.dir/all] Error 2
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
localcollect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/mapping/occupancy_grid/CMakeFiles/sample_occupancy_grid.dir/build.make:110: recipe for target ‘src/mapping/occupancy_grid/sample_occupancy_grid’ failed
make[2]: *** [src/mapping/occupancy_grid/sample_occupancy_grid] Error 1
CMakeFiles/Makefile2:1423: recipe for target ‘src/mapping/occupancy_grid/CMakeFiles/sample_occupancy_grid.dir/all’ failed
make[1]: *** [src/mapping/occupancy_grid/CMakeFiles/sample_occupancy_grid.dir/all] Error 2
src/sensors/imu/CMakeFiles/sample_imu_logger.dir/build.make:110: recipe for target ‘src/sensors/imu/sample_imu_logger’ failed
make[2]: *** [src/sensors/imu/sample_imu_logger] Error 1
CMakeFiles/Makefile2:586: recipe for target ‘src/sensors/imu/CMakeFiles/sample_imu_logger.dir/all’ failed
make[1]: *** [src/sensors/imu/CMakeFiles/sample_imu_logger.dir/all] Error 2
src/features/camera_tracker/CMakeFiles/sample_camera_tracker.dir/build.make:110: recipe for target ‘src/features/camera_tracker/sample_camera_tracker’ failed
make[2]: *** [src/features/camera_tracker/sample_camera_tracker] Error 1
CMakeFiles/Makefile2:1291: recipe for target ‘src/features/camera_tracker/CMakeFiles/sample_camera_tracker.dir/all’ failed
make[1]: *** [src/features/camera_tracker/CMakeFiles/sample_camera_tracker.dir/all] Error 2
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
src/rigconfiguration/CMakeFiles/sample_rig_configuration.dir/build.make:110: recipe for target ‘src/rigconfiguration/sample_rig_configuration’ failed
make[2]: *** [src/rigconfiguration/sample_rig_configuration] Error 1
CMakeFiles/Makefile2:1480: recipe for target ‘src/rigconfiguration/CMakeFiles/sample_rig_configuration.dir/all’ failed
make[1]: *** [src/rigconfiguration/CMakeFiles/sample_rig_configuration.dir/all] Error 2
src/freespace/CMakeFiles/sample_freespace_detection.dir/build.make:110: recipe for target ‘src/freespace/sample_freespace_detection’ failed
make[2]: *** [src/freespace/sample_freespace_detection] Error 1
CMakeFiles/Makefile2:2644: recipe for target ‘src/freespace/CMakeFiles/sample_freespace_detection.dir/all’ failed
make[1]: *** [src/freespace/CMakeFiles/sample_freespace_detection.dir/all] Error 2
src/rectifier/CMakeFiles/sample_video_rectifier.dir/build.make:110: recipe for target ‘src/rectifier/sample_video_rectifier’ failed
make[2]: *** [src/rectifier/sample_video_rectifier] Error 1
CMakeFiles/Makefile2:1957: recipe for target ‘src/rectifier/CMakeFiles/sample_video_rectifier.dir/all’ failed
make[1]: *** [src/rectifier/CMakeFiles/sample_video_rectifier.dir/all] Error 2
src/render_engine/CMakeFiles/sample_render_engine.dir/build.make:110: recipe for target ‘src/render_engine/sample_render_engine’ failed
make[2]: *** [src/render_engine/sample_render_engine] Error 1
CMakeFiles/Makefile2:1594: recipe for target ‘src/render_engine/CMakeFiles/sample_render_engine.dir/all’ failed
make[1]: *** [src/render_engine/CMakeFiles/sample_render_engine.dir/all] Error 2
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status src/cameraBlindness/CMakeFiles/sample_blindness_detection.dir/build.make:110: recipe for target 'src/cameraBlindness/sample_blindness_detection' failed make[2]: *** [src/cameraBlindness/sample_blindness_detection] Error 1 CMakeFiles/Makefile2:3202: recipe for target 'src/cameraBlindness/CMakeFiles/sample_blindness_detection.dir/all' failed make[1]: *** [src/cameraBlindness/CMakeFiles/sample_blindness_detection.dir/all] Error 2 collect2: error: ld returned 1 exit status src/calibration/imu/CMakeFiles/sample_calibration_imu.dir/build.make:110: recipe for target 'src/calibration/imu/sample_calibration_imu' failed make[2]: *** [src/calibration/imu/sample_calibration_imu] Error 1 CMakeFiles/Makefile2:3340: recipe for target 'src/calibration/imu/CMakeFiles/sample_calibration_imu.dir/all' failed make[1]: *** [src/calibration/imu/CMakeFiles/sample_calibration_imu.dir/all] Error 2 collect2: error: ld returned 1 exit status /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/build.make:214: recipe for target ‘src/maps/laneplanner/sample_laneplanner’ failed
make[2]: *** [src/maps/laneplanner/sample_laneplanner] Error 1
CMakeFiles/Makefile2:2860: recipe for target ‘src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/all’ failed
make[1]: *** [src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/all] Error 2
src/calibration/camera/CMakeFiles/sample_calibration_camera.dir/build.make:110: recipe for target ‘src/calibration/camera/sample_calibration_camera’ failed
make[2]: *** [src/calibration/camera/sample_calibration_camera] Error 1
CMakeFiles/Makefile2:3283: recipe for target ‘src/calibration/camera/CMakeFiles/sample_calibration_camera.dir/all’ failed
make[1]: *** [src/calibration/camera/CMakeFiles/sample_calibration_camera.dir/all] Error 2
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local//usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined driveworksreference- 1.2to/ targets/NvMediaDlaCreateaarch64’-
Linux//libusr//libdriveworks.solocal/:driveworks undefined-1.2 reference/targets to/ aarch64-NvMediaDlaCreateLinux/'lib //libdriveworks.sousr:/local /undefineddriveworks reference- 1.2to/ targets/NvMediaDlaDestroyaarch64’-
Linux//usrlib//locallibdriveworks.so/:driveworks -undefined1.2 /referencetargets /toaarch64 -LinuxNvMediaDlaDestroy/'lib //libdriveworks.sousr:/ localundefined/ driveworksreference- 1.2to/ targets/NvMediaDlaLoadFromMemoryaarch64’-
Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/drivenet/drivenet_ncameras/CMakeFiles/sample_drivenetNcameras.dir/build.make:113: recipe for target ‘src/drivenet/drivenet_ncameras/sample_drivenetNcameras’ failed
make[2]: *** [src/drivenet/drivenet_ncameras/sample_drivenetNcameras] Error 1
src/sensors/camera_gmsl_raw/CMakeFiles/sample_camera_gmsl_raw.dir/build.make:110: recipe for target ‘src/sensors/camera_gmsl_raw/sample_camera_gmsl_raw’ failed
src/dnn/sample_object_tracker/CMakeFiles/sample_object_tracker.dir/build.make:110: recipe for target ‘src/dnn/sample_object_tracker/sample_object_tracker’ failed
make[2]: *** [src/dnn/sample_object_tracker/sample_object_tracker] Error 1
make[2]: *** [src/sensors/camera_gmsl_raw/sample_camera_gmsl_raw] Error 1
src/sensors/camera_seek/CMakeFiles/sample_camera_seek.dir/build.make:110: recipe for target ‘src/sensors/camera_seek/sample_camera_seek’ failed
CMakeFiles/Makefile2:2779: recipe for target ‘src/drivenet/drivenet_ncameras/CMakeFiles/sample_drivenetNcameras.dir/all’ failed
make[1]: *** [src/drivenet/drivenet_ncameras/CMakeFiles/sample_drivenetNcameras.dir/all] Error 2
make[2]: *** [src/sensors/camera_seek/sample_camera_seek] Error 1
CMakeFiles/Makefile2:1156: recipe for target ‘src/sensors/camera_gmsl_raw/CMakeFiles/sample_camera_gmsl_raw.dir/all’ failed
make[1]: *** [src/sensors/camera_gmsl_raw/CMakeFiles/sample_camera_gmsl_raw.dir/all] Error 2
CMakeFiles/Makefile2:1786: recipe for target ‘src/dnn/sample_object_tracker/CMakeFiles/sample_object_tracker.dir/all’ failed
make[1]: *** [src/dnn/sample_object_tracker/CMakeFiles/sample_object_tracker.dir/all] Error 2
CMakeFiles/Makefile2:700: recipe for target ‘src/sensors/camera_seek/CMakeFiles/sample_camera_seek.dir/all’ failed
make[1]: *** [src/sensors/camera_seek/CMakeFiles/sample_camera_seek.dir/all] Error 2
src/sensors/radar/radar_replay/CMakeFiles/sample_radar_replay.dir/build.make:110: recipe for target ‘src/sensors/radar/radar_replay/sample_radar_replay’ failed
make[2]: *** [src/sensors/radar/radar_replay/sample_radar_replay] Error 1
CMakeFiles/Makefile2:985: recipe for target ‘src/sensors/radar/radar_replay/CMakeFiles/sample_radar_replay.dir/all’ failed
make[1]: *** [src/sensors/radar/radar_replay/CMakeFiles/sample_radar_replay.dir/all] Error 2
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/features/camera_scaling_tracker/CMakeFiles/sample_camera_scaling_tracker.dir/build.make:110: recipe for target ‘src/features/camera_scaling_tracker/sample_camera_scaling_tracker’ failed
make[2]: *** [src/features/camera_scaling_tracker/sample_camera_scaling_tracker] Error 1
CMakeFiles/Makefile2:1348: recipe for target ‘src/features/camera_scaling_tracker/CMakeFiles/sample_camera_scaling_tracker.dir/all’ failed
make[1]: *** [src/features/camera_scaling_tracker/CMakeFiles/sample_camera_scaling_tracker.dir/all] Error 2
src/laneDetection/CMakeFiles/sample_lane_detection.dir/build.make:110: recipe for target ‘src/laneDetection/sample_lane_detection’ failed
make[2]: *** [src/laneDetection/sample_lane_detection] Error 1
CMakeFiles/Makefile2:1843: recipe for target ‘src/laneDetection/CMakeFiles/sample_lane_detection.dir/all’ failed
make[1]: *** [src/laneDetection/CMakeFiles/sample_lane_detection.dir/all] Error 2
src/lidar_accumulator/CMakeFiles/sample_lidar_accumulator.dir/build.make:110: recipe for target ‘src/lidar_accumulator/sample_lidar_accumulator’ failed
make[2]: *** [src/lidar_accumulator/sample_lidar_accumulator] Error 1
CMakeFiles/Makefile2:3145: recipe for target ‘src/lidar_accumulator/CMakeFiles/sample_lidar_accumulator.dir/all’ failed
make[1]: *** [src/lidar_accumulator/CMakeFiles/sample_lidar_accumulator.dir/all] Error 2
src/colorcorrection/CMakeFiles/sample_color_correction.dir/build.make:110: recipe for target ‘src/colorcorrection/sample_color_correction’ failed
make[2]: *** [src/colorcorrection/sample_color_correction] Error 1
CMakeFiles/Makefile2:1900: recipe for target ‘src/colorcorrection/CMakeFiles/sample_color_correction.dir/all’ failed
make[1]: *** [src/colorcorrection/CMakeFiles/sample_color_correction.dir/all] Error 2
src/sensors/camera_multiple_gmsl/CMakeFiles/sample_camera_multiple_gmsl.dir/build.make:110: recipe for target ‘src/sensors/camera_multiple_gmsl/sample_camera_multiple_gmsl’ failed
make[2]: *** [src/sensors/camera_multiple_gmsl/sample_camera_multiple_gmsl] Error 1
CMakeFiles/Makefile2:1099: recipe for target ‘src/sensors/camera_multiple_gmsl/CMakeFiles/sample_camera_multiple_gmsl.dir/all’ failed
make[1]: *** [src/sensors/camera_multiple_gmsl/CMakeFiles/sample_camera_multiple_gmsl.dir/all] Error 2
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/sensors/camera_replay/CMakeFiles/sample_camera_replay.dir/build.make:110: recipe for target ‘src/sensors/camera_replay/sample_camera_replay’ failed
src/dataspeedBridge/CMakeFiles/sample_dataspeedBridge.dir/build.make:110: recipe for target ‘src/dataspeedBridge/sample_dataspeedBridge’ failed
make[2]: *** [src/sensors/camera_replay/sample_camera_replay] Error 1
make[2]: *** [src/dataspeedBridge/sample_dataspeedBridge] Error 1
CMakeFiles/Makefile2:643: recipe for target ‘src/sensors/camera_replay/CMakeFiles/sample_camera_replay.dir/all’ failed
make[1]: *** [src/sensors/camera_replay/CMakeFiles/sample_camera_replay.dir/all] Error 2
CMakeFiles/Makefile2:3511: recipe for target ‘src/dataspeedBridge/CMakeFiles/sample_dataspeedBridge.dir/all’ failed
make[1]: *** [src/dataspeedBridge/CMakeFiles/sample_dataspeedBridge.dir/all] Error 2
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/template/CMakeFiles/sample_template.dir/build.make:110: recipe for target ‘src/template/sample_template’ failed
make[2]: *** [src/template/sample_template] Error 1
CMakeFiles/Makefile2:3031: recipe for target ‘src/template/CMakeFiles/sample_template.dir/all’ failed
make[1]: *** [src/template/CMakeFiles/sample_template.dir/all] Error 2
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/sensors/camera_usb/CMakeFiles/sample_camera_usb.dir/build.make:110: recipe for target ‘src/sensors/camera_usb/sample_camera_usb’ failed
make[2]: *** [src/sensors/camera_usb/sample_camera_usb] Error 1
CMakeFiles/Makefile2:1213: recipe for target ‘src/sensors/camera_usb/CMakeFiles/sample_camera_usb.dir/all’ failed
make[1]: *** [src/sensors/camera_usb/CMakeFiles/sample_camera_usb.dir/all] Error 2
src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/build.make:214: recipe for target ‘src/maps/mapaccess/sample_mapaccess’ failed
make[2]: *** [src/maps/mapaccess/sample_mapaccess] Error 1
CMakeFiles/Makefile2:2917: recipe for target ‘src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/all’ failed
make[1]: *** [src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/all] Error 2
src/egomotion/CMakeFiles/sample_egomotion.dir/build.make:110: recipe for target ‘src/egomotion/sample_egomotion’ failed
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
src/icp/CMakeFiles/sample_icp.dir/build.make:110: recipe for target ‘src/icp/sample_icp’ failed
make[2]: *** [src/icp/sample_icp] Error 1
CMakeFiles/Makefile2:3088: recipe for target ‘src/icp/CMakeFiles/sample_icp.dir/all’ failed
make[1]: *** [src/icp/CMakeFiles/sample_icp.dir/all] Error 2
src/sfm/CMakeFiles/sample_sfm.dir/build.make:110: recipe for target ‘src/sfm/sample_sfm’ failed
make[2]: *** [src/sfm/sample_sfm] Error 1
src/maps/maptracker/CMakeFiles/sample_maptracker.dir/build.make:214: recipe for target ‘src/maps/maptracker/sample_maptracker’ failed
src/vehicleio/CMakeFiles/sample_vehicleio.dir/build.make:110: recipe for target ‘src/vehicleio/sample_vehicleio’ failed
make[2]: *** [src/vehicleio/sample_vehicleio] Error 1
CMakeFiles/Makefile2:1651: recipe for target ‘src/sfm/CMakeFiles/sample_sfm.dir/all’ failed
make[2]: *** [src/maps/maptracker/sample_maptracker] Error 1
make[1]: *** [src/sfm/CMakeFiles/sample_sfm.dir/all] Error 2
make[2]: *** [src/egomotion/sample_egomotion] Error 1
CMakeFiles/Makefile2:3454: recipe for target ‘src/vehicleio/CMakeFiles/sample_vehicleio.dir/all’ failed
src/calibration/lidar/CMakeFiles/sample_calibration_lidar.dir/build.make:110: recipe for target ‘src/calibration/lidar/sample_calibration_lidar’ failed
make[2]: *** [src/calibration/lidar/sample_calibration_lidar] Error 1
src/sensors/camera_gmsl/CMakeFiles/sample_camera_gmsl.dir/build.make:110: recipe for target ‘src/sensors/camera_gmsl/sample_camera_gmsl’ failed
make[2]: *** [src/sensors/camera_gmsl/sample_camera_gmsl] Error 1
make[1]: *** [src/vehicleio/CMakeFiles/sample_vehicleio.dir/all] Error 2
CMakeFiles/Makefile2:358: recipe for target ‘src/egomotion/CMakeFiles/sample_egomotion.dir/all’ failed
make[1]: *** [src/egomotion/CMakeFiles/sample_egomotion.dir/all] Error 2
CMakeFiles/Makefile2:1042: recipe for target ‘src/sensors/camera_gmsl/CMakeFiles/sample_camera_gmsl.dir/all’ failed
make[1]: *** [src/sensors/camera_gmsl/CMakeFiles/sample_camera_gmsl.dir/all] Error 2
CMakeFiles/Makefile2:3397: recipe for target ‘src/calibration/lidar/CMakeFiles/sample_calibration_lidar.dir/all’ failed
make[1]: *** [src/calibration/lidar/CMakeFiles/sample_calibration_lidar.dir/all] Error 2
CMakeFiles/Makefile2:2974: recipe for target ‘src/maps/maptracker/CMakeFiles/sample_maptracker.dir/all’ failed
make[1]: *** [src/maps/maptracker/CMakeFiles/sample_maptracker.dir/all] Error 2
src/drivenet/drivenet/CMakeFiles/sample_drivenet.dir/build.make:113: recipe for target ‘src/drivenet/drivenet/sample_drivenet’ failed
make[2]: *** [src/drivenet/drivenet/sample_drivenet] Error 1
CMakeFiles/Makefile2:2722: recipe for target ‘src/drivenet/drivenet/CMakeFiles/sample_drivenet.dir/all’ failed
make[1]: *** [src/drivenet/drivenet/CMakeFiles/sample_drivenet.dir/all] Error 2
[ 58%] Linking CXX executable sample_image_streamer_cross
[ 59%] Linking CXX executable sample_image_streamer_simple
[ 60%] Linking CXX executable sample_image_capture
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status src/image/image_streamer_cross_process/CMakeFiles/sample_image_streamer_cross.dir/build.make:113: recipe for target 'src/image/image_streamer_cross_process/sample_image_streamer_cross' failed make[2]: *** [src/image/image_streamer_cross_process/sample_image_streamer_cross] Error 1 CMakeFiles/Makefile2:2390: recipe for target 'src/image/image_streamer_cross_process/CMakeFiles/sample_image_streamer_cross.dir/all' failed make[1]: *** [src/image/image_streamer_cross_process/CMakeFiles/sample_image_streamer_cross.dir/all] Error 2 /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
src/image/image_streamer_simple/CMakeFiles/sample_image_streamer_simple.dir/build.make:113: recipe for target ‘src/image/image_streamer_simple/sample_image_streamer_simple’ failed
make[2]: *** [src/image/image_streamer_simple/sample_image_streamer_simple] Error 1
CMakeFiles/Makefile2:2217: recipe for target ‘src/image/image_streamer_simple/CMakeFiles/sample_image_streamer_simple.dir/all’ failed
make[1]: *** [src/image/image_streamer_simple/CMakeFiles/sample_image_streamer_simple.dir/all] Error 2
[ 60%] Linking CXX executable sample_image_streamer_multi
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status src/image/image_capture/CMakeFiles/sample_image_capture.dir/build.make:113: recipe for target 'src/image/image_capture/sample_image_capture' failed make[2]: *** [src/image/image_capture/sample_image_capture] Error 1 CMakeFiles/Makefile2:2275: recipe for target 'src/image/image_capture/CMakeFiles/sample_image_capture.dir/all' failed make[1]: *** [src/image/image_capture/CMakeFiles/sample_image_capture.dir/all] Error 2 /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
src/image/image_streamer_multi/CMakeFiles/sample_image_streamer_multi.dir/build.make:113: recipe for target ‘src/image/image_streamer_multi/sample_image_streamer_multi’ failed
make[2]: *** [src/image/image_streamer_multi/sample_image_streamer_multi] Error 1
CMakeFiles/Makefile2:2159: recipe for target ‘src/image/image_streamer_multi/CMakeFiles/sample_image_streamer_multi.dir/all’ failed
make[1]: *** [src/image/image_streamer_multi/CMakeFiles/sample_image_streamer_multi.dir/all] Error 2
[ 60%] Linking CXX executable sample_stereo_rectifier
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory' collect2: error: ld returned 1 exit status src/stereo/stereoRectifier/CMakeFiles/sample_stereo_rectifier.dir/build.make:112: recipe for target 'src/stereo/stereoRectifier/sample_stereo_rectifier' failed make[2]: *** [src/stereo/stereoRectifier/sample_stereo_rectifier] Error 1 CMakeFiles/Makefile2:2530: recipe for target 'src/stereo/stereoRectifier/CMakeFiles/sample_stereo_rectifier.dir/all' failed make[1]: *** [src/stereo/stereoRectifier/CMakeFiles/sample_stereo_rectifier.dir/all] Error 2 [ 61%] Linking CXX executable sample_stereo_disparity /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaCreate’
/usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaDestroy' /usr/local/driveworks-1.2/targets/aarch64-Linux/lib/libdriveworks.so: undefined reference to NvMediaDlaLoadFromMemory’
collect2: error: ld returned 1 exit status
src/stereo/disparity/CMakeFiles/sample_stereo_disparity.dir/build.make:112: recipe for target ‘src/stereo/disparity/sample_stereo_disparity’ failed
make[2]: *** [src/stereo/disparity/sample_stereo_disparity] Error 1
CMakeFiles/Makefile2:2472: recipe for target ‘src/stereo/disparity/CMakeFiles/sample_stereo_disparity.dir/all’ failed
make[1]: *** [src/stereo/disparity/CMakeFiles/sample_stereo_disparity.dir/all] Error 2
Makefile:127: recipe for target ‘all’ failed
make: *** [all] Error 2

Please help me resolve the errors …

Dear ssristi,

Did you run “make clean” before running “sudo make -j” in terminal?

This is my DW cross-compilation steps.
Please refer to belew. Thanks.

sudo dpkg --add-architecture arm64
sudo apt-get update
sudo apt-get install cuda-cross-aarch64-9-2

$gedit ~/.bashrc

Add below in bashrc file and save it.
export PATH=/usr/local/cuda-9.2/bin/:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/targets/aarch64-linux/lib:$LD_LIBRARY_PATH

source ~/.bashrc
nvcc --version

sudo mkdir
sudo mkdir build
cd build/

sudo cmake -DCMAKE_BUILD_TYPE=Release
-DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-1.2/samples/cmake/Toolchain-V5L.cmake
-DVIBRANTE_PDK:STRING=/home/sbyun/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/SW/DrivePDK/drive-t186ref-linux
/usr/local/driveworks-1.2/samples/

sudo make -j
sudo make install

sbyun@sbyun-desktop:/usr/local/driveworks-1.2/build$ sudo cmake -DCMAKE_BUILD_TYPE=Release \
>     -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks-1.2/samples/cmake/Toolchain-V5L.cmake \
>     -DVIBRANTE_PDK:STRING=/home/sbyun/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/SW/DrivePDK/drive-t186ref-linux \
>     /usr/local/driveworks-1.2/samples/
-- VIBRANTE_PDK = /home/sbyun/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/SW/DrivePDK/drive-t186ref-linux
-- Vibrante version 5.0.10.3
-- Cross Compiling for Vibrante
-- Using X11 for window creation
-- VIBRANTE_PDK_BRANCH = 5.0.10.3
-- Found vibrante lib: /usr/local/driveworks-1.2/samples/3rdparty/linux-aarch64/vibrante/lib/libudev.so
-- Found vibrante lib: /usr/local/driveworks-1.2/samples/3rdparty/linux-aarch64/vibrante/lib/libusb-1.0.so
-- Found vibrante_Xlib: /usr/local/driveworks-1.2/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXrandr.so
-- Found vibrante_Xlib: /usr/local/driveworks-1.2/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXinerama.so
-- Found vibrante_Xlib: /usr/local/driveworks-1.2/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXi.so
-- Found vibrante_Xlib: /usr/local/driveworks-1.2/samples/3rdparty/linux-aarch64/vibrante_Xlibs/lib/libXcursor.so
-- Driveworks Samples install dir: /usr/local/driveworks-1.2/build/install
-- Cross Compiling for Vibrante
-- Found Driveworks 
-- Configuring done

-- Generating done
-- Build files have been written to: /usr/local/driveworks-1.2/build
sbyun@sbyun-desktop:/usr/local/driveworks-1.2/build$ <b>sudo make -j</b>
[  1%] Building CXX object 3rdparty/src/lodepng/CMakeFiles/lodepng-src.dir/src/lodepng.cpp.o
[  2%] Dependencies for /usr/local/driveworks-1.2/build/src/image/image_common/CMakeFiles/dw_samples_image_common.dir//gen_utils.cu.o.depend.stamp
[  3%] Dependencies for /usr/local/driveworks-1.2/build/src/stereo/stereo_common/CMakeFiles/dw_samples_stereo_common.dir//gen_utils.cu.o.depend.stamp
[  4%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/context.c.o
[  4%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/vulkan.c.o
[  5%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/input.c.o
[  6%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/window.c.o
[  6%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/init.c.o
[  7%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/monitor.c.o
[  8%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/posix_time.c.o
[  8%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/posix_tls.c.o
[  9%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/x11_init.c.o
[ 10%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/glx_context.c.o
[ 11%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/x11_window.c.o
[ 13%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/egl_context.c.o
[ 13%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/xkb_unicode.c.o
[ 13%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/x11_monitor.c.o
[ 13%] Building C object 3rdparty/src/glfw/3.2-screen/src/CMakeFiles/glfw.dir/linux_joystick.c.o
[ 13%] Built target update_cuda_deps
[ 13%] Linking C static library libglfw3.a
[ 13%] Built target glfw
[ 14%] Linking CXX static library liblodepng-src.a
[ 14%] Built target lodepng-src
[ 15%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/DriveWorksSample.cpp.o
[ 15%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/ProgramArguments.cpp.o
[ 15%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/SampleFramework.cpp.o
[ 16%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/Window.cpp.o
[ 17%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/Grid.cpp.o
[ 18%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/MathUtils.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/MouseView3D.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/WindowGLFW.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/WindowLinuxEGL.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/Log.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/ScreenshotHelper.cpp.o
[ 20%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/SimpleRecordingPlayer.cpp.o
[ 21%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/WindowEGL.cpp.o
[ 22%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/SimpleCamera.cpp.o
[ 23%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/RenderUtils.cpp.o
[ 24%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/ProfilerCUDA.cpp.o
[ 19%] Building CXX object src/framework/CMakeFiles/dw_samples_framework.dir/SimpleRenderer.cpp.o
[ 25%] Linking CXX static library libdw_samples_framework.a
[ 25%] Built target dw_samples_framework
[ 26%] Building NVCC (Device) object src/stereo/stereo_common/CMakeFiles/dw_samples_stereo_common.dir/gen_utils.cu.o
[ 26%] Building CXX object src/sensors/imu/CMakeFiles/sample_imu_logger.dir/main.cpp.o
[ 26%] Building CXX object src/sensors/camera_usb/CMakeFiles/sample_camera_usb.dir/main.cpp.o
[ 27%] Building CXX object src/dnn/sample_object_detector/CMakeFiles/sample_object_detector.dir/main.cpp.o
[ 26%] Building CXX object src/sensors/lidar/lidar_replay/CMakeFiles/sample_lidar_replay.dir/main.cpp.o
[ 28%] Building CXX object src/sensors/lidar/lidar_replay/CMakeFiles/sample_lidar_replay.dir/userInput.cpp.o
[ 26%] Building CXX object src/sensors/gps/CMakeFiles/sample_gps_logger.dir/main.cpp.o
[ 26%] Building CXX object src/sensors/canbus/logger/CMakeFiles/sample_canbus_logger.dir/main.cpp.o
[ 29%] Building CXX object src/sensors/record/CMakeFiles/sample_record.dir/main.cpp.o
[ 30%] Building NVCC (Device) object src/image/image_common/CMakeFiles/dw_samples_image_common.dir/gen_utils.cu.o
[ 31%] Building CXX object src/colorcorrection/CMakeFiles/sample_color_correction.dir/main.cpp.o
[ 32%] Building CXX object src/features/camera_tracker/CMakeFiles/sample_camera_tracker.dir/main.cpp.o
[ 33%] Building CXX object src/calibration/imu/CMakeFiles/sample_calibration_imu.dir/main.cpp.o
[ 33%] Building CXX object src/drivenet/drivenet/CMakeFiles/sample_drivenet.dir/main.cpp.o
[ 33%] Building CXX object src/mapping/occupancy_grid/CMakeFiles/sample_occupancy_grid.dir/main.cpp.o
[ 34%] Building CXX object src/egomotion/CMakeFiles/sample_egomotion.dir/main.cpp.o
[ 34%] Building CXX object src/sensors/camera_gmsl/CMakeFiles/sample_camera_gmsl.dir/main.cpp.o
[ 35%] Building CXX object src/sensors/radar/radar_replay/CMakeFiles/sample_radar_replay.dir/main.cpp.o
[ 36%] Building CXX object src/freespace/CMakeFiles/sample_freespace_detection.dir/main.cpp.o
[ 37%] Building CXX object src/drivenet/drivenet_ncameras/CMakeFiles/sample_drivenetNcameras.dir/main.cpp.o
[ 37%] Building CXX object src/features/camera_scaling_tracker/CMakeFiles/sample_camera_scaling_tracker.dir/main.cpp.o
[ 38%] Building CXX object src/icp/CMakeFiles/sample_icp.dir/main.cpp.o
[ 39%] Building CXX object src/calibration/camera/CMakeFiles/sample_calibration_camera.dir/main.cpp.o
[ 40%] Building CXX object src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/LanePlannerApp.cpp.o
[ 40%] Building CXX object src/vehicleio/CMakeFiles/sample_vehicleio.dir/main.cpp.o
[ 41%] Building CXX object src/sensors/camera_gmsl_raw/CMakeFiles/sample_camera_gmsl_raw.dir/main.cpp.o
[ 42%] Building CXX object src/sensors/camera_seek/CMakeFiles/sample_camera_seek.dir/main.cpp.o
[ 49%] Building CXX object src/sensors/camera_replay/CMakeFiles/sample_camera_replay.dir/main.cpp.o
[ 43%] Building CXX object src/sensors/info/CMakeFiles/sample_sensors_info.dir/main.cpp.o
[ 43%] Building CXX object src/sfm/CMakeFiles/sample_sfm.dir/main.cpp.o
[ 44%] Building CXX object src/rigconfiguration/CMakeFiles/sample_rig_configuration.dir/main.cpp.o
[ 45%] Building CXX object src/ipc/CMakeFiles/sample_ipc_socketclientserver.dir/sample_ipc_socketclientserver.cpp.o
[ 46%] Building CXX object src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/__/common/LanePlannerAppCommon.cpp.o
[ 49%] Building CXX object src/sensors/camera_multiple_gmsl/CMakeFiles/sample_camera_multiple_gmsl.dir/main.cpp.o
[ 49%] Building CXX object src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/__/common/LanePlannerAppCommon.cpp.o
[ 49%] Building CXX object src/sensors/canbus/interpreter/CMakeFiles/sample_canbus_interpreter.dir/interpreter.cpp.o
[ 50%] Building CXX object src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/__/common/MapsAppCommon.cpp.o
[ 51%] Building CXX object src/template/CMakeFiles/sample_template.dir/main.cpp.o
[ 52%] Building CXX object src/render_engine/CMakeFiles/sample_render_engine.dir/main.cpp.o
[ 52%] Building CXX object src/cameraBlindness/CMakeFiles/sample_blindness_detection.dir/main.cpp.o
[ 52%] Building CXX object src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/MapsApp.cpp.o
[ 52%] Building CXX object src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/__/common/DrivePath.cpp.o
[ 53%] Building CXX object src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/__/common/MapsAppCommon.cpp.o
[ 54%] Building CXX object src/dataspeedBridge/CMakeFiles/sample_dataspeedBridge.dir/main.cpp.o
[ 55%] Building CXX object src/dnn/sample_object_tracker/CMakeFiles/sample_object_tracker.dir/main.cpp.o
[ 56%] Building CXX object src/rectifier/CMakeFiles/sample_video_rectifier.dir/main.cpp.o
[ 56%] Building CXX object src/renderer/CMakeFiles/sample_renderer.dir/main.cpp.o
[ 57%] Building CXX object src/sensors/canbus/interpreter/CMakeFiles/sample_canbus_interpreter.dir/main.cpp.o
[ 58%] Building CXX object src/maps/laneplanner/CMakeFiles/sample_laneplanner.dir/main.cpp.o
[ 58%] Building CXX object src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/__/common/DrivePath.cpp.o
[ 59%] Building CXX object src/maps/mapaccess/CMakeFiles/sample_mapaccess.dir/main.cpp.o
[ 60%] Building CXX object src/lidar_accumulator/CMakeFiles/sample_lidar_accumulator.dir/main.cpp.o
[ 61%] Building CXX object src/calibration/lidar/CMakeFiles/sample_calibration_lidar.dir/main.cpp.o
[ 61%] Building CXX object src/maps/maptracker/CMakeFiles/sample_maptracker.dir/main.cpp.o
[ 62%] Building CXX object src/hello_world/CMakeFiles/sample_hello_world.dir/main.cpp.o
[ 64%] Building CXX object src/maps/maptracker/CMakeFiles/sample_maptracker.dir/__/common/MapsAppCommon.cpp.o
[ 63%] Building CXX object src/maps/maptracker/CMakeFiles/sample_maptracker.dir/MapTrackerApp.cpp.o
[ 64%] Building CXX object src/maps/maptracker/CMakeFiles/sample_maptracker.dir/__/common/DrivePath.cpp.o
[ 65%] Building CXX object src/laneDetection/CMakeFiles/sample_lane_detection.dir/main.cpp.o
[ 66%] Building CXX object src/maps/maptracker/CMakeFiles/sample_maptracker.dir/__/common/LanePlannerAppCommon.cpp.o
[ 66%] Linking CXX executable sample_rig_configuration
[ 66%] Linking CXX executable sample_hello_world
[ 67%] Linking CXX executable sample_renderer
[ 68%] Linking CXX executable sample_imu_logger
[ 68%] Built target sample_rig_configuration
[ 68%] Built target sample_hello_world
[ 69%] Linking CXX executable sample_gps_logger
[ 70%] Linking CXX executable sample_canbus_interpreter
[ 70%] Built target sample_imu_logger
[ 70%] Built target sample_renderer
[ 71%] Linking CXX executable sample_canbus_logger
[ 71%] Built target sample_gps_logger
[ 71%] Built target sample_canbus_interpreter
[ 72%] Linking CXX executable sample_dataspeedBridge
[ 73%] Linking CXX executable sample_sensors_info
[ 73%] Linking CXX executable sample_lidar_replay
[ 73%] Built target sample_canbus_logger
[ 73%] Built target sample_dataspeedBridge
[ 73%] Built target sample_sensors_info
[ 74%] Linking CXX executable sample_vehicleio
[ 74%] Built target sample_lidar_replay
[ 75%] Linking CXX executable sample_occupancy_grid
[ 75%] Linking CXX static library libdw_samples_image_common.a
[ 76%] Building CXX object src/stereo/stereo_common/CMakeFiles/dw_samples_stereo_common.dir/stereoCommon.cpp.o
[ 76%] Built target dw_samples_image_common
[ 76%] Linking CXX executable sample_record
[ 76%] Building CXX object src/image/image_capture/CMakeFiles/sample_image_capture.dir/main.cpp.o
[ 76%] Building CXX object src/image/image_streamer_cross_process/CMakeFiles/sample_image_streamer_cross.dir/main.cpp.o
[ 77%] Building CXX object src/image/image_streamer_simple/CMakeFiles/sample_image_streamer_simple.dir/main.cpp.o
[ 78%] Building CXX object src/image/image_streamer_multi/CMakeFiles/sample_image_streamer_multi.dir/main.cpp.o
[ 78%] Built target sample_vehicleio
[ 79%] Linking CXX executable sample_template
[ 79%] Built target sample_occupancy_grid
[ 79%] Linking CXX executable sample_ipc_socketclientserver
[ 79%] Built target sample_record
[ 79%] Built target sample_template
[ 79%] Built target sample_ipc_socketclientserver
[ 80%] Linking CXX executable sample_render_engine
[ 80%] Linking CXX executable sample_video_rectifier
[ 80%] Built target sample_render_engine
[ 80%] Built target sample_video_rectifier
[ 80%] Linking CXX executable sample_camera_seek
[ 80%] Linking CXX executable sample_radar_replay
[ 81%] Linking CXX executable sample_camera_usb
[ 82%] Linking CXX executable sample_camera_gmsl
[ 82%] Built target sample_camera_seek
[ 82%] Built target sample_radar_replay
[ 83%] Linking CXX executable sample_camera_replay
[ 84%] Linking CXX executable sample_image_streamer_cross
[ 85%] Linking CXX executable sample_camera_multiple_gmsl
[ 85%] Built target sample_camera_gmsl
[ 85%] Built target sample_camera_usb
[ 85%] Built target sample_camera_replay
[ 85%] Built target sample_image_streamer_cross
[ 85%] Linking CXX executable sample_color_correction
[ 85%] Built target sample_camera_multiple_gmsl
[ 86%] Linking CXX executable sample_icp
[ 86%] Linking CXX executable sample_image_streamer_multi
[ 87%] Linking CXX executable sample_image_streamer_simple
[ 88%] Linking CXX executable sample_freespace_detection
[ 88%] Linking CXX executable sample_camera_gmsl_raw
[ 88%] Built target sample_color_correction
[ 88%] Linking CXX static library libdw_samples_stereo_common.a
[ 89%] Linking CXX executable sample_image_capture
[ 89%] Built target dw_samples_stereo_common
[ 89%] Built target sample_icp
[ 89%] Built target sample_image_streamer_multi
[ 90%] Linking CXX executable sample_camera_scaling_tracker
[ 91%] Building CXX object src/stereo/stereoRectifier/CMakeFiles/sample_stereo_rectifier.dir/main.cpp.o
[ 91%] Built target sample_image_streamer_simple
[ 91%] Building CXX object src/stereo/disparity/CMakeFiles/sample_stereo_disparity.dir/main.cpp.o
[ 91%] Built target sample_freespace_detection
[ 91%] Built target sample_camera_gmsl_raw
[ 91%] Built target sample_image_capture
[ 91%] Built target sample_camera_scaling_tracker
[ 91%] Linking CXX executable sample_lane_detection
[ 91%] Linking CXX executable sample_egomotion
[ 91%] Linking CXX executable sample_laneplanner
[ 92%] Linking CXX executable sample_maptracker
[ 92%] Linking CXX executable sample_mapaccess
[ 93%] Linking CXX executable sample_lidar_accumulator
[ 94%] Linking CXX executable sample_camera_tracker
[ 94%] Built target sample_lane_detection
[ 94%] Linking CXX executable sample_object_detector
[ 95%] Linking CXX executable sample_blindness_detection
[ 95%] Built target sample_egomotion
[ 95%] Built target sample_laneplanner
[ 95%] Built target sample_maptracker
[ 95%] Built target sample_mapaccess
[ 95%] Built target sample_lidar_accumulator
[ 95%] Built target sample_camera_tracker
[ 95%] Built target sample_object_detector
[ 95%] Built target sample_blindness_detection
[ 95%] Linking CXX executable sample_stereo_rectifier
[ 96%] Linking CXX executable sample_stereo_disparity
[ 97%] Linking CXX executable sample_drivenet
[ 97%] Built target sample_stereo_rectifier
[ 97%] Built target sample_stereo_disparity
[ 97%] Built target sample_drivenet
[ 97%] Linking CXX executable sample_calibration_imu
[ 97%] Built target sample_calibration_imu
[ 98%] Linking CXX executable sample_sfm
[ 99%] Linking CXX executable sample_object_tracker
[ 99%] Built target sample_sfm
[ 99%] Built target sample_object_tracker
[ 99%] Linking CXX executable sample_drivenetNcameras
[ 99%] Linking CXX executable sample_calibration_camera
[ 99%] Built target sample_drivenetNcameras
[ 99%] Built target sample_calibration_camera
[100%] Linking CXX executable sample_calibration_lidar
[100%] Built target sample_calibration_lidar
sbyun@sbyun-desktop:/usr/local/driveworks-1.2/build$ sudo make install
[  2%] Built target update_cuda_deps
[  4%] Built target lodepng-src
[ 14%] Built target glfw
[ 25%] Built target dw_samples_framework
[ 26%] Built target sample_egomotion
[ 28%] Built target sample_sensors_info
[ 29%] Built target sample_gps_logger
[ 30%] Built target sample_imu_logger
[ 31%] Built target sample_camera_replay
[ 32%] Built target sample_camera_seek
[ 33%] Built target sample_record
[ 34%] Built target sample_canbus_logger
[ 36%] Built target sample_canbus_interpreter
[ 37%] Built target sample_lidar_replay
[ 38%] Built target sample_radar_replay
[ 39%] Built target sample_camera_gmsl
[ 41%] Built target sample_camera_multiple_gmsl
[ 42%] Built target sample_camera_gmsl_raw
[ 43%] Built target sample_camera_usb
[ 45%] Built target sample_camera_tracker
[ 46%] Built target sample_camera_scaling_tracker
[ 47%] Built target sample_occupancy_grid
[ 48%] Built target sample_rig_configuration
[ 49%] Built target sample_renderer
[ 51%] Built target sample_render_engine
[ 52%] Built target sample_sfm
[ 53%] Built target sample_object_detector
[ 55%] Built target sample_object_tracker
[ 56%] Built target sample_lane_detection
[ 57%] Built target sample_color_correction
[ 58%] Built target sample_video_rectifier
[ 59%] Built target sample_ipc_socketclientserver
[ 60%] Built target sample_hello_world
[ 61%] Built target dw_samples_image_common
[ 62%] Built target sample_image_streamer_multi
[ 64%] Built target sample_image_streamer_simple
[ 65%] Built target sample_image_capture
[ 66%] Built target sample_image_streamer_cross
[ 68%] Built target dw_samples_stereo_common
[ 69%] Built target sample_stereo_disparity
[ 70%] Built target sample_stereo_rectifier
[ 72%] Built target sample_freespace_detection
[ 73%] Built target sample_drivenet
[ 74%] Built target sample_drivenetNcameras
[ 78%] Built target sample_laneplanner
[ 82%] Built target sample_mapaccess
[ 86%] Built target sample_maptracker
[ 88%] Built target sample_template
[ 90%] Built target sample_icp
[ 92%] Built target sample_lidar_accumulator
[ 93%] Built target sample_blindness_detection
[ 94%] Built target sample_calibration_camera
[ 95%] Built target sample_calibration_imu
[ 97%] Built target sample_calibration_lidar
[ 98%] Built target sample_vehicleio
[100%] Built target sample_dataspeedBridge
Install the project...

@SteveNV,
Sorry for bothering you. I also cannot install when upgrading to DW v1.2 for my PX2.

gary@gary-System-Product-Name:/var$ sudo apt-get install cuda
[sudo] password for itri:
Reading package lists… Done
Building dependency tree
Reading state information… Done
cuda is already the newest version (9.2.148-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
gary@gary-System-Product-Name:/var$ sudo apt-get install cuda-cross-aarch64-9-2
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package cuda-cross-aarch64-9-2

I also caused failed to build samples code as following,


[ 25%] Linking CXX executable sample_egomotion
Reaping winning child 0x1979de0 PID 18988
Live child 0x1979de0 (src/egomotion/sample_egomotion) PID 18990
/usr/local/cuda/lib64/libcudart.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Reaping losing child 0x1979de0 PID 18990
src/egomotion/CMakeFiles/sample_egomotion.dir/build.make:113: recipe for target ‘src/egomotion/sample_egomotion’ failed
make[2]: *** [src/egomotion/sample_egomotion] Error 1
Removing child 0x1979de0 PID 18990 from chain.
Reaping losing child 0x1c5b8c0 PID 18987
CMakeFiles/Makefile2:358: recipe for target ‘src/egomotion/CMakeFiles/sample_egomotion.dir/all’ failed
make[1]: *** [src/egomotion/CMakeFiles/sample_egomotion.dir/all] Error 2
Removing child 0x1c5b8c0 PID 18987 from chain.
Reaping losing child 0x1aabc40 PID 18959
Makefile:127: recipe for target ‘all’ failed
make: *** [all] Error 2
Removing child 0x1aabc40 PID 18959 from chain.

Can you help me on it?

Thanks!

Gary

Dear garywang,

Could you please refer to below content which is in /usr/local/driveworks-1.2/doc? Thanks.

To cross compile the DriveWorks SDK samples
On the host system, install CUDA cross-compilation libraries.

sudo dpkg --add-architecture arm64 sudo apt-get update
$ sudo apt-get install cuda-cross-aarch64-9-2
Note
Some repositories may not have binaries for arm64 and apt-get update causes errors. To prevent these errors, edit /etc/apt/sources.list and files under /etc/apt/sources.list.d/ and add [arch=amd64,i386] into each line starting with deb. Ensure you specify amd64 and not arm64.

Hi, I did follow steps of DW v1.2 install on HOST environment, no idea why on it. please refe below log,

itri@itri-System-Product-Name:~ dpkg --print-foreign-architectures i386 arm64 itri@itri-System-Product-Name:~ sudo dpkg --add-architecture arm64
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = “en_US.UTF-8”,
LC_MONETARY = “en_US.UTF-8”,
LC_CTYPE = “UTF-8”,
LC_ADDRESS = “en_US.UTF-8”,
LC_TELEPHONE = “en_US.UTF-8”,
LC_NAME = “en_US.UTF-8”,
LC_MEASUREMENT = “en_US.UTF-8”,
LC_IDENTIFICATION = “en_US.UTF-8”,
LC_NUMERIC = “en_US.UTF-8”,
LC_PAPER = “en_US.UTF-8”,
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“en_US.UTF-8”).
then sudo apt-get update,

itri@itri-System-Product-Name:~$ sudo apt-get install cuda-cross-aarch64-9-2
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package cuda-cross-aarch64-9-2

Do you have any deb for my testing?

Thanks a lot!

Gary

cuda-cross-aarch64-9-2_9.2.88-1_amd64.txt (2.58 KB)

Dear garywang,

I attached one deb file for your testing.
Please change type of file from txt to deb and try to test. Thanks.

Upset for my failed on that deb…

itri@itri-System-Product-Name:~$ sudo dpkg -i ./cuda-cross-aarch64-9-2_9.2.88-1_amd64.deb
[sudo] password for itri:
Selecting previously unselected package cuda-cross-aarch64-9-2.
(Reading database … 491710 files and directories currently installed.)
Preparing to unpack …/cuda-cross-aarch64-9-2_9.2.88-1_amd64.deb …
Unpacking cuda-cross-aarch64-9-2 (9.2.88-1) …
dpkg: dependency problems prevent configuration of cuda-cross-aarch64-9-2:
cuda-cross-aarch64-9-2 depends on cuda-cudart-cross-aarch64-9-2; however:
Package cuda-cudart-cross-aarch64-9-2 is not installed.
cuda-cross-aarch64-9-2 depends on cuda-driver-cross-aarch64-9-2; however:
Package cuda-driver-cross-aarch64-9-2 is not installed.
cuda-cross-aarch64-9-2 depends on cuda-misc-headers-cross-aarch64-9-2; however:
Package cuda-misc-headers-cross-aarch64-9-2 is not installed.
cuda-cross-aarch64-9-2 depends on cuda-nvrtc-cross-aarch64-9-2; however:
Package cuda-nvrtc-cross-aarch64-9-2 is not installed.
cuda-cross-aarch64-9-2 depends on cuda-cusolver-cross-aarch64-9-2; however:
Package cuda-cusolver-cross-aarch64-9-2 is not installed.
cuda-cross-aarch64-9-2 depends on cuda-cublas-cross-aarch64-9-2; however:
Package cuda-cublas-cross-aarch64-9-2 is not installed.
cuda-cross-aarch64-9-2 depends on cuda-cufft-cross-aarch64-9-2; however:
Package cuda-cufft-cross-aarch64-9-2 is not installed.
cuda-cross
dpkg: error processing package cuda-cross-aarch64-9-2 (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cuda-cross-aarch64-9-2

Do you have any idea on purge realted packages then reinstall cuda-cross-aarch64-9-2?

Thanks a lot!

Dear garywang,

Possible cause: CUDA add a foreign architecture “arm64” that makes apt-get update failure.

  1. Please check if ARCH arm64 exists in the system arch list. Run sudo dpkg --print-foreign-architectures
  2. If Yes. Run sudo apt-get purge “*:arm64”, all arm64 package will be removed.
  3. Then sudo dpkg --remove-architecture arm64, remove ARCH arm64 from system arch list.
  4. Then “sudo apt-get update"

Hope that helps.

Bad news to me, After arm64 arch removed, still failed to install cross compile for aarch64

itri@itri-System-Product-Name:~ sudo dpkg --print-foreign-architectures i386 itri@itri-System-Product-Name:~ sudo dpkg --add-architecture arm64
itri@itri-System-Product-Name:~ sudo dpkg --print-foreign-architectures i386 arm64 itri@itri-System-Product-Name:~ sudo apt-get update
Get:1 file:/var/cuda-repo-9-2-148-local-patch-1 InRelease
Ign:1 file:/var/cuda-repo-9-2-148-local-patch-1 InRelease
Get:2 file:/var/cuda-repo-9-2-local InRelease
Ign:2 file:/var/cuda-repo-9-2-local InRelease
Get:3 file:/var/nv-tensorrt-repo-cuda9.0-ga-trt4.0.1.6-20180612 InRelease
Ign:3 file:/var/nv-tensorrt-repo-cuda9.0-ga-trt4.0.1.6-20180612 InRelease
Get:4 file:/var/nv-tensorrt-repo-cuda9.2-ga-trt4.0.1.6-20180612 InRelease
Ign:4 file:/var/nv-tensorrt-repo-cuda9.2-ga-trt4.0.1.6-20180612 InRelease
Get:5 file:/var/cuda-repo-9-2-148-local-patch-1 Release [574 B]
Get:6 file:/var/cuda-repo-9-2-local Release [574 B]
Get:7 file:/var/nv-tensorrt-repo-cuda9.0-ga-trt4.0.1.6-20180612 Release [574 B]
Get:5 file:/var/cuda-repo-9-2-148-local-patch-1 Release [574 B]
Get:8 file:/var/nv-tensorrt-repo-cuda9.2-ga-trt4.0.1.6-20180612 Release [574 B]
Get:6 file:/var/cuda-repo-9-2-local Release [574 B]
Get:7 file:/var/nv-tensorrt-repo-cuda9.0-ga-trt4.0.1.6-20180612 Release [574 B]
Get:8 file:/var/nv-tensorrt-repo-cuda9.2-ga-trt4.0.1.6-20180612 Release [574 B]
Ign:9 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:11 http://dl.google.com/linux/chrome/deb stable Release
Hit:12 http://tw.archive.ubuntu.com/ubuntu xenial InRelease
Hit:13 http://tw.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:14 http://tw.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:17 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Hit:20 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:21 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit:22 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Hit:23 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Hit:24 http://packages.ros.org/ros/ubuntu xenial InRelease
Hit:25 http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu xenial InRelease
Hit:26 https://download.sublimetext.com apt/stable/ InRelease
Hit:27 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial InRelease
Hit:28 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Hit:29 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial InRelease
Reading package lists… Done
itri@itri-System-Product-Name:/var$ sudo apt-get install cuda-cross-aarch64-9-2
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package cuda-cross-aarch64-9-2
itri@itri-System-Product-Name:~ sudo dpkg -i ./cuda-cross-aarch64-9-2_9.2.88-1_amd64.deb Selecting previously unselected package cuda-cross-aarch64-9-2. (Reading database ... 491712 files and directories currently installed.) Preparing to unpack .../cuda-cross-aarch64-9-2_9.2.88-1_amd64.deb ... Unpacking cuda-cross-aarch64-9-2 (9.2.88-1) ... dpkg: dependency problems prevent configuration of cuda-cross-aarch64-9-2: cuda-cross-aarch64-9-2 depends on cuda-cudart-cross-aarch64-9-2; however: Package cuda-cudart-cross-aarch64-9-2 is not installed. cuda-cross-aarch64-9-2 depends on cuda-driver-cross-aarch64-9-2; however: Package cuda-driver-cross-aarch64-9-2 is not installed. cuda-cross-aarch64-9-2 depends on cuda-misc-headers-cross-aarch64-9-2; however: Package cuda-misc-headers-cross-aarch64-9-2 is not installed. cuda-cross-aarch64-9-2 depends on cuda-nvrtc-cross-aarch64-9-2; however: Package cuda-nvrtc-cross-aarch64-9-2 is not installed. cuda-cross-aarch64-9-2 depends on cuda-cusolver-cross-aarch64-9-2; however: Package cuda-cusolver-cross-aarch64-9-2 is not installed. cuda-cross-aarch64-9-2 depends on cuda-cublas-cross-aarch64-9-2; however: Package cuda-cublas-cross-aarch64-9-2 is not installed. cuda-cross-aarch64-9-2 depends on cuda-cufft-cross-aarch64-9-2; however: Package cuda-cufft-cross-aarch64-9-2 is not installed. cuda-cross dpkg: error processing package cuda-cross-aarch64-9-2 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: cuda-cross-aarch64-9-2 itri@itri-System-Product-Name:~ sudo dpkg --print-foreign-architectures
i386
arm64

@SteveNV, is it possible and allowed to put related files in following folder for my manually installation on related deb files like “cuda-cublas-cross-aarch64-9-2/cuda-cufft-cross-aarch64-9-2…etc.”?
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/

Anyway Thanks!

Gary

Finally I pulled cuda aarch64 from my PX2 then built it correctly. Feel terrible on it.

Thanks SteveNV.

Gary

May I gently ask,
from which target folder have you copied items to which host folder? Thanks