visual studio 2015 and tesseract 3.05 on x64

2019-04-16 04:02发布

well i really need help here. my problem is how can i add tesseract 3.05 and leptonica 1.73 libraries to visual studio 2015 x64 (windows 10).

i manage to do that last summer with visual studio 2013 and the older version of leptonica and tesseract because it was kinda easy and all includes and lib was there i just had to give the path and download some dll. but now i couldn't even see the right include and lib that i should use. well i'm not pro in those things so please if anyone can help me and give me some steps to do.

some guys post this link: https://github.com/peirick/leptonica

but no idea how to use it.

2条回答
男人必须洒脱
2楼-- · 2019-04-16 04:40

Given link working fine, there are few steps; you can compile tesseract and leptonica in visual studio 2015

Step1: Take material provided from this

Step2: Copy files from this into VS2015_Tesseract-master\leptonica\ folder

Step3: Copy files of tesseract from github into VS2015_Tesseract-master\tesseract_3.04 folder

Step4: Compile libtesseract or tesseract in x64 platform

Done!!

查看更多
三岁会撩人
3楼-- · 2019-04-16 04:45

Today I built Tesseract 3.05

  • Windows 10 64 bit

  • Visual Studio 2015

I cloned this Repository: https://github.com/peirick/VS2015_Tesseract

In the resulting directory ... VS2015_Tesseract I deleted

  • subdirectory leptonica

  • subdirectory tesseract_3.05

Then I opened a command prompt as administrator in VS2015_Tesseract and executed

build_tesseract.bat

1501 warnings

0 errors

To get the API work, I needed to add dependencies:

tesseract.lib;openjpeg.lib;libwebp.lib;libtiff.lib;libtesseract.lib;libpng.lib;liblept.lib;libjpeg.lib;jbig2enc.lib;giflib.lib;zlib.lib;

查看更多
登录 后发表回答