Comments (14)
Try doing the build in the regular cmd.exe command prompt, not Git shell or PowerShell.
from tess-two.
The result is likely the same. Does this means any problem for my ndk? I did update the environment path variable after extract the ndk zip folder. is there anything more i miss?
from tess-two.
Hmm...you might want to try removing Mingw/Cygwin related values from your PATH environment variable setting. The NDK may be seeing the wrong compiler--it may be seeing your Mingw compiler.
from tess-two.
This is all the variables in my PATH environment variable with ndk as the latest one. Does any of it seem to take over the NDK compiler?
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\MATLAB\R2013a\bin;C:\Program Files\Condusiv Technologies\ExpressCache;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;%OPENCV_BUILD%\x86\vc10\bin;C:\Emgu\emgucv-windows-universal-gpu 2.4.9.1847\bin\x64;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit;D:\programming\android_setup\adt-bundle-windows-x86_64-20131030\adt-bundle-windows-x86_64-20131030\android-ndk-r9c\
from tess-two.
Oh--your pathnames may be too long because your NDK is installed somewhat deep in the directory structure. I would try moving your NDK to D:\android-ndk-r9c.
from tess-two.
Wow! It is working! I have been working at this stage for two days. Thank you so much! rmtheis!
from tess-two.
Glad you got it working!
from tess-two.
I have a same problem, but i check the path its d:/ndk/
still error
C:\Users\AbdulAhad\tess\tess-two>ndk-build
[armeabi] Compile arm : jpeg <= jidctfst.S
jni/../external/libjpeg/jidctfst.S: Assembler messages:
jni/../external/libjpeg/jidctfst.S:66: Error: missing ')'
jni/../external/libjpeg/jidctfst.S:66: Error: garbage following instruction -- pld (r2,#0)' jni/../external/libjpeg/jidctfst.S:259: Error: missing ')' jni/../external/libjpeg/jidctfst.S:259: Error: garbage following instruction --
pld (sp,#32)'
jni/../external/libjpeg/jidctfst.S:271: Error: missing ')'
jni/../external/libjpeg/jidctfst.S:271: Error: garbage following instruction --
`pld (ip,#32)'
make.exe: *** [obj/local/armeabi/objs/jpeg/jidctfst.o] Error 1
Can you please help me out what i am missing...!
from tess-two.
@abdulahad Did you do git clone git://github.com/rmtheis/tess-two tess
?
from tess-two.
yes i did this!
git clone git://github.com/rmtheis/tess-two tess
cd tess
git checkout 071820a
cd tess-two
ndk-build
from tess-two.
@abdulahad Don't do that git checkout. That step is not in the build instructions.
from tess-two.
@rmtheis Thanks its working ....
but i am using the project https://github.com/TheWall89/AndrOCR that's why i am doing the checkout step...
from tess-two.
Hi there,
I am trying to run same app, but I get following error:
"
C:\Users\Mcodes\tess-two-master\tess-two>ndk-build
[armeabi] Compile thumb : jpgt <= jaricom.c
error: error opening './obj/local/armeabi/objs/jpgt/jaricom.o.d': Error opening
output file './obj/local/armeabi/objs/jpgt/jaricom.o.d': No such file or
directory
1 error generated.
make.exe: *** [obj/local/armeabi/objs/jpgt/jaricom.o] Error 1
"
from tess-two.
Can anyone help me to fix above error? Many thanks
from tess-two.
Related Issues (20)
- Initializing TessBaseAPI crashes app HOT 2
- How to build tess-two without JNI? HOT 1
- error in Android 7.0 HOT 1
- import tess two error HOT 4
- Arabic trained-data produce 20% accuracy HOT 2
- java.lang.NoSuchFieldError: no "I" field "mNativeData" in class "Lcom/googlecode/tesseract/android/TessBaseAPI;" or its superclasses HOT 2
- java.lang.NoSuchFieldError: no "I" field "mNativeData" in class "Lcom/googlecode/tesseract/android/TessBaseAPI;" or its superclasses HOT 2
- How I can init the tesseract to work only with digits? HOT 5
- tess4 on android studio HOT 1
- Tess4 initialize crash HOT 1
- Can't lanch
- Could not initialize Tesseract API with language=ces! HOT 2
- Illegible words recognition in Persian lang HOT 2
- Getting different results when using tesseract on mobile vs on PC using Python. HOT 2
- Decoding is slow when multiple languages are used HOT 2
- In versions higher than 5.4.1 TessBaseAPI.ProgressNotifier never called HOT 1
- Native crush when 'vert'.tessdata is used HOT 1
- read Jpeg and PNG produce wrong alpha in 32bpp pix HOT 4
- Crash on Android L HOT 2
- AndroidX support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tess-two.