error in integration of mupdf library

前端 未结 5 1250
走了就别回头了
走了就别回头了 2020-12-19 10:22

I am working on a project in which i have to deal with pdf view. I am trying to integrate mupdf library in my project but getting error as mentioned below. I have followed a

相关标签:
5条回答
  • 2020-12-19 10:26

    You have to run make command using Cygwin.

    0 讨论(0)
  • 2020-12-19 10:35

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

    0 讨论(0)
  • 2020-12-19 10:38

    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.

    0 讨论(0)
  • 2020-12-19 10:47

    Please follow the following this steps

    also take care of steps of readme file

    0 讨论(0)
  • 2020-12-19 10:48

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

    0 讨论(0)
提交回复
热议问题