fatal error: fitz.h: No such file or directory in muPDF library

前端 未结 3 2194
半阙折子戏
半阙折子戏 2021-01-15 17:11

I m trying to compile the muPDF lib in eclipse for android app since 3 days without any success

I downloaded and configured the android-ndk, cygwin

Im gettin

相关标签:
3条回答
  • 2021-01-15 17:32

    Check the jni folder and find the Anroid.mk. Open it and check whether you added the LOCAL_SRC_FILES and LOCAL_C_INCLUDES. The LOCAL_C_INCLUDES should be your .h files' path. The LOCAL_SRC_FILES should be every .c or .cpp file's path.

    0 讨论(0)
  • 2021-01-15 17:39

    You're also using an old version of the MuPDF source code.

    1) Use the latest version (1.5 currently, or better, work from git).

    2) Don't build it using eclipse, use the supported ndk/sdk based build as described in platform/android/ReadMe.txt. If you want to use eclipse, do so only after you have managed to build it in the supported way.

    3) Do not skip step 10 of the instructions. Seriously, why does everyone try to skip step 10?

    4) If you get stuck, come talk to us in the #ghostscript irc channel on freenode. A weblink can be found to this on mupdf.com

    0 讨论(0)
  • 2021-01-15 17:43

    cygwin no t install properly, follow following links and sure your installations correctly than run some commands according to below links.

    For window 7

    For window XP

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