Error : DW_IMAGE_NVMEDIA

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
[O] 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
[O] Linux
QNX
other

Hardware Platform
[O] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
[O] 1.9.1.10844
other

Host Machine Version
[O] native Ubuntu 18.04
other

Hello, I’m working at Crossbuilding the GMSL camera driver to connect with


the Drive agx xavier but I’m facing this error.
Can you give me any advice for this problem?

Thanks.

Dear @M750e,
DW_IMAGE_NVMEDIA is part of Image.h header file. May I know if it is a new sample you are trying to cross compile?

Yes, I’m cross compiling new one.

Dear @M750e,
Could you check if the issue is related to header file as asked?

Yeah, I think that error means there’s no header file is not exist…

Dear @M750e,
Please include /usr/local/driveworks/include/dw/image/Image.h header file in your sample.

Umm… I include Image.h file at the my sample but there’s no difference about the error.
Do I have to include the other file?

Dear @M750e,
Do you still see DW_IMAGE _NVMEDIA Is not declaraed in scope error? Please double check if the include path is correctly set in make files.

You mentioned about ‘make files’.
Is that mean cmake files?

Dear @M750e ,
Yes.