x64位DLL& LIB文件可用于C ++ Leptonica& Tesseract-OCR库? [英] Does x64 bit DLL & LIB files are available for C++ Leptonica & Tesseract-OCR library?

查看:80
本文介绍了x64位DLL& LIB文件可用于C ++ Leptonica& Tesseract-OCR库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将c ++ 32位项目exe转换为x64位exe。在我的项目中,我使用了OpenCV,Leptonica和Tesseract-OCR c ++库。但对于Leptonica和Tesseract,即使在互联网上也没有获得x64位DLL和LIB文件。由于项目构建时发生此链接错误。



那么,我如何获得Leptonica和Tesseract-OCR的c ++ x64位DLL和LIB文件?





我获取了Leptonica库的完整源代码。然后使用x64位环境在visual studio中构建它。它成功构建了它的x64位DLL& amp; LIB文件正常工作。

然后我获取了Tesseract-OCR库的完整源代码并在VS2008中为x64位构建它,但它提供了很多链接错误[LNK2001:未解析的外部符号]。 />
VS2008中32位相同的Tesseract源代码工作正常。

请帮忙。

I am converting c++ 32 bit project exe to x64 bit exe. In my project I used OpenCV, Leptonica and Tesseract-OCR c++ libraries. But for Leptonica and Tesseract, I do not get x64 bit DLL & LIB files, even on internet also. Due to this Linking error occured while project build.

So, how do I get c++ x64 bit DLL & LIB files of Leptonica & Tesseract-OCR?


I took full source code of Leptonica library. Then build it in visual studio with x64 bit environment. It build successfully and its x64 bit DLL & LIB files are working.
Then I took full source code of Tesseract-OCR library and build it in VS2008 for x64 bit, but it gives lots of linking error[LNK2001 : unresolved external symbol].
Same Tesseract source code in VS2008 for 32 bit is working fine.
Please help.

推荐答案

这两个库都是开源。当开源产品的作者发布他们的代码时,他们不必为所有可能的平台和CPU架构提供它的构建。你不应该试图找到它们。我总是建议以源代码的形式使用开源产品。怎么样?我在评论中回答了这个问题。



-SA
Both libraries are open-source. When the authors of open-source product publish their code, they don't have to provide the build of it for all possible platforms and CPU architectures. And you should not try to find them. I always advise to use open-source products in the form of source code. How? I answered in my comment to the question.

—SA


这篇关于x64位DLL& LIB文件可用于C ++ Leptonica& Tesseract-OCR库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆