Git Product home page Git Product logo

mupdf-android's People

Watchers

 avatar

mupdf-android's Issues

No able to generate library for android using (NDK)

I followed below steps to create Library for android NDK

1. Copied 'jni' folder from the <mupdf>/android folder into your existing 
Eclipse project.
2. Copied the <mupdf>/thirdparty folder into the 'jni' folder in your project.
3. Copied the <mupdf>/cbz folder into the 'jni' folder in your project.
4. Copied the <mupdf>/draw folder into the 'jni' folder in your project.
5. Copied the <mupdf>/fitz folder into the 'jni' folder in your project.
6. Copied the <mupdf>/generated folder into the 'jni' folder in your project.
7. Copied the <mupdf>/pdf folder into the 'jni' folder in your project.
8. Copied the <mupdf>/scripts folder into the 'jni' folder in your project.
8. Copied the <mupdf>/xps folder into the 'jni' folder in your project.

Changed
MUPDF_ROOT := ..
to 
MUPDF_ROOT := $(TOP_LOCAL_PATH)

And Changed
MY_ROOT := ../.. 
to  MY_ROOT := $(LOCAL_PATH) in Core.mk file same changes in LOCAL_C_INCLUDES to
$(LOCAL_PATH)

In ThirdParty.mk changed LOCAL_C_INCLUDES to $(LOCAL_PATH)
executed 'ndk-build' in your project's 'jni' directory.

steps followed from this link http://pastebin.com/YzHUhzE7
and also ready me file from the project

while using ndk-build following log i found in cygdrive

Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup       : libs/armeabi/gdb.setup
Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver
Gdbsetup       : libs/armeabi-v7a/gdb.setup
Cygwin         : Generating dependency file converter script
Compile thumb  : mupdf <= mupdf.c
make: *** No rule to make target `jni/jni/fitz/base_context.c', needed by 
`obj/local/armeabi/objs-debug/mupdfcore/jni/fitz/base_context.o'.  Stop.

In libs directory of my eclipse project .so library for mupdf is not generating

mupdf-1.1-source/android
mupdf-thirdparty-2012-08-14 for thirdparty
in windows system

so am i doing wrong related to directory path? as i am able to compile other 
ndk projects.

Need help for this problem which m facing
Thanks..


Original issue reported on code.google.com by [email protected] on 4 Oct 2012 at 5:05

Is memory leak?

What steps will reproduce the problem?
1. Catch the cost memory when PDF is shown. For example, assign a file path to 
activity and I got memory cost is about 7 Mb.
2. Modify the activity to show the PDF three times. Catch the cost memory. I 
found it has memory leak problem and got memory cost is about 26 Mb.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Jul 2011 at 8:37

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.