DayBreakZhang / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
1 stars 0 forks source link

fatal error: allheaders.h: No such file or directory #include <allheaders.h> #1461

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. git clone https://code.google.com/p/tesseract-android-tools/
2. cd <project-directory>
3. curl -O 
https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
4. curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz
5. tar -zxvf tesseract-ocr-3.02.02.tar.gz
6. tar -zxvf leptonica-1.69.tar.gz
7. rm -f tesseract-ocr-3.02.02.tar.gz
8. rm -f leptonica-1.69.tar.gz
9. ndk-build -j8

What is the expected output? What do you see instead?
The expected output should be BUILD SUCCESSFUL

But I get the following errors:

In file included from jni/com_googlecode_leptonica_android/pixa.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error: allheaders.h: 
No such file or directory
#include <allheaders.h>
                       ^
In file included from jni/com_googlecode_leptonica_android/pix.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error: allheaders.h: 
No such file or directory
#include <allheaders.h>
                       ^
compilation terminated.
In file included from jni/com_googlecode_leptonica_android/readfile.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error: allheaders.h: 
No such file or directory
#include <allheaders.h>
                       ^
compilation terminated.
compilation terminated.
In file included from jni/com_googlecode_leptonica_android/jni.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error: allheaders.h: 
No such file or directory
#include <allheaders.h>
                       ^
compilation terminated.
In file included from jni/com_googlecode_leptonica_android/utilities.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error:   
allheaders.h: No such file or directory
#include <allheaders.h>
                       ^
compilation terminated.
In file included from jni/com_googlecode_leptonica_android/writefile.cpp:17:0:
jni/com_googlecode_leptonica_android/common.h:22:24: fatal error: allheaders.h: 
No such file or directory
#include <allheaders.h>
                       ^
compilation terminated.
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
#include <allheaders.h>
                       ^
compilation terminated.
make: *** [obj/local/armeabi/objs/lept/pix.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/local/armeabi/objs/lept/readfile.o] Error 1
make: *** [obj/local/armeabi/objs/lept/utilities.o] Error 1
make: *** [obj/local/armeabi/objs/lept/jni.o] Error 1
make: *** [obj/local/armeabi/objs/lept/writefile.o] Error 1
make: *** [obj/local/armeabi/objs/lept/pixa.o] Error 1
make: *** [obj/local/armeabi/objs/lept/box.o] Error 1

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

tesseract-ocr-3.02.02 on  Mac OS X Yosemite 10.10.1

Please provide any additional information below.

Original issue reported on code.google.com by forclep...@gmail.com on 24 Apr 2015 at 1:59

GoogleCodeExporter commented 9 years ago
we do not provide support for extranal project.

Original comment by zde...@gmail.com on 24 Apr 2015 at 8:08

GoogleCodeExporter commented 9 years ago
I am simply trying to build tesseract. None of the above issues pertains to a 
personal project. 

Original comment by forclep...@gmail.com on 25 Apr 2015 at 3:22