Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
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.8.0.10363
other
Host Machine Version
[*] native Ubuntu 18.04
other
Hi,
I’m trying to cross compile the sample_camera application by using opencv.
During build I’m getting the following errors:
- /home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h:72:16: error: conflicting
declaration ‘typedef __fp16 float16_t’
typedef __fp16 float16_t;
-
In file included from /usr/local/driveworks-3.5/samples/src/framework/…/framework/MouseView3D.hpp:34:0,
from /usr/local/driveworks-3.5/samples/src/framework/…/framework/DriveWorksSample.hpp:43,
from /usr/local/driveworks-3.5/samples/src/sensors/camera/camera/main.cpp:31:
/usr/local/driveworks-3.5/targets/aarch64-Linux/include/dw/core/Types.h:75:16: note: previous declaration as ‘typedef struct __half float16_t’
typedef __half float16_t; -
/home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h: In function ‘float16x4_t
vld1_f16(const float16_t*)’:
/home/lidar/Documents/Nvidia_Drive/DRIVE_OS_5.2.0_SDK_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h:17054:40: error: cannot co
nvert ‘const float16_t* {aka const __half*}’ to ‘const __fp16*’ for argument ‘1’ to ‘__vector(4) __fp16 __builtin_aarch64_ld1v4hf(const __fp16*)’
return __builtin_aarch64_ld1v4hf (__a);
I’m attaching a file having the complete stack trace of build errors.