Onboard-SDK icon indicating copy to clipboard operation
Onboard-SDK copied to clipboard

Build error in the Yocto system

Open bchoineubility opened this issue 10 months ago • 3 comments

Hi,

I am trying to build OSDK in the Yocto, and I faced build error which closed already by #889 . But, I can not use gcc 5.4 with Yocto.

Error message :

osdk-core/modules/inc/filemgr/impl/mmap_file_buffer.hpp:23:15: error: field 'currentLogFilePath' has incomplete type 'std::string' {aka 'std::__cxx11::basic_string<char>'}

By the way, I add #include <string> to mmap_file_buffer.hpp and disappeared error. Here is my patch file.

Can you check it available?

0001-Remove-compile-error-by-incompatible-string-type.patch

bchoineubility avatar Apr 05 '24 05:04 bchoineubility

Agent comment from Leon in Zendesk ticket #104293:

Dear bchoineubility,

Greetings. Thank you for reaching out to DJI Innovations.

We appreciate your patience. We apologize for any misunderstanding that may have occurred due to translation software. Are you requesting us to replace this patch and then proceed with the OSDK functionality testing? Or are you referring to testing a specific feature?

Thank you for your support of DJI products! We wish you all the best.

Best Regards,

DJI Innovations SDK Technical Support

°°°

dji-dev avatar Apr 07 '24 11:04 dji-dev

Hi @dji-dev

I am brand new this sdk. I hope to know my patch correct or not and check out reason for compile error. If it is gcc version problem, I should tried to use gcc 5.4 I think.

It's your freedom to use this patch or not.

BR, Mark

bchoineubility avatar Apr 07 '24 23:04 bchoineubility

Agent comment from Leon in Zendesk ticket #104293:

Dear bchoineubility,

Greetings! Thank you for reaching out to DJI - Da-Jiang Innovations.

We appreciate the information you have provided. We will attempt to see if it is usable. Do you currently have any other doubts or questions? Thank you once again!

We appreciate your support for DJI products! Wishing you all the best!

Best Regards,

DJI - Da-Jiang Innovations SDK Technical Support

°°°

dji-dev avatar Apr 08 '24 09:04 dji-dev