Comments (9)
committed but it seems that this is only occurrence of OpenMP support...
from tesseract.
Hi, when I try to compile on a Mac with this commit in (for testing #71), I now get the following error:
configure: error: conditional "OPENMP" was never defined.
Usually this means the macro was only invoked conditionally.
from tesseract.
Did you run ./autogen.sh after git pull? Was it without error? Can you provide config.log?
from tesseract.
Here's a config.log
for the current master
branch after ./autogen.sh
&& ./configure
: https://gist.github.com/c134a55446c99b9702fe
Same process succeeds if I revert bb19f2c.
from tesseract.
I think this may be related to this problem/answer: http://stackoverflow.com/a/32122781
As I believe the conftest should find <omp.h>
when given -fopenmp
. I'm currently letting the gcc reinstall run, and will report back after.
But also the configure process probably shouldn't fail by default if there's no OpenMP support detected/enabled.
from tesseract.
Confirmed that after brew reinstall gcc --without-multilib
, I can use e.g. brew install --HEAD --cc=gcc-5 tesseract
and the configure/make will succeed with bb19f2c in. Without --cc=gcc-5
it fails due to the lack of OpenMP support in the current Clang/LLVM compiler shipped with OS X (i.e. the default Mac "gcc
").
from tesseract.
Thanks for testing and report. Should be fixed in f331a57.
from tesseract.
@ryanfb, @zdenop
FYI, Clang 3.7 now support OpenMP.
OpenMP 3.1 is fully supported, but disabled by default. To enable it, please use the -fopenmp=libomp command line option.
http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html#openmp-support
from tesseract.
Patches are welcommed ;) Anyway tesseract can use OpenMP only in one place....
from tesseract.
Related Issues (20)
- Linker Error for tesseract53.lib HOT 1
- Add redirect function HOT 1
- Add ICD Codes in english trained Data HOT 2
- Some CI jobs (GitHub Actions) are failing HOT 10
- uuencode-generated text is OCRed with many mistakes HOT 2
- Error! The command "tesseract" was not found. HOT 2
- Error! The command "tesseract" was not found
- unicharset_extractor segfault HOT 31
- Please add the API call to translate the language code to the full language name HOT 3
- Warning: LSTMTrainer deserialized an LSTMRecognizer! Error, data/eng/eng_num_vert.lstm is an integer (fast) model, cannot continue training HOT 7
- Add the NN for a 'random' ASCII language HOT 1
- "min_characters_to_try" parameter does not work HOT 2
- phonetic symbols and special characters HOT 1
- inform where we can find tesseract.exe HOT 1
- Native Crash in otsuthr.cpp HOT 2
- CI: vcpkg failure due to missing xz tarball HOT 4
- link error LNK1120 with text2image.exe
- Mac m1, not able to compile HOT 2
- OCR of Indian Currency Sign " ₹" HOT 2
- please support linux binary , like fzf HOT 1
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 tesseract.