Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing files for native build #44

Open
GoogleCodeExporter opened this issue Mar 31, 2016 · 1 comment
Open

Missing files for native build #44

GoogleCodeExporter opened this issue Mar 31, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant