1

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?

Saddy
  • 313
  • 4
  • 22

2 Answers2

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
  • 1
    Thank 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