Skip to content
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

System.IO.FileNotFoundException #11

Open
mcjj23 opened this issue Dec 3, 2012 · 1 comment
Open

System.IO.FileNotFoundException #11

mcjj23 opened this issue Dec 3, 2012 · 1 comment

Comments

@mcjj23
Copy link

mcjj23 commented Dec 3, 2012

Hi!
I'm using tesseract 3.01 and vs 2008.
When I run the tesseractconsole.exe via command line, an exception happened:

C:\Users\Iris>E:\tesseract\tesseract-ocr-dotnet-master\tesseractconsole.exe E:\t
esseract\tesseract-ocr-dotnet-master\phototest.tif E:\tesseract\tesseract-ocr-do
tnet-master\abc.txt

未处理的异常: System.IO.FileNotFoundException: 未能加载文件或程序集“tesseract,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。系统
找不到指定的文件。
文件名:“tesseract, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”
在 tesseractconsole.Program.Main(String[] args)

警告: 程序集绑定日志记录被关闭。
要启用程序集绑定失败日志记录,请将注册表值 HKLM\Software\Microsoft\Fusion!Enabl
eLog
设置为 1。
注意: 会有一些与程序集绑定失败日志记录关联的性能损失。
要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

What's the problem?
Thanks in advance!

@charlesw
Copy link
Owner

charlesw commented Dec 6, 2012

looks like the tesseract dll is missing, if your building this from within vs2008 it should have been copied across, provided it built correctly alternative you could just grab the latest download and update the tesseract console project to incude them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants