-
Notifications
You must be signed in to change notification settings - Fork 745
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
Failed to find library libtesseract400.dll #427
Comments
Unexpected Error: Exception has been thrown by the target of an invocation. |
If I rebuild the application using the old dlls (tesseract.dll (3.0.2), liblept172.dll and libtesseract304.dll) it runs correctly on Windows 10 and Windows 2012. |
What hardware is the win 2012 box it running on? I believe the current
tess4 binaries have AVX optimisation enabled which doesn't work for AMD or
older Intel chips.
I haven't currently got a build setup for tess4 to fix this atm (tess4
support is currently mainly driven from community contributions).
…On Sat., 23 Jun. 2018, 06:53 ilochray, ***@***.***> wrote:
If I rebuild the application using the old dlls (tesseract.dll (3.0.2),
liblept172.dll and libtesseract304.dll) it runs correctly on Windows 10 and
Windows 2012.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#427 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPzyPTjEOb5ieBsSpGFOh7NsptjFDogks5t_VkvgaJpZM4U0Yop>
.
|
It's a VM running AMD processors. I noticed that issue is a previous post so, when I rebuilt tesseract.dll, I unticked the Optimize code button in the Build options. Is there something else I need to do? I noticed that another poster rebuilt libtesseract400.dll & liblept1742.dll. |
Not necessarily, looks like it's controlled via a compiler switch (
https://stackoverflow.com/questions/28939652/how-to-detect-sse-sse2-avx-avx2-avx-512-avx-128-fma-kcvi-availability-at-compile).
I believe if __AVX__ is defined then tesseract will include these
instructions.
…On Wed., 27 Jun. 2018, 03:35 ilochray, ***@***.***> wrote:
It's a VM running AMD processors. I noticed that issue is a previous post
so, when I rebuilt tesseract.dll, I unticked the Optimize code button in
the Build options. Is there something else I need to do? I noticed that
another poster rebuilt libtesseract400.dll & liblept1742.dll.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#427 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPzyIuTiB2vXAPsOMpadjtpfKuGgyJkks5uAnDtgaJpZM4U0Yop>
.
|
I have built tesseract.dll using the code in feature/321-Tesseract-4 and used the result to build the sample console application on my Windows 10 PC. The application runs fine. I can then copy the .exe and .dll files to a different folder on my PC and the application still runs fine.
If I then copy the folder to a Windows 2012 R2 server and try to run the application it crashed with error "Failed to find library libtesseract400.dll".
I have installed the appropriate C++ runtime files and tried building in both 32 and 64 bit modes. The tesseract and leptonica libraries are in the correct location.
procmon says that libtesseract400.dll is being correctly loaded and shows no errors.
I have read issues #304 and #363 but still no success.
Do you have and more suggestions?
The text was updated successfully, but these errors were encountered: