marellanor / tesseract-android-tools

Automatically exported from code.google.com/p/tesseract-android-tools
0 stars 0 forks source link

Missing files for native build #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run "ndk-build" in the main project directory after checking out the project 

What is the expected output? What do you see instead?
Expected successful ndk built, instead - missing files and references are 
returned. Example:
In file included from jni/com_googlecode_leptonica_android/box.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error: allheaders.h: 
No such file or directory
C:/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../
lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: 
./obj/local/armeabi/objs/lept/
writefile.o: in function 
Java_com_googlecode_leptonica_android_WriteFile_nativeWriteBitmap:jni/com_google
code_leptonica_android/writefile.cpp:162: error: undefined reference to 
'pixGetData'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/liblept.so] Error 1

What version of the product are you using? On what operating system?
ndk r8d, tesseract 3.02.02, Windows 7

Please provide any additional information below.
It seems there are missing source files. Some of these are included in other 
releases under the jni/com_googlecode_leptonica_android/src 

Original issue reported on code.google.com by ilian.ni...@gmail.com on 30 Jan 2013 at 4:14

GoogleCodeExporter commented 8 years ago
Please ignore (refuse) previous post, there is explicit note in the README that 
Tesseract and Leptonica libraries should be downloaded before building this 
library.
I had assumed this instance is a complete bundle, which was my mistake, 
apologies. 

Original comment by ilian.ni...@gmail.com on 1 Feb 2013 at 4:25