DLL runtime issues with API on Windows

174 views
Skip to first unread message

Anthony Vallone

unread,
Nov 11, 2023, 9:20:53 AM11/11/23
to tesseract-ocr
Hello,

I am using MSYS2 to install tesseract on Windows, following the installation instructions:

pacman -S mingw-w64-x86_64-tesseract-ocr
pacman -S mingw-w64-x86_64-tesseract-data-eng

Then, I am attempting to run the example code.

When I run my executable, I get the following pop up error:

the procedure entry point _ZSt17_istream_extractRSiPcx could not be located in the dynamic link library C:\msys64\mingw64\bin\libtesseract-5.dll

Any thoughts on what is causing this?

Zdenko Podobny

unread,
Nov 11, 2023, 9:24:28 AM11/11/23
to tesser...@googlegroups.com
Please provide full information to replicate the problem (exact code, how did you completed it...)

Zdenko


so 11. 11. 2023 o 15:20 Anthony Vallone <anthony...@gmail.com> napísal(a):
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/e6279840-4f40-474f-ace2-2b9f73fe064dn%40googlegroups.com.

Anthony Vallone

unread,
Nov 11, 2023, 9:55:10 PM11/11/23
to tesser...@googlegroups.com
In the process of trying to isolate the issue, I think I found the problem. I had a libstdc++-6.dll file in the application directory. I deleted that file and the problem went away. Somehow this DLL was causing a conflict with libtesseract-5.dll. I can't say that I am a fan of DLLs :-)

Reply all
Reply to author
Forward
0 new messages