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

Use MeTA Toolkit on Android Platform with Native Development #201

Open
kevan18081990 opened this issue Jun 6, 2018 · 0 comments
Open

Use MeTA Toolkit on Android Platform with Native Development #201

kevan18081990 opened this issue Jun 6, 2018 · 0 comments

Comments

@kevan18081990
Copy link

I want to use MeTA Toolkit with android platform using native cpp development.
For that I am trying to generate .a files within lib folder for android platform using standalong toolchain of android. When I set CXX = clang++ it is compiling ok but if I use CXX = aarch64-linux-android-clang++ which is compiler from android toolchain. I am getting below error

– Using jemalloc: /usr/local/lib/libjemalloc.dylib
– Performing Test META_HAS_ALIGNED_ALLOC
– Performing Test META_HAS_ALIGNED_ALLOC - Failed
– Performing Test META_HAS_POSIX_MEMALIGN
– Performing Test META_HAS_POSIX_MEMALIGN - Failed
CMake Error at deps/meta-cmake/kludges/AlignedAlloc.cmake:54 (message):
Failed to find a suitable aligned allocation routine
Call Stack (most recent call first):
deps/meta-cmake/CompilerKludges.cmake:18 (include)
CMakeLists.txt:120 (CompilerKludges)

– Configuring incomplete, errors occurred!

Does MeTA source code is compatible to run on android platform? Can any one guild how to solve of this issue.

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

1 participant