Now I have a 3rd party library (HDF5)in source code. But this library is written in C++. Is it possible to use android NDK to compile it? How? Do I need to write own makefile to configure it OR use android.mk to configure?
And I found this library has some dependencies, Do I need to compile each one of them?
Asked
Active
Viewed 726 times
1

Saddy
- 313
- 4
- 22
-
I'm also working on the same thing, let me know if you've found a way please – Mehmet K Nov 29 '16 at 08:16
2 Answers
0
Usually, it is easier to use the standard .lconfigure && make
for external native libraries, but you need to prepare a standalone toolchain, as described here.

Alex Cohn
- 56,089
- 9
- 113
- 307
-
1Thank you, @CameronLowellPalmer. I updated the link, now *finally* Google has NDK documents on the official Android developers site, I hope it will be maintained better. – Alex Cohn Oct 14 '16 at 14:33
0
A short answer to your question is, yes, it can be build with NDK and autotools.

Bhargav Rao
- 50,140
- 28
- 121
- 140

user3130963
- 9
- 2
-
I am quite confuse steps after 5. All I need is a compiled library either in shared or static type. How do I get these? – Saddy Feb 20 '14 at 00:15
-
2
-