由于使用的leptonica 依赖png和tiff库 故需要交叉编译png和tiff
1)png下载链接 https://sourceforge.net/projects/libpng/files/
tiff 下载链接 http://download.osgeo.org/libtiff/
2)编译png
./configure --host=arm-linux CC=aarch64-linux-gnu-gcc --enable-shared --enable-static CPPFLAGS=-I/home/work/quick/nano_neo/install/h5/zlib/include --prefix="/home/work/quick/nano_neo/install/h5/png"
make & make install
3)编译tiff
./autogen.sh
./configure --host=arm-linux CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ --prefix="/home/work/quick/nano_neo/install/h5/tiff"
make & make install