-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
fly_qgc_mission: link to json11 #395
Conversation
We need to link to libjson11 as well because libdronecore_mission.so doesn't include it.
Is json present by default on machines or will library need to be installed (so it can be linked). Or to put it another way, is there an extra step that needs to be added to run this example? |
Isn't |
@JonasVautherin this fix is for macOS. |
Are you sure you updated your submodules? It should be in |
Let me check. |
This reverts commit e9573a6.
This fixes the issue where json11 symbols were not included in the .a plugin library files. When the plugins are compiled as dynamic libs, the needed symbols from libjson11.a are included. This means that the symbols will still be missing for Android and iOS, however, the functionality is currently not needed there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about the install
patch in the fork, but as I already mentioned, I don't really know how the whole install
thing works yet. I guess it does it for now!
We should not need to link to json11 in the example because the symbols are already included in dronecore_mission.so.
fly_qgc_mission: link to json11
We need to link to libjson11 as well because libdronecore_mission.so doesn't include it.
@JonasVautherin any better idea? Or should we include json11 inside
libdronecore.a
like tinyxml2 to prevent this?Fixes #381.