--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/96dcaf32-c4d0-4e5b-9f02-c06285bccdbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Please see the following for the suggested solutionsCan't Install Latest Head With Brew3.05 can't be be built as Standalone Self-contained Tesseract-OCR for MacRegarding tessdata_prefixyou can try the followingeitherEXPORT the locationorgive --tessdata-dir as part of commandeg.export TESSDATA_PREFIX=/home/shree/tesseract-ocrtesseract --tessdata-dir=/home/shree/tesseract-ocr testing/phototest.jpg testing/phototest-jpgyour /path/to/repos/tesseract/should reflect where you have your tessdata files.
ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Sun, Jul 30, 2017 at 11:02 PM, Kevin Schiesser <kevin.josep...@gmail.com> wrote:
Hi all,
I hit 2 walls when trying the build and run tesseract from the latest checkout of master on OS X Sierra. First, I ran into some issues when running make training. After some Makefile hacking I was able to link libpango-1.0, but failed on libgobject-2.0. I couldn't find much about the availability of this library for Macs and stopped there.
The second issue is when running the tesseract vanilla OCR binary built from source:
TESSDATA_PREFIX=/path/to/repos/tesseract/tessdata tesseract AmazonSonicare.pdf ./
Error opening data file /path/to/repos/tesseract/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.
Along the way I had to depart from the Mac Homebrew instructions on the git wiki and pass in gcc/g++ v7.0 to the configure step (the instructions say to use v6.0). That said, the main binary build didn't report any warnings or errors.
Does the project intend to support Mac or should I simply use a Linux environment going forward?
Thanks much,
Kevin
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
./configure: line 4193: syntax error near unexpected token `-mavx,'
./configure: line 4193: `AX_CHECK_COMPILE_FLAG(-mavx, avx=true, avx=false)'
Anyone has any idea what this means?