Please note that this repo has now been superseeded by tesseract-vs.
Tesseract OCR engine dependencies with VS 2013 support, both 64 and 32 bit.
This repository contains the dependencies for Google's Tesseract OCR project for tesseract 3.03 and leptonica 1.71, along with dependencies for everything but WEBP support.
- Open VS 2013 Developer Command Prompt and change the directory to this repository.
- Execute the following command
msbuild build.proj
The build libraries and headers will be copied to ~\release
when done.
Note: The following assumes that your working directory is C:\tesseract-build\
, however this can be wherever you want.
- Copy
vs2013+64bit_support.patch
toC:\tesseract-build\
- Checkout the tesseract source from GIT Repo into
C:\tesseract-build\tesseract
. - Open a new git prompt at
C:\tesseract-build\tesseract
enter:git checkout -b 3.04-vs2013 3.04.00
to checkout the3.04.00
tag into a new branch named3.04-vs2013
git am --signoff < ../vs2013+64bit_support.patch
to apply thevs2013+64bit_support.patch
to the tesseract source (this creates a new VS 2013 solution located atC:\tesseract-build\tesseract\vs2013\tesseract.sln
).
- Copy the previously built dependencies to the parent directory (e.g.
C:\tesseract-build\
) - Open the
C:\tesseract-build\tesseract\vs2013\tesseract.sln
solution in VS 2013 and build your desired configuration.
All projects are made available under their original license(s).
- Leptonica -
~/liblept/leptonica-license.txt
- GifLib -
~/giflib/COPYING
- LibJpeg -
~/libjpeg/README
- LibPng -
~/libpng/LICENSE
- libtff -
~/libtiff/COPYRIGHT
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.