如何使用mupdf查看pdf [英] how to use mupdf for viewing pdf

查看:683
本文介绍了如何使用mupdf查看pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个Android应用,其中我需要阅读和搜索pdf文件的内容,我在使用mupdf开放源代码方面遇到了困难,因此任何人都可以通过提供有关如何使用mupdf的详细说明来提供帮助.我已经在Windows上下载了android ndk-r8b,eclipse indigo,并且还提前安装了cygwin ...谢谢.

I am trying to develop an android app where i need to read and search content of pdf files,i am having a hard time in using mupdf open source ,so can anybody help by giving a detailed description on how to use mupdf.I have downloaded android ndk-r8b,eclipse indigo on windows,and also have cygwin...thanks in advance

推荐答案

好!我自己解决了这个问题,花了我大约30个小时才使它开始工作,所以我认为这将对某人有所帮助.....

ok! I solved the problem myself,it took me around 30 hrs to get it to work, so i thought it would help someone.....

报价:

使用
下载(mupdf-1.1-source.tar.gz)和MUPDF(mupdf-thirdparty-2012-08-14) /> http://mupdf.com/download/Unzip(mupdf-1.1-source.tar.gz)到文件夹并重命名
"mupdf",解压缩(mupdf-thirdparty-2012-08-14)到文件夹,然后将文件夹的内容复制到"mupdf"中.
为了获得结果,我们需要使用最新的Android ndk和Cygwin,请从相关站点下载.
在cygwin终端中,使用"cd"命令键入mupdf文件夹的路径,例如cd d:/abc/mupdf
然后按回车,您将得到类似"/cygdrive/d/abc/mupdf"的信息,现在键入
使前缀=/usr/local安装"
然后按Enter键,获得一些输出后,键入Android ndk的路径并运行build命令,
前-d:/Anroid/android-ndk-r8b/ndk-build
然后按回车,就可以得到library.so文件.

Download (mupdf-1.1-source.tar.gz) and MUPDF (mupdf-thirdparty-2012-08-14) using
http://mupdf.com/download/Unzip (mupdf-1.1-source.tar.gz) to folder and rename it
"mupdf",Unzip (mupdf-thirdparty-2012-08-14) to folder and copy the content of folder into"mupdf".
For getting the result we need to use latest Android ndk and Cygwin,download it from the related sites.
Inside cygwin terminal,type the path of the mupdf folder using "cd" command, Ex- cd d:/abc/mupdf
and press enter,you will get something like " /cygdrive/d/abc/mupdf ", now type
"make prefix=/usr/local install"
and press enter,after getting some output, type the path of your Android ndk and run the build command,
Ex-d:/Anroid/android-ndk-r8b/ndk-build
and press enter,thats it you will get the library.so file .


这篇关于如何使用mupdf查看pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆