-
Notifications
You must be signed in to change notification settings - Fork 2
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
Investigate Android implementation #24
Comments
I think the main interest is |
Maybe the first thing we should investigate is whether There's various references that it can, google "libpcl android" finds various things. Most interesting looks https://github.com/bashbug/pcl-for-android but it seems that it hasn't seen development for 3 years. So: it could be that libpcl now supports android build natively. But I haven't been able to find any information (but I didn't look very hard). |
So I managed to cross-compile PCL for Android ( |
The only one that is important is turbo-jpeg. It can probably be worked-around if need be but the codec code uses the turbo-jpeg API, not the normal libjpeg API (which turbojpeg also provides), so it would be better if turbo-jpeg is available. Can you create a branch (for example |
Update: I've managed to set up a pipeline to build PCL fairly reliably for armv7, armv8, x86 and x86_64 using a modern version of the build tools used in bashbug/pcl-for-android on Linux (it works on macOS as well, except for the armv8 build, which fails to compile some assembly in boost for some reason; I may have found the issue, but not quite sure yet). The only real issue is that I can only build PCL statically, dynamic builds fail because it cannot resolve some symbols in I maintain a fork of bashbug/pcl-for-android here: https://github.com/troeggla/pcl-for-android |
I can build now shared libraries for ARMv7, ARMv8 and x86_64. This line, however, makes the build fail for x86: https://github.com/cwi-dis/cwipc_util/blob/master/include/cwipc_util/api.h#L62 Not sure how important this is. I can either patch it out it leave it at the architectures we can build now (the x86 builds are for emulators only anyway). |
That is a strange problem: the Most practical is to not build for the emulator. |
Shared libraries for Android can now be built reliably. The necessary code and documentation has been moved to cwi-dis/cwipc_android. The repository also contains downloadable builds for CWIPC 7.4.3. |
We should investigate whether an Android implementation is possible (at least for
cwipc_util
,cwipc_codec
is optional, the current capturers are uninteresting).The text was updated successfully, but these errors were encountered: