-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make training issue #1374
Comments
Hi . I have never seen before 4.00 - beta ... Are you sure beta??? tesseract is yet Alpha |
… ____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Mon, Mar 12, 2018 at 10:15 AM, godofcheerup ***@***.***> wrote:
Hi . I have never seen before 4.00 - beta ...
Are you sure beta??? tesseract is yet Alpha
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1374 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE2_o4e6XVx1FxhrCF5Kn51i-0wQX9Faks5tdf1MgaJpZM4SmBOf>
.
|
Do you have the additional dependencies required for building training tools? |
See #1179 (comment)
|
thx @Shreeshrii |
Alex compiled an rpm package with tesseract-ocr for CentOS, Fedora, ScientificLinux, OpenSuse. https://build.opensuse.org/project/show/home:Alexander_Pozdnyakov @16seven Please check if it works on Centos7. |
|
The issue was reported before 98747b3 was merged. The version of the icu package in the official CentOS repo is |
Even with the latest version from Git the issue still exists as I noticed today. The version check fails, but the header check says that everything is fine and allows building training tools with the know build error. |
The build was done on a Red Hat Enterprise Linux Server release 7.5. |
The issue still seems to exist. Any solutions yet? |
What do you mean with "the issue still exist"? Is there issue with recent version of ICU (>52.1)? |
If icu is below 52.1, no error is thrown, when configuring. The error appears first during make-ing the training. |
So why you asks for solution? amitdo already wrote you need to have ICU >= 52.1 |
The missing requirements should be found, but is not. The missing ICU libraries should be complained during configure. The option to make training should not be displayed. Instead a warning: "Missing ICU..." |
But it is not solution for you problem! You will not be able to build training tool with it. Solution is to use recent ICU version. And it is already described. |
See pull request #2211 for a fix of this issue. |
Thanks a lot @stweil for your contribution. This is the solution I was hoping for. |
@JensHumrich If you have trouble with ICU version you can add remi repo for CentOS 7 and install libicu62. I was having similar issue as i was not able to make training because icu <=51.2 in release4.1.1
|
Environment
Current Behavior:
Install tesseract from git source
Tesseract tools was installed fine
But compile training tools when exec
make training
occur
boxchar.cpp:67:42: error: 'U_RIGHT_TO_LEFT_ISOLATE' was not declared in this scope dir == U_ARABIC_NUMBER || dir == U_RIGHT_TO_LEFT_ISOLATE) {
Suggested Fix:
Remove the code?
|| dir == U_RIGHT_TO_LEFT_ISOLATE
Does have any effect?
The text was updated successfully, but these errors were encountered: