You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
I have tried to copy the tesseract 4 inside the /home/m/tess/tess-two/jni/com_googlecode_tesseract_android/src tess-two to compile it with the ndk-build for Android. But I got these result:
jni/com_googlecode_tesseract_android/tessbaseapi.cpp:550:31: error: assigning to
'PROGRESS_FUNC' (aka 'bool (*)(int, int, int, int, int)') from
incompatible type 'bool (void *, int, int, int, int, int)': different
number of parameters (5 vs 6)
monitor.progress_callback = progressJavaCallback;
^~~~~~~~~~~~~~~~~~~~
jni/com_googlecode_tesseract_android/tessbaseapi.cpp:553:11: error: no member
named 'progress_this' in 'ETEXT_DESC'
monitor.progress_this = nat;
jni/com_googlecode_tesseract_android/tessbaseapi.cpp:628:44: error: no matching
constructor for initialization of 'tesseract::TessPDFRenderer'
...= new tesseract::TessPDFRenderer(c_output_path, nat->api.GetDatapath());
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jni/com_googlecode_tesseract_android/src/api/renderer.h:186:16: note: candidate
constructor (the implicit copy constructor) not viable: requires 1
argument, but 2 were provided
class TESS_API TessPDFRenderer : public TessResultRenderer {
^
jni/com_googlecode_tesseract_android/src/api/renderer.h:186:16: note: candidate
constructor (the implicit move constructor) not viable: requires 1
argument, but 2 were provided
jni/com_googlecode_tesseract_android/src/api/renderer.h:190:3: note: candidate
constructor not viable: requires 3 arguments, but 2 were provided
TessPDFRenderer(const char* outputbase, const char* datadir, bool textonly);
^
3 errors generated.
make: *** [obj/local/armeabi/objs/tess/tessbaseapi.o] Error 1
The text was updated successfully, but these errors were encountered:
I have tried to copy the
tesseract 4
inside the/home/m/tess/tess-two/jni/com_googlecode_tesseract_android/src
tess-two to compile it with thendk-build
for Android. But I got these result:The text was updated successfully, but these errors were encountered: