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
IM-LP-577:Downloads sbachu$ ocropus-nlbin test.JPG -o output
clang: warning: -O4 is equivalent to -O3
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
Traceback (most recent call last):
File "/usr/local/bin/ocropus-nlbin", line 15, in
import ocrolib
File "/usr/local/lib/python2.7/site-packages/ocrolib/init.py", line 12, in
from common import *
File "/usr/local/lib/python2.7/site-packages/ocrolib/common.py", line 34, in
import lstm
File "/usr/local/lib/python2.7/site-packages/ocrolib/lstm.py", line 38, in
import nutils
File "/usr/local/lib/python2.7/site-packages/ocrolib/nutils.py", line 25, in
lstm_native = compile_and_load(lstm_utils)
File "/usr/local/lib/python2.7/site-packages/ocrolib/native.py", line 69, in compile_and_load
path = compile_and_find(c_string,**keys)
File "/usr/local/lib/python2.7/site-packages/ocrolib/native.py", line 65, in compile_and_find
raise CompileError()
ocrolib.native.CompileError
OSX's bundled clang doesn't have OpenMP support enabled apparently. I don't have a Mac so I can't help you with that, but googleing macosx clang opnmp shows a few SO answers to that.
Expected Behavior
Unable to run ocropus-nlbin
Current Behavior
IM-LP-577:Downloads sbachu$ ocropus-nlbin test.JPG -o output
clang: warning: -O4 is equivalent to -O3
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
Traceback (most recent call last):
File "/usr/local/bin/ocropus-nlbin", line 15, in
import ocrolib
File "/usr/local/lib/python2.7/site-packages/ocrolib/init.py", line 12, in
from common import *
File "/usr/local/lib/python2.7/site-packages/ocrolib/common.py", line 34, in
import lstm
File "/usr/local/lib/python2.7/site-packages/ocrolib/lstm.py", line 38, in
import nutils
File "/usr/local/lib/python2.7/site-packages/ocrolib/nutils.py", line 25, in
lstm_native = compile_and_load(lstm_utils)
File "/usr/local/lib/python2.7/site-packages/ocrolib/native.py", line 69, in compile_and_load
path = compile_and_find(c_string,**keys)
File "/usr/local/lib/python2.7/site-packages/ocrolib/native.py", line 65, in compile_and_find
raise CompileError()
ocrolib.native.CompileError
Steps to Reproduce (for bugs)
Your Environment
Git revision of ocropy:
commit d823ba4
Merge: 5027794 8f354ad
Author: Konstantin Baierer kba@users.noreply.github.com
Date: Fri Sep 29 16:19:54 2017 +0200
Merge pull request Standardize Imports I, #176 #206 from zuphilip/imports
Standardize Imports I, Standardize imports #176
Operating System and version: Mac OS Sierra
The text was updated successfully, but these errors were encountered: