HDF5 support on Android

How to use HDF5 software on Android? Can I compile my own C ++ libraries for the Android platform, and then call it using Java HDF5 bindings?

+5
source share
3 answers

You cannot (easily) compile using cross compiler for Android

You will need to compile on the ARM device and, in particular, the Android toolchain if you want this work to work. Honestly, do not use HDF5 in the NDK project, because even if you manage to create a binary file, it will not be supported.

NDK-CMake- gradle, . , , . .

FAQ:

, - HDF5.

-, HDF5 AC_TRY_RUN . , -, - . , ( ) AC_TRY_RUN , , , - (, , -).

AC_TRY_RUN . , HDF5 , Fortran "SIZEOF", . , makefile toggle, , H5test_kind ( H5test_kind_SIZEOF.f90 H5test_kind.f90). ++ . AC_TRY_RUN : , , , SZIP , gettimeofday .

(?) - H5Tinit.c , , H5libsettings.c, "make", . , , C , , "make" , , (, ). HDF5 . ( , H5Tinit.c, HDF5 , H5detect, , . h5detect , .)

, gist Android HDF5 .

v1.8.18, . script armeabi, armeabi-v7a x86.

, , , , , , , , HDF5, .

+2

, , . , hdf5 Android. , .

: hdf5 . , Android . : JHDF5 - Java hdf5. .

+1

jHDF, Java HDF5, c/c++. Android, .

, , .

: jHDF, .

0

All Articles