Code Monkey home page Code Monkey logo

Comments (4)

b-oern avatar b-oern commented on June 5, 2024

any progress on this?

from tess-two.

rmtheis avatar rmtheis commented on June 5, 2024

No, not at the moment. I should have time to look at this in a few weeks. Let me know or do a pull request if you find the source of the problem. The build still works with NDK r6b.

from tess-two.

wnafee avatar wnafee commented on June 5, 2024

I got it working with NDK r7. You have to make a few small mods to your Android.mk files. Here's what I did:

  1. For <path-to-tess-two>/jni/Android.mk, I added the export commands in there to make my life easy:

    TESSERACT_PATH := $(call my-dir)/../external/tesseract-3.01
    LEPTONICA_PATH := $(call my-dir)/../external/leptonica-1.68
    LIBJPEG_PATH := $(call my-dir)/../external/libjpeg
    
  2. For <path-to-tess-two>/jni/com_googlecode_leptonica_android/Android.mk I changed LOCAL_PATH := to LOCAL_PATH := $(call my-dir)/../..

  3. For <path-to-tess-two>/jni/com_googlecode_tesseract_android/Android.mk I changed LOCAL_PATH := to LOCAL_PATH := $(call my-dir)/../..

That's all I needed to do and it worked fine.

from tess-two.

rmtheis avatar rmtheis commented on June 5, 2024

Thanks @wnafee! I've checked in your contributions.

from tess-two.

Related Issues (20)

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.