-
Notifications
You must be signed in to change notification settings - Fork 1
Comments
Need to investigate suggestion by @DanAlbert in previously mentioned issue regarding keyfunctions. android/ndk#519 (comment) Seems to match the case, since both
|
Inspired from issue 533, I changed the the destructor of
- virtual ~Trackable() = default;
+ virtual ~Trackable();
+Trackable::~Trackable(){} This made their
I had to recompile
Now the To be able to run the other pipelines, I recompiled the following modules as well:
But it seems other issues remain:
|
This footnote mentions a compiler option in LLVM that may have helped: _LIBCXXABI_FORGIVING_DYNAMIC_CAST (the name has changed since the bog post. |
These class must have virtual method with an implementation in the cpp file in order to be able to use dynamic-cast. fix SolarFramework/SolARUnityPlugin#5
Another issue occured once the previous step manage to fix the crash: the apps are not crashing, but they are not working, i.e. no avatar is placed on the marker for Fiducial/NaturalImage-marker pipelines, and nothing seems to happen with SLAM pipeline. When the calibration file is restored this seems to work fine. There's still one thing though, I've used a json file (which is what was specified in the Unity project pipeline manager), but the last file known in git history was a yaml file. But when using a yaml file this does not seem to work (parsing error). Need to decide whether to use this json file or understand why the yaml file failed to load and fix it. |
We have now move to a json file for camera calibration parameters. need to be added to be able to run the demo. |
These class must have virtual method with an implementation in the cpp file in order to be able to use dynamic-cast. fix SolarFramework/SolARUnityPlugin#5 (cherry picked from commit 263bcc9)
Unity plugin does not work on Android for release/0.10.0.
By debugging the native pipeline library in Android Studio, I fell upon an error located here:
https://github.com/SolarFramework/Sample-FiducialMarker/blob/release/0.10.0/SolARPipeline_FiducialMarker/src/PipelineFiducialMarker.cpp#L74
This returns null:
In this context,
xpcf::utils::dynamic_pointer_cast
is actually an alias forboost::dynamic_pointer_cast
.The issue android/ndk#519 mentions a problem with dynamic_pointer_cast.
It does not seem related to boost, but the errors might be fixed by updating
libc++_shared.so
found in the NDK.Maybe there is a lead here (replacing boost by std in xpcf for Android and use up to date
libc++_shared.so
)The text was updated successfully, but these errors were encountered: