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

MavSDK crashes on MavsdkServer initialization #131

Open
IlfiDev opened this issue Jun 19, 2023 · 2 comments
Open

MavSDK crashes on MavsdkServer initialization #131

IlfiDev opened this issue Jun 19, 2023 · 2 comments
Labels

Comments

@IlfiDev
Copy link

IlfiDev commented Jun 19, 2023

Here's the error:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNSt6__ndk14__fs10filesystem21__temp_directory_pathEPNS_10error_codeE" referenced by "/data/app/~~1nuV_Xwwx0jCemUqnF9G5w==/com.autel.maxlink-SBJ-pqkn17RYnGg-2j_YGA==/lib/arm64/libmavsdk_server.so"...
This does not happen on older versions.
What could be the reason and is there any fixes for that?

@JonasVautherin
Copy link
Collaborator

I wonder if it could be related to https://github.com/mavlink/MAVSDK/pull/2005/files 🤔

Maybe ${CMAKE_DL_LIBS} should be added after this line?

Is there a way you could try that (i.e. build mavsdk_server from sources with the change above) and let me know if it helps?

@IlfiDev
Copy link
Author

IlfiDev commented Jun 29, 2023

Addind ${CMAKE_DL_LIBS} and bulidng did fix my problem. Thanks!

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

No branches or pull requests

2 participants