关于如果 利用ANDROID NDK 编译 GDAL。
关于如果 利用ANDROID NDK 编译 GDAL。$ CFLAGS="-mthumb" CXXFLAGS="-mthumb" LIBS="-lsupc++ -lstdc++" ./configure --host=arm-linux-androideabi --prefix=/tmp/gdal-1.10.0/gdal/external/gdal --without-gif --with-threads --with-ogr --with-geos --with-libz=internal
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-pc-cygwin
checking host system type... arm-unknown-linux-androideabi
...略
GDAL is now configured for arm-unknown-linux-androideabi
Installation directory: /tmp/gdal-1.10.0/gdal/external/gdal
C compiler: arm-linux-androideabi-gcc -mthumb
C++ compiler: arm-linux-androideabi-g++ -mthumb
LIBTOOL support: yes
LIBZ support: internal
LIBLZMA support: no
GRASS support: no
CFITSIO support: no
PCRaster support: internal
LIBPNG support: internal
DDS support: no
GTA support: no
LIBTIFF support: internal (BigTIFF=yes)
LIBGEOTIFF support: internal
LIBJPEG support: internal
12 bit JPEG: yes
12 bit JPEG-in-TIFF: yes
LIBGIF support: no
OGDI support: no
HDF4 support: no
HDF5 support: no
NetCDF support: no
Kakadu support: no
JasPer support: no
OpenJPEG support: no
ECW support: no
MrSID support: no
MrSID/MG4 Lidar support: no
MSG support: no
GRIB support: yes
EPSILON support: no
WebP support: no
cURL support (wms/wcs/...):no
PostgreSQL support: no
MySQL support: no
Ingres support: no
Xerces-C support: no
NAS support: no
Expat support: no
libxml2 support: no
Google libkml support: no
ODBC support: no
PGeo support: no
FGDB support: no
MDB support: no
PCIDSK support: internal
OCI support: no
GEORASTER support: no
SDE support: no
Rasdaman support: no
DODS support: no
SQLite support: no
PCRE support: no
SpatiaLite support: no
DWGdirect support no
INFORMIX DataBlade support:no
GEOS support: no
Poppler support: no
Podofo support: no
OpenCL support: no
Armadillo support: no
FreeXL support: no
SWIG Bindings: no
Statically link PROJ.4: no
enable OGR building: yes
enable pthread support: yes
enable POSIX iconv support:no, consider installing GNU libiconv
hide internal symbols: no
make
/bin/sh /tmp/gdal-1.10.0/libtool --mode=compile --tag=CXX arm-linux-androideabi-g++ -mthumb -Wall -DOGR_ENABLED -I/tmp/gdal-1.10.0/port -I../frmts/zlib -DHAVE_LIBZ -c -o cpl_conv.lo cpl_conv.cpp
....略
$ make install
for f in *.h ; do /tmp/gdal-1.10.0/install-sh -c -m 0644 $f /tmp/gdal-1.10.0/gdal/external/gdal/include ; done
问题是MAKE INSTALL 后只生成了一个文件 ,不是应该还有SO文件 和 JNI 文件吗?
求解 --------------------编程问答-------------------- mark,没搞过,帮顶
补充:移动开发 , Android