error in integration of mupdf library

我是研究僧i 提交于 2019-11-29 10:46:14

You should invoke ./scripts/build-native.sh (for Windows use cygwin), then run ndk-build

Thushara

This is how i succeeded in MuPDF.

download ndk and extract. download cygwin and extract. download mupdf source and thirdparty files.

extract source and thirdpart extract file add to here.

go to project directory using cygwin.

open project in eclipse and add this to application.mk

      NDK_TOOLCHAIN_VERSION=4.4.3

make header file using this command in cygwin

javah -jni -classpath bin/classes/ -d jni/ com.artifex.mupdf.MuPDFActivity

use cd .. and go back to MupdfSource extract directory and execute

    make

then error come .Use

make NOX11=yes

go to project directory (android folder) in cygwin and

ndk-build

thats all you get .so file

run the project.

Sorry for the bad English.

You have to run make command using Cygwin.

MAC

Please follow the following this steps

also take care of steps of readme file

Replace MUPDF_ROOT := $(call my-dir) by MUPDF_ROOT := ..

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!