Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
The problem is solved now, I download leptonica-1.66 to solve the problem. But 
another error occurred :
Compile++ thumb  : lept <= utilities.cpp
//media/00B42E57B42E5008/android-ndk-r6b/jni/com_googlecode_leptonica_android/ut
ilities.cpp:19:28: error: android/bitmap.h: No such file or directory
make: *** 
[/media/00B42E57B42E5008/android-ndk-r6b/obj/local/armeabi/objs/lept//media/00B4
2E57B42E5008/android-ndk-r6b/jni/com_googlecode_leptonica_android/utilities.o] 
Error 1


I just realized that com_googlecode_leptonica_android directory doesnt contain 
android directory and bitmap.h file

Is something missing there?

Best Regards,

Priska

Original comment by [email protected] on 6 Nov 2011 at 7:25

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi 
I am using the same lib leptonlib-1.66 and facing the same kind of error as you 
mentioned in your first comment. But I am not able to come out from this error. 
Please help me and tell how you were able to comeout from this error.

Follwoing error is coming ::

"Compile++ thumb : lept <= box.cpp
In file included from 
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_androi
d\box.cpp:17:
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
/common.h:22:24: err
or: allheaders.h: No such file or directory
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'jint Java_com_googlecode_leptonica_android_Box_nativeCreate(JNIEnv*, _jclass*, jint, jint, jint, j
int)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: '
l_int32' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: e
xpected ')' before 'y'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: e
xpected ')' before 'w'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: e
xpected ')' before 'h'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:27: error: '
boxCreate' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'void Java_com_googlecode_leptonica_android_Box_nativeDestroy(JNIEnv*, _jclass*, jint)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:35: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:35: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:35: error: e
xpected primary-expression before ')' token
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:35: error: e
xpected ';' before 'nativeBox'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:37: error: '
boxDestroy' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'jint Java_com_googlecode_leptonica_android_Box_nativeGetX(JNIEnv*, _jclass*, jint)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:43: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:43: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:43: error: e
xpected primary-expression before ')' token
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:43: error: e
xpected ';' before 'nativeBox'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'jint Java_com_googlecode_leptonica_android_Box_nativeGetY(JNIEnv*, _jclass*, jint)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:51: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:51: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:51: error: e
xpected primary-expression before ')' token
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:51: error: e
xpected ';' before 'nativeBox'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'jint Java_com_googlecode_leptonica_android_Box_nativeGetWidth(JNIEnv*, _jclass*, jint)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:59: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:59: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:59: error: e
xpected primary-expression before ')' token
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:59: error: e
xpected ';' before 'nativeBox'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'jint Java_com_googlecode_leptonica_android_Box_nativeGetHeight(JNIEnv*, _jclass*, jint)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:67: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:67: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:67: error: e
xpected primary-expression before ')' token
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:67: error: e
xpected ';' before 'nativeBox'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp: In function
 'jboolean Java_com_googlecode_leptonica_android_Box_nativeGetGeometry(JNIEnv*, _jclass*, jint, _jin
tArray*)':
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:76: error: '
BOX' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:76: error: '
box' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:76: error: e
xpected primary-expression before ')' token
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:76: error: e
xpected ';' before 'nativeBox'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:78: error: '
l_int32' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:78: error: e
xpected ';' before 'x'
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:80: error: '
x' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:80: error: '
y' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:80: error: '
w' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:80: error: '
h' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:80: error: '
boxGetGeometry' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:84: error: '
x' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:85: error: '
y' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:86: error: '
w' was not declared in this scope
jni/com_googlecode_leptonica_android/../../jni/com_googlecode_leptonica_android\
box.cpp:87: error: '
h' was not declared in this scope
make: *** 
[obj/local/armeabi/objs/lept/__/__/jni/com_googlecode_leptonica_android\box.o] 
Error 1

Original comment by [email protected] on 23 Mar 2012 at 1:16

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
[deleted comment]

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi Priska..

I tried With leptonica-1.66 lib as well from the link 
http://code.google.com/p/leptonica/downloads/detail?name=leptonica-1.66-win32-li
b-include-dirs.zip&can=2&q=
but still I am not able to compile. Please let me know the detail steps which 
you followed in building lept lib.
Also, plz let me know whether you integrated leptonica-1.66 seperately along 
with leptonlib  or completely by replacing leptonlib.
Also plz let me know what steps did you followed in modifying Android.mk file. 
I am facing problem in updating that file also 

Please provide me help asap..... 

Original comment by [email protected] on 23 Mar 2012 at 1:53

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Obsolete. Follow instructions in tesseract-android-tools/README.

Original comment by [email protected] on 11 Sep 2012 at 8:05

  • Changed state: Fixed

from tesseract-android-tools.

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.