Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error in the Yocto system #935

Open
bchoineubility opened this issue Apr 5, 2024 · 3 comments
Open

Build error in the Yocto system #935

bchoineubility opened this issue Apr 5, 2024 · 3 comments

Comments

@bchoineubility
Copy link

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

@dji-dev
Copy link
Contributor

dji-dev commented Apr 7, 2024

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

°°°

@bchoineubility
Copy link
Author

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

@dji-dev
Copy link
Contributor

dji-dev commented Apr 8, 2024

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

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants