add VS2010 solution and update VS2008 solution

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@899 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop@gmail.com 2013-10-31 13:14:24 +00:00
parent 73df602707
commit 3993f0fb96
30 changed files with 1614 additions and 54 deletions

View File

@ -15,7 +15,7 @@ So, the steps for making Tesseract are:
$ sudo make install
$ sudo make install-langs
$ make training
$ sudo make training-installation
$ sudo make training-install
'sudo make install-langs' or 'sudo make install LANGS=' will install all
available language data files in tessdata directory.

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Generate sets of words Tesseract is likely to find ambiguous"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "ambiguous_words"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "ambiguous_words.exe"
VALUE "ProductName", "Tesseract-OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Tests a Tesseract character classifier on data formatted for training"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "classifier_tester"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "classifier_tester.exe"
VALUE "ProductName", "Tesseract OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Character normalization training for Tesseract"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "cntraining"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "cntraining.exe"
VALUE "ProductName", "Tesseract OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Combine/extract/overwrite Tesseract data"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "combine_tessdata"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "combine_tessdata.exe"
VALUE "ProductName", "Tesseract OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Converts a Tesseract DAWG to a wordlist"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "dawg2wordlist"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "dawg2wordlist.exe"
VALUE "ProductName", "Tesseract OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -7,14 +7,14 @@
>
<UserMacro
Name="LIBTESS_VERSION"
Value="302"
Value="303"
/>
<UserMacro
Name="LIBTESS_VERSION_R"
Value="3,2,0,0"
Value="3,3,0,0"
/>
<UserMacro
Name="LIBTESS_NUMBER"
Value="3.02"
Value="3.03"
/>
</VisualStudioPropertySheet>

View File

@ -2,7 +2,7 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="libtesseract302"
Name="libtesseract303"
ProjectGUID="{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
RootNamespace="libtesseract"
TargetFrameworkVersion="196613"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,3,0
PRODUCTVERSION 3,2,3,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -72,7 +72,7 @@ BEGIN
VALUE "FileDescription", "Tesseract OCR library"
VALUE "FileVersion", "3, 3, 0, 0"
VALUE "InternalName", "libtesseract"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "libtesseract"
VALUE "ProductName", "Tesseract OCR Library"
VALUE "ProductVersion", "3, 3, 0, 0"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "feature training for Tesseract"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "mftraining"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "mftraining.exe"
VALUE "ProductName", "Tesseract-OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Shape clustering training for Tesseract"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "shapeclustering"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "shapeclustering.exe"
VALUE "ProductName", "Tesseract-OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtesseract302", "libtesseract\libtesseract.vcproj", "{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtesseract303", "libtesseract\libtesseract.vcproj", "{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tesseract", "tesseract\tesseract.vcproj", "{C76996CB-C4CB-4D89-9F67-F605DF129618}"
ProjectSection(ProjectDependencies) = postProject

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Extracts unicharset from Tesseract boxfiles"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "unicharset_extractor"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "unicharset_extractor.exe"
VALUE "ProductName", "Tesseract-OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -53,8 +53,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,0,0
PRODUCTVERSION 3,2,0,0
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -70,12 +70,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Converts a wordlist to a DAWG for Tesseract"
VALUE "FileVersion", "3,2,0,0"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "wordlist2dawg"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "wordlist2dawg.exe"
VALUE "ProductName", "Tesseract-OCR"
VALUE "ProductVersion", "3.02"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<GIFLIB_VERSION>416</GIFLIB_VERSION>
<LIBJPEG_VERSION>8c</LIBJPEG_VERSION>
<LIBLEPT_VERSION>168</LIBLEPT_VERSION>
<LIBLEPT_VERSION_R>1,68,0,0</LIBLEPT_VERSION_R>
<LIBLEPT_NUMBER>1.68</LIBLEPT_NUMBER>
<LIBPNG_VERSION>143</LIBPNG_VERSION>
<LIBTIFF_VERSION>394</LIBTIFF_VERSION>
<ZLIB_VERSION>125</ZLIB_VERSION>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
</PropertyGroup>
<ItemGroup>
<BuildMacro Include="GIFLIB_VERSION">
<Value>$(GIFLIB_VERSION)</Value>
</BuildMacro>
<BuildMacro Include="LIBJPEG_VERSION">
<Value>$(LIBJPEG_VERSION)</Value>
</BuildMacro>
<BuildMacro Include="LIBLEPT_VERSION">
<Value>$(LIBLEPT_VERSION)</Value>
</BuildMacro>
<BuildMacro Include="LIBLEPT_VERSION_R">
<Value>$(LIBLEPT_VERSION_R)</Value>
</BuildMacro>
<BuildMacro Include="LIBLEPT_NUMBER">
<Value>$(LIBLEPT_NUMBER)</Value>
</BuildMacro>
<BuildMacro Include="LIBPNG_VERSION">
<Value>$(LIBPNG_VERSION)</Value>
</BuildMacro>
<BuildMacro Include="LIBTIFF_VERSION">
<Value>$(LIBTIFF_VERSION)</Value>
</BuildMacro>
<BuildMacro Include="ZLIB_VERSION">
<Value>$(ZLIB_VERSION)</Value>
</BuildMacro>
</ItemGroup>
</Project>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="leptonica_versionnumbers.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<LIBTESS_VERSION>303</LIBTESS_VERSION>
<LIBTESS_VERSION_R>3,3,0,0</LIBTESS_VERSION_R>
<LIBTESS_NUMBER>3.03</LIBTESS_NUMBER>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
</PropertyGroup>
<ItemGroup>
<BuildMacro Include="LIBTESS_VERSION">
<Value>$(LIBTESS_VERSION)</Value>
</BuildMacro>
<BuildMacro Include="LIBTESS_VERSION_R">
<Value>$(LIBTESS_VERSION_R)</Value>
</BuildMacro>
<BuildMacro Include="LIBTESS_NUMBER">
<Value>$(LIBTESS_NUMBER)</Value>
</BuildMacro>
</ItemGroup>
</Project>

View File

@ -0,0 +1,788 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="DLL_Debug|Win32">
<Configuration>DLL_Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DLL_Release|Win32">
<Configuration>DLL_Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="LIB_Debug|Win32">
<Configuration>LIB_Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="LIB_Release|Win32">
<Configuration>LIB_Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>libtesseract303</ProjectName>
<ProjectGuid>{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}</ProjectGuid>
<RootNamespace>libtesseract</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">false</EnableManagedIncrementalBuild>
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">false</EnableManagedIncrementalBuild>
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">false</EnableManagedIncrementalBuild>
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">false</EnableManagedIncrementalBuild>
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(ProjectName)-static-debug</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">$(ProjectName)-static</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(ProjectName)d</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ShowIncludes>false</ShowIncludes>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PostBuildEvent>
<Message>copy library to lib directory</Message>
<Command>if not exist ..\..\..\lib md ..\..\..\lib
copy "$(TargetPath)" ..\..\..\lib
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_LIB;USE_STD_NAMESPACE;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<Name>
</Name>
</Lib>
<PostBuildEvent>
<Message>copy library to lib directory</Message>
<Command>if not exist ..\..\..\lib md ..\..\..\lib
copy "$(TargetPath)" ..\..\..\lib
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_USRDLL;_WINDLL;USE_STD_NAMESPACE;TESS_EXPORTS;LIBLEPT_IMPORTS;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION).lib</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<Version>$(LIBTESS_NUMBER)</Version>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<LinkTimeCodeGeneration>
</LinkTimeCodeGeneration>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PostBuildEvent>
<Message>copy library to lib directory</Message>
<Command>if not exist ..\..\..\lib md ..\..\..\lib
copy "$(TargetPath)" ..\..\..\lib
copy "$(TargetDir)$(TargetName).lib" ..\..\..\lib
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;_WINDLL;USE_STD_NAMESPACE;TESS_EXPORTS;LIBLEPT_IMPORTS;WINDLLNAME="$(TargetFileName)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ShowIncludes>false</ShowIncludes>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION)d.lib</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<Version>$(LIBTESS_NUMBER)</Version>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PostBuildEvent>
<Message>copy library to lib directory</Message>
<Command>if not exist ..\..\..\lib md ..\..\..\lib
copy "$(TargetPath)" ..\..\..\lib
copy "$(TargetDir)$(TargetName).lib" ..\..\..\lib
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\ccmain\adaptions.cpp" />
<ClCompile Include="..\..\classify\adaptive.cpp" />
<ClCompile Include="..\..\classify\adaptmatch.cpp" />
<ClCompile Include="..\..\textord\alignedblob.cpp" />
<ClCompile Include="..\..\cube\altlist.cpp" />
<ClCompile Include="..\..\ccutil\ambigs.cpp" />
<ClCompile Include="..\..\ccmain\applybox.cpp" />
<ClCompile Include="..\..\wordrec\associate.cpp" />
<ClCompile Include="..\..\api\baseapi.cpp" />
<ClCompile Include="..\..\ccutil\basedir.cpp" />
<ClCompile Include="..\..\textord\bbgrid.cpp" />
<ClCompile Include="..\..\cube\beam_search.cpp" />
<ClCompile Include="..\..\ccutil\bits16.cpp" />
<ClCompile Include="..\..\cutil\bitvec.cpp" />
<ClCompile Include="..\..\ccutil\bitvector.cpp" />
<ClCompile Include="..\..\textord\blkocc.cpp" />
<ClCompile Include="..\..\ccstruct\blobbox.cpp" />
<ClCompile Include="..\..\classify\blobclass.cpp" />
<ClCompile Include="..\..\textord\blobgrid.cpp" />
<ClCompile Include="..\..\ccstruct\blobs.cpp" />
<ClCompile Include="..\..\ccstruct\blread.cpp" />
<ClCompile Include="..\..\cube\bmp_8.cpp" />
<ClCompile Include="..\..\ccstruct\boxread.cpp" />
<ClCompile Include="..\..\ccstruct\boxword.cpp" />
<ClCompile Include="..\..\cube\cached_file.cpp" />
<ClCompile Include="..\..\cutil\callcpp.cpp" />
<ClCompile Include="..\..\api\capi.cpp" />
<ClCompile Include="..\..\textord\ccnontextdetect.cpp" />
<ClCompile Include="..\..\ccstruct\ccstruct.cpp" />
<ClCompile Include="..\..\ccutil\ccutil.cpp" />
<ClCompile Include="..\..\cube\char_altlist.cpp" />
<ClCompile Include="..\..\cube\char_bigrams.cpp" />
<ClCompile Include="..\..\cube\char_samp.cpp" />
<ClCompile Include="..\..\cube\char_samp_enum.cpp" />
<ClCompile Include="..\..\cube\char_samp_set.cpp" />
<ClCompile Include="..\..\cube\char_set.cpp" />
<ClCompile Include="..\..\classify\chartoname.cpp" />
<ClCompile Include="..\..\wordrec\chop.cpp" />
<ClCompile Include="..\..\wordrec\chopper.cpp" />
<ClCompile Include="..\..\textord\cjkpitch.cpp" />
<ClCompile Include="..\..\cube\classifier_factory.cpp" />
<ClCompile Include="..\..\classify\classify.cpp" />
<ClCompile Include="..\..\ccutil\clst.cpp" />
<ClCompile Include="..\..\classify\cluster.cpp" />
<ClCompile Include="..\..\classify\clusttool.cpp" />
<ClCompile Include="..\..\textord\colfind.cpp" />
<ClCompile Include="..\..\textord\colpartition.cpp" />
<ClCompile Include="..\..\textord\colpartitiongrid.cpp" />
<ClCompile Include="..\..\textord\colpartitionset.cpp" />
<ClCompile Include="..\..\cube\con_comp.cpp" />
<ClCompile Include="..\..\dict\context.cpp" />
<ClCompile Include="..\..\ccmain\control.cpp" />
<ClCompile Include="..\..\cube\conv_net_classifier.cpp" />
<ClCompile Include="..\..\ccstruct\coutln.cpp" />
<ClCompile Include="..\..\ccmain\cube_control.cpp" />
<ClCompile Include="..\..\cube\cube_line_object.cpp" />
<ClCompile Include="..\..\cube\cube_line_segmenter.cpp" />
<ClCompile Include="..\..\cube\cube_object.cpp" />
<ClCompile Include="..\..\ccmain\cube_reco_context.cpp" />
<ClCompile Include="..\..\cube\cube_search_object.cpp" />
<ClCompile Include="..\..\cube\cube_tuning_params.cpp" />
<ClCompile Include="..\..\cube\cube_utils.cpp" />
<ClCompile Include="..\..\ccmain\cubeclassifier.cpp" />
<ClCompile Include="..\..\cutil\cutil.cpp" />
<ClCompile Include="..\..\cutil\cutil_class.cpp" />
<ClCompile Include="..\..\classify\cutoffs.cpp" />
<ClCompile Include="..\..\cutil\danerror.cpp" />
<ClCompile Include="..\..\dict\dawg.cpp" />
<ClCompile Include="..\..\ccstruct\detlinefit.cpp" />
<ClCompile Include="..\..\textord\devanagari_processing.cpp" />
<ClCompile Include="..\..\dict\dict.cpp" />
<ClCompile Include="..\..\ccmain\docqual.cpp" />
<ClCompile Include="..\..\ccstruct\dppoint.cpp" />
<ClCompile Include="..\..\textord\drawedg.cpp" />
<ClCompile Include="..\..\wordrec\drawfx.cpp" />
<ClCompile Include="..\..\textord\drawtord.cpp" />
<ClCompile Include="..\..\textord\edgblob.cpp" />
<ClCompile Include="..\..\textord\edgloop.cpp" />
<ClCompile Include="..\..\cutil\efio.cpp" />
<ClCompile Include="..\..\ccutil\elst.cpp" />
<ClCompile Include="..\..\ccutil\elst2.cpp" />
<ClCompile Include="..\..\cutil\emalloc.cpp" />
<ClCompile Include="..\..\ccmain\equationdetect.cpp" />
<ClCompile Include="..\..\textord\equationdetectbase.cpp" />
<ClCompile Include="..\..\ccutil\errcode.cpp" />
<ClCompile Include="..\..\classify\errorcounter.cpp" />
<ClCompile Include="..\..\classify\extract.cpp" />
<ClCompile Include="..\..\classify\featdefs.cpp" />
<ClCompile Include="..\..\cube\feature_bmp.cpp" />
<ClCompile Include="..\..\cube\feature_chebyshev.cpp" />
<ClCompile Include="..\..\cube\feature_hybrid.cpp" />
<ClCompile Include="..\..\wordrec\findseam.cpp" />
<ClCompile Include="..\..\ccmain\fixspace.cpp" />
<ClCompile Include="..\..\ccmain\fixxht.cpp" />
<ClCompile Include="..\..\classify\flexfx.cpp" />
<ClCompile Include="..\..\classify\float2int.cpp" />
<ClCompile Include="..\..\ccstruct\fontinfo.cpp" />
<ClCompile Include="..\..\textord\fpchop.cpp" />
<ClCompile Include="..\..\classify\fpoint.cpp" />
<ClCompile Include="..\..\cutil\freelist.cpp" />
<ClCompile Include="..\..\classify\fxdefs.cpp" />
<ClCompile Include="..\..\textord\gap_map.cpp" />
<ClCompile Include="..\..\ccstruct\genblob.cpp" />
<ClCompile Include="..\port\gettimeofday.cpp" />
<ClCompile Include="..\..\ccutil\globaloc.cpp" />
<ClCompile Include="..\..\wordrec\gradechop.cpp" />
<ClCompile Include="..\..\ccutil\hashfn.cpp" />
<ClCompile Include="..\..\cube\hybrid_neural_net_classifier.cpp" />
<ClCompile Include="..\..\dict\hyphen.cpp" />
<ClCompile Include="..\..\image\image.cpp" />
<ClCompile Include="..\..\textord\imagefind.cpp" />
<ClCompile Include="..\..\image\imgs.cpp" />
<ClCompile Include="..\..\ccmain\imgscale.cpp" />
<ClCompile Include="..\..\ccutil\indexmapbidi.cpp" />
<ClCompile Include="..\..\neural_networks\runtime\input_file_buffer.cpp" />
<ClCompile Include="..\..\classify\intfeaturedist.cpp" />
<ClCompile Include="..\..\classify\intfeaturemap.cpp" />
<ClCompile Include="..\..\classify\intfeaturespace.cpp" />
<ClCompile Include="..\..\classify\intfx.cpp" />
<ClCompile Include="..\..\classify\intmatcher.cpp" />
<ClCompile Include="..\..\classify\intproto.cpp" />
<ClCompile Include="..\..\classify\kdtree.cpp" />
<ClCompile Include="..\..\wordrec\language_model.cpp" />
<ClCompile Include="..\..\textord\linefind.cpp" />
<ClCompile Include="..\..\ccstruct\linlsq.cpp" />
<ClCompile Include="..\..\cutil\listio.cpp" />
<ClCompile Include="..\..\ccmain\ltrresultiterator.cpp" />
<ClCompile Include="..\..\ccutil\mainblk.cpp" />
<ClCompile Include="..\..\wordrec\makechop.cpp" />
<ClCompile Include="..\..\textord\makerow.cpp" />
<ClCompile Include="..\..\classify\mastertrainer.cpp" />
<ClCompile Include="..\..\ccstruct\matrix.cpp" />
<ClCompile Include="..\..\ccutil\memry.cpp" />
<ClCompile Include="..\..\classify\mf.cpp" />
<ClCompile Include="..\..\classify\mfdefs.cpp" />
<ClCompile Include="..\..\classify\mfoutline.cpp" />
<ClCompile Include="..\..\classify\mfx.cpp" />
<ClCompile Include="..\..\ccstruct\mod128.cpp" />
<ClCompile Include="..\..\neural_networks\runtime\neural_net.cpp" />
<ClCompile Include="..\..\neural_networks\runtime\neuron.cpp" />
<ClCompile Include="..\..\ccstruct\normalis.cpp" />
<ClCompile Include="..\..\classify\normfeat.cpp" />
<ClCompile Include="..\..\classify\normmatch.cpp" />
<ClCompile Include="..\..\ccstruct\ocrblock.cpp" />
<ClCompile Include="..\..\classify\ocrfeatures.cpp" />
<ClCompile Include="..\..\ccstruct\ocrpara.cpp" />
<ClCompile Include="..\..\ccstruct\ocrrow.cpp" />
<ClCompile Include="..\..\textord\oldbasel.cpp" />
<ClCompile Include="..\..\cutil\oldlist.cpp" />
<ClCompile Include="..\..\wordrec\olutil.cpp" />
<ClCompile Include="..\..\ccmain\osdetect.cpp" />
<ClCompile Include="..\..\ccstruct\otsuthr.cpp" />
<ClCompile Include="..\..\classify\outfeat.cpp" />
<ClCompile Include="..\..\wordrec\outlines.cpp" />
<ClCompile Include="..\..\ccmain\output.cpp" />
<ClCompile Include="..\..\ccmain\pageiterator.cpp" />
<ClCompile Include="..\..\ccstruct\pageres.cpp" />
<ClCompile Include="..\..\ccmain\pagesegmain.cpp" />
<ClCompile Include="..\..\ccmain\pagewalk.cpp" />
<ClCompile Include="..\..\ccmain\paragraphs.cpp" />
<ClCompile Include="..\..\ccutil\params.cpp" />
<ClCompile Include="..\..\ccmain\paramsd.cpp" />
<ClCompile Include="..\..\ccstruct\pdblock.cpp" />
<ClCompile Include="..\..\dict\permdawg.cpp" />
<ClCompile Include="..\..\ccmain\pgedit.cpp" />
<ClCompile Include="..\..\classify\picofeat.cpp" />
<ClCompile Include="..\..\wordrec\pieces.cpp" />
<ClCompile Include="..\..\textord\pithsync.cpp" />
<ClCompile Include="..\..\textord\pitsync1.cpp" />
<ClCompile Include="..\..\wordrec\plotedges.cpp" />
<ClCompile Include="..\..\ccstruct\points.cpp" />
<ClCompile Include="..\..\ccstruct\polyaprx.cpp" />
<ClCompile Include="..\..\ccstruct\polyblk.cpp" />
<ClCompile Include="..\..\classify\protos.cpp" />
<ClCompile Include="..\..\ccstruct\publictypes.cpp" />
<ClCompile Include="..\..\ccstruct\quadlsq.cpp" />
<ClCompile Include="..\..\ccstruct\quadratc.cpp" />
<ClCompile Include="..\..\ccstruct\quspline.cpp" />
<ClCompile Include="..\..\ccstruct\ratngs.cpp" />
<ClCompile Include="..\..\ccmain\recogtraining.cpp" />
<ClCompile Include="..\..\ccstruct\rect.cpp" />
<ClCompile Include="..\..\ccstruct\rejctmap.cpp" />
<ClCompile Include="..\..\ccmain\reject.cpp" />
<ClCompile Include="..\..\wordrec\render.cpp" />
<ClCompile Include="..\..\ccmain\resultiterator.cpp" />
<ClCompile Include="..\..\classify\sampleiterator.cpp" />
<ClCompile Include="..\..\ccmain\scaleimg.cpp" />
<ClCompile Include="..\..\textord\scanedg.cpp" />
<ClCompile Include="..\..\viewer\scrollview.cpp" />
<ClCompile Include="..\..\ccstruct\seam.cpp" />
<ClCompile Include="..\..\cube\search_column.cpp" />
<ClCompile Include="..\..\cube\search_node.cpp" />
<ClCompile Include="..\..\wordrec\segsearch.cpp" />
<ClCompile Include="..\..\ccutil\serialis.cpp" />
<ClCompile Include="..\..\classify\shapetable.cpp" />
<ClCompile Include="..\..\neural_networks\runtime\sigmoid_table.cpp" />
<ClCompile Include="..\..\textord\sortflts.cpp" />
<ClCompile Include="..\..\ccstruct\split.cpp" />
<ClCompile Include="..\..\ccstruct\statistc.cpp" />
<ClCompile Include="..\..\ccstruct\stepblob.cpp" />
<ClCompile Include="..\..\dict\stopper.cpp" />
<ClCompile Include="..\..\ccutil\strngs.cpp" />
<ClCompile Include="..\..\textord\strokewidth.cpp" />
<ClCompile Include="..\port\strtok_r.cpp" />
<ClCompile Include="..\..\cutil\structures.cpp" />
<ClCompile Include="..\..\viewer\svmnode.cpp" />
<ClCompile Include="..\..\viewer\svpaint.cpp" />
<ClCompile Include="..\..\image\svshowim.cpp" />
<ClCompile Include="..\..\viewer\svutil.cpp" />
<ClCompile Include="..\..\textord\tabfind.cpp" />
<ClCompile Include="..\..\textord\tablefind.cpp" />
<ClCompile Include="..\..\textord\tablerecog.cpp" />
<ClCompile Include="..\..\textord\tabvector.cpp" />
<ClCompile Include="..\..\cube\tess_lang_mod_edge.cpp" />
<ClCompile Include="..\..\cube\tess_lang_model.cpp" />
<ClCompile Include="..\..\ccmain\tessbox.cpp" />
<ClCompile Include="..\..\classify\tessclassifier.cpp" />
<ClCompile Include="..\..\ccutil\tessdatamanager.cpp" />
<ClCompile Include="..\..\ccmain\tessedit.cpp" />
<ClCompile Include="..\..\ccmain\tesseract_cube_combiner.cpp" />
<ClCompile Include="..\..\ccmain\tesseractclass.cpp" />
<ClCompile Include="..\..\ccmain\tessvars.cpp" />
<ClCompile Include="..\..\textord\textlineprojection.cpp" />
<ClCompile Include="..\..\textord\textord.cpp" />
<ClCompile Include="..\..\wordrec\tface.cpp" />
<ClCompile Include="..\..\ccmain\tfacepp.cpp" />
<ClCompile Include="..\..\ccmain\thresholder.cpp" />
<ClCompile Include="..\..\textord\topitch.cpp" />
<ClCompile Include="..\..\textord\tordmain.cpp" />
<ClCompile Include="..\..\textord\tospace.cpp" />
<ClCompile Include="..\..\textord\tovars.cpp" />
<ClCompile Include="..\..\ccutil\tprintf.cpp" />
<ClCompile Include="..\..\classify\trainingsample.cpp" />
<ClCompile Include="..\..\classify\trainingsampleset.cpp" />
<ClCompile Include="..\..\dict\trie.cpp" />
<ClCompile Include="..\..\textord\underlin.cpp" />
<ClCompile Include="..\..\ccutil\unichar.cpp" />
<ClCompile Include="..\..\ccutil\unicharmap.cpp" />
<ClCompile Include="..\..\ccutil\unicharset.cpp" />
<ClCompile Include="..\..\ccutil\unicodes.cpp" />
<ClCompile Include="..\..\ccstruct\vecfuncs.cpp" />
<ClCompile Include="..\..\ccstruct\werd.cpp" />
<ClCompile Include="..\..\ccmain\werdit.cpp" />
<ClCompile Include="..\..\cube\word_altlist.cpp" />
<ClCompile Include="..\..\cube\word_list_lang_model.cpp" />
<ClCompile Include="..\..\cube\word_size_model.cpp" />
<ClCompile Include="..\..\cube\word_unigrams.cpp" />
<ClCompile Include="..\..\wordrec\wordclass.cpp" />
<ClCompile Include="..\..\wordrec\wordrec.cpp" />
<ClCompile Include="..\..\textord\wordseg.cpp" />
<ClCompile Include="..\..\textord\workingpartset.cpp" />
<ClCompile Include="..\..\classify\xform2d.cpp" />
<ClCompile Include="..\..\api\renderer.cpp" />
<ClCompile Include="..\..\ccmain\superscript.cpp" />
<ClCompile Include="..\..\ccstruct\blamer.cpp" />
<ClCompile Include="..\..\ccstruct\params_training_featdef.cpp" />
<ClCompile Include="..\..\ccutil\scanutils.cpp" />
<ClCompile Include="..\..\ccutil\universalambigs.cpp" />
<ClCompile Include="..\..\classify\shapeclassifier.cpp" />
<ClCompile Include="..\..\dict\dawg_cache.cpp" />
<ClCompile Include="..\..\textord\baselinedetect.cpp" />
<ClCompile Include="..\..\wordrec\lm_consistency.cpp" />
<ClCompile Include="..\..\wordrec\lm_pain_points.cpp" />
<ClCompile Include="..\..\wordrec\lm_state.cpp" />
<ClCompile Include="..\..\wordrec\params_model.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\classify\adaptive.h" />
<ClInclude Include="..\..\textord\alignedblob.h" />
<ClInclude Include="..\..\cube\altlist.h" />
<ClInclude Include="..\..\ccutil\ambigs.h" />
<ClInclude Include="..\..\api\apitypes.h" />
<ClInclude Include="..\..\wordrec\associate.h" />
<ClInclude Include="..\..\api\baseapi.h" />
<ClInclude Include="..\..\ccutil\basedir.h" />
<ClInclude Include="..\..\textord\bbgrid.h" />
<ClInclude Include="..\..\cube\beam_search.h" />
<ClInclude Include="..\..\ccutil\bits16.h" />
<ClInclude Include="..\..\cutil\bitvec.h" />
<ClInclude Include="..\..\ccutil\bitvector.h" />
<ClInclude Include="..\..\ccstruct\blckerr.h" />
<ClInclude Include="..\..\textord\blkocc.h" />
<ClInclude Include="..\..\ccstruct\blobbox.h" />
<ClInclude Include="..\..\classify\blobclass.h" />
<ClInclude Include="..\..\textord\blobgrid.h" />
<ClInclude Include="..\..\ccstruct\blobs.h" />
<ClInclude Include="..\..\ccstruct\blread.h" />
<ClInclude Include="..\..\cube\bmp_8.h" />
<ClInclude Include="..\..\ccstruct\boxread.h" />
<ClInclude Include="..\..\ccstruct\boxword.h" />
<ClInclude Include="..\..\cube\cached_file.h" />
<ClInclude Include="..\..\cutil\callcpp.h" />
<ClInclude Include="..\..\api\capi.h" />
<ClInclude Include="..\..\textord\ccnontextdetect.h" />
<ClInclude Include="..\..\ccstruct\ccstruct.h" />
<ClInclude Include="..\..\ccutil\ccutil.h" />
<ClInclude Include="..\..\cube\char_altlist.h" />
<ClInclude Include="..\..\cube\char_bigrams.h" />
<ClInclude Include="..\..\cube\char_samp.h" />
<ClInclude Include="..\..\cube\char_samp_enum.h" />
<ClInclude Include="..\..\cube\char_samp_set.h" />
<ClInclude Include="..\..\cube\char_set.h" />
<ClInclude Include="..\..\classify\chartoname.h" />
<ClInclude Include="..\..\wordrec\chop.h" />
<ClInclude Include="..\..\wordrec\chopper.h" />
<ClInclude Include="..\..\textord\cjkpitch.h" />
<ClInclude Include="..\..\cube\classifier_base.h" />
<ClInclude Include="..\..\cube\classifier_factory.h" />
<ClInclude Include="..\..\classify\classify.h" />
<ClInclude Include="..\..\ccutil\clst.h" />
<ClInclude Include="..\..\classify\cluster.h" />
<ClInclude Include="..\..\classify\clusttool.h" />
<ClInclude Include="..\..\textord\colfind.h" />
<ClInclude Include="..\..\textord\colpartition.h" />
<ClInclude Include="..\..\textord\colpartitiongrid.h" />
<ClInclude Include="..\..\textord\colpartitionset.h" />
<ClInclude Include="..\..\cube\con_comp.h" />
<ClInclude Include="..\..\cutil\const.h" />
<ClInclude Include="..\..\ccmain\control.h" />
<ClInclude Include="..\..\cube\conv_net_classifier.h" />
<ClInclude Include="..\..\ccstruct\coutln.h" />
<ClInclude Include="..\..\ccstruct\crakedge.h" />
<ClInclude Include="..\..\cube\cube_const.h" />
<ClInclude Include="..\..\cube\cube_line_object.h" />
<ClInclude Include="..\..\cube\cube_line_segmenter.h" />
<ClInclude Include="..\..\cube\cube_object.h" />
<ClInclude Include="..\..\ccmain\cube_reco_context.h" />
<ClInclude Include="..\..\cube\cube_search_object.h" />
<ClInclude Include="..\..\cube\cube_tuning_params.h" />
<ClInclude Include="..\..\cube\cube_utils.h" />
<ClInclude Include="..\..\ccmain\cubeclassifier.h" />
<ClInclude Include="..\..\cutil\cutil.h" />
<ClInclude Include="..\..\cutil\cutil_class.h" />
<ClInclude Include="..\..\classify\cutoffs.h" />
<ClInclude Include="..\..\cutil\danerror.h" />
<ClInclude Include="..\..\dict\dawg.h" />
<ClInclude Include="..\..\ccstruct\detlinefit.h" />
<ClInclude Include="..\..\textord\devanagari_processing.h" />
<ClInclude Include="..\..\dict\dict.h" />
<ClInclude Include="..\..\ccmain\docqual.h" />
<ClInclude Include="..\..\ccstruct\dppoint.h" />
<ClInclude Include="..\..\textord\drawedg.h" />
<ClInclude Include="..\..\wordrec\drawfx.h" />
<ClInclude Include="..\..\textord\drawtord.h" />
<ClInclude Include="..\..\textord\edgblob.h" />
<ClInclude Include="..\..\textord\edgloop.h" />
<ClInclude Include="..\..\cutil\efio.h" />
<ClInclude Include="..\..\ccutil\elst.h" />
<ClInclude Include="..\..\ccutil\elst2.h" />
<ClInclude Include="..\..\cutil\emalloc.h" />
<ClInclude Include="..\..\ccmain\equationdetect.h" />
<ClInclude Include="..\..\textord\equationdetectbase.h" />
<ClInclude Include="..\..\ccutil\errcode.h" />
<ClInclude Include="..\..\classify\errorcounter.h" />
<ClInclude Include="..\..\classify\extern.h" />
<ClInclude Include="..\..\classify\extract.h" />
<ClInclude Include="..\..\classify\featdefs.h" />
<ClInclude Include="..\..\cube\feature_base.h" />
<ClInclude Include="..\..\cube\feature_bmp.h" />
<ClInclude Include="..\..\cube\feature_chebyshev.h" />
<ClInclude Include="..\..\cube\feature_hybrid.h" />
<ClInclude Include="..\..\ccutil\fileerr.h" />
<ClInclude Include="..\..\wordrec\findseam.h" />
<ClInclude Include="..\..\ccmain\fixspace.h" />
<ClInclude Include="..\..\classify\flexfx.h" />
<ClInclude Include="..\..\classify\float2int.h" />
<ClInclude Include="..\..\ccstruct\fontinfo.h" />
<ClInclude Include="..\..\textord\fpchop.h" />
<ClInclude Include="..\..\classify\fpoint.h" />
<ClInclude Include="..\..\cutil\freelist.h" />
<ClInclude Include="..\..\classify\fxdefs.h" />
<ClInclude Include="..\..\textord\gap_map.h" />
<ClInclude Include="..\..\ccstruct\genblob.h" />
<ClInclude Include="..\..\ccutil\genericvector.h" />
<ClInclude Include="..\port\gettimeofday.h" />
<ClInclude Include="..\..\ccutil\globaloc.h" />
<ClInclude Include="..\..\cutil\globals.h" />
<ClInclude Include="..\..\wordrec\gradechop.h" />
<ClInclude Include="..\..\ccutil\hashfn.h" />
<ClInclude Include="..\..\ccutil\helpers.h" />
<ClInclude Include="..\..\ccutil\host.h" />
<ClInclude Include="..\..\ccstruct\hpdsizes.h" />
<ClInclude Include="..\..\cube\hybrid_neural_net_classifier.h" />
<ClInclude Include="..\..\image\image.h" />
<ClInclude Include="..\..\textord\imagefind.h" />
<ClInclude Include="..\..\image\img.h" />
<ClInclude Include="..\..\image\imgerrs.h" />
<ClInclude Include="..\..\image\imgs.h" />
<ClInclude Include="..\..\ccmain\imgscale.h" />
<ClInclude Include="..\..\image\imgunpk.h" />
<ClInclude Include="..\..\ccutil\indexmapbidi.h" />
<ClInclude Include="..\..\neural_networks\runtime\input_file_buffer.h" />
<ClInclude Include="..\..\classify\intfeaturedist.h" />
<ClInclude Include="..\..\classify\intfeaturemap.h" />
<ClInclude Include="..\..\classify\intfeaturespace.h" />
<ClInclude Include="..\..\classify\intfx.h" />
<ClInclude Include="..\..\classify\intmatcher.h" />
<ClInclude Include="..\..\classify\intproto.h" />
<ClInclude Include="..\..\ccstruct\ipoints.h" />
<ClInclude Include="..\..\classify\kdtree.h" />
<ClInclude Include="..\..\cube\lang_mod_edge.h" />
<ClInclude Include="..\..\cube\lang_model.h" />
<ClInclude Include="..\..\wordrec\language_model.h" />
<ClInclude Include="..\..\textord\linefind.h" />
<ClInclude Include="..\..\ccstruct\linlsq.h" />
<ClInclude Include="..\..\cutil\listio.h" />
<ClInclude Include="..\..\ccutil\lsterr.h" />
<ClInclude Include="..\..\ccmain\ltrresultiterator.h" />
<ClInclude Include="..\..\wordrec\makechop.h" />
<ClInclude Include="..\..\textord\makerow.h" />
<ClInclude Include="..\..\classify\mastertrainer.h" />
<ClInclude Include="..\..\dict\matchdefs.h" />
<ClInclude Include="..\port\mathfix.h" />
<ClInclude Include="..\..\ccstruct\matrix.h" />
<ClInclude Include="..\..\wordrec\measure.h" />
<ClInclude Include="..\..\ccutil\memry.h" />
<ClInclude Include="..\..\classify\mf.h" />
<ClInclude Include="..\..\classify\mfdefs.h" />
<ClInclude Include="..\..\classify\mfoutline.h" />
<ClInclude Include="..\..\classify\mfx.h" />
<ClInclude Include="..\..\ccstruct\mod128.h" />
<ClInclude Include="..\..\ccmain\mutableiterator.h" />
<ClInclude Include="..\..\ccutil\ndminx.h" />
<ClInclude Include="..\..\neural_networks\runtime\neural_net.h" />
<ClInclude Include="..\..\neural_networks\runtime\neuron.h" />
<ClInclude Include="..\..\ccstruct\normalis.h" />
<ClInclude Include="..\..\classify\normfeat.h" />
<ClInclude Include="..\..\classify\normmatch.h" />
<ClInclude Include="..\..\ccutil\nwmain.h" />
<ClInclude Include="..\..\ccstruct\ocrblock.h" />
<ClInclude Include="..\..\ccutil\ocrclass.h" />
<ClInclude Include="..\..\classify\ocrfeatures.h" />
<ClInclude Include="..\..\ccstruct\ocrpara.h" />
<ClInclude Include="..\..\ccstruct\ocrrow.h" />
<ClInclude Include="..\..\textord\oldbasel.h" />
<ClInclude Include="..\..\cutil\oldlist.h" />
<ClInclude Include="..\..\wordrec\olutil.h" />
<ClInclude Include="..\..\ccmain\osdetect.h" />
<ClInclude Include="..\..\ccstruct\otsuthr.h" />
<ClInclude Include="..\..\classify\outfeat.h" />
<ClInclude Include="..\..\wordrec\outlines.h" />
<ClInclude Include="..\..\ccmain\output.h" />
<ClInclude Include="..\..\ccmain\pageiterator.h" />
<ClInclude Include="..\..\ccstruct\pageres.h" />
<ClInclude Include="..\..\ccmain\paragraphs.h" />
<ClInclude Include="..\..\ccmain\paragraphs_internal.h" />
<ClInclude Include="..\..\ccutil\params.h" />
<ClInclude Include="..\..\ccstruct\params_training_featdef.h" />
<ClInclude Include="..\..\ccmain\paramsd.h" />
<ClInclude Include="..\..\ccstruct\pdblock.h" />
<ClInclude Include="..\..\ccmain\pgedit.h" />
<ClInclude Include="..\..\classify\picofeat.h" />
<ClInclude Include="..\..\textord\pithsync.h" />
<ClInclude Include="..\..\textord\pitsync1.h" />
<ClInclude Include="..\..\ccutil\platform.h" />
<ClInclude Include="..\..\wordrec\plotedges.h" />
<ClInclude Include="..\..\ccstruct\points.h" />
<ClInclude Include="..\..\ccstruct\polyaprx.h" />
<ClInclude Include="..\..\ccstruct\polyblk.h" />
<ClInclude Include="..\..\classify\protos.h" />
<ClInclude Include="..\..\ccstruct\publictypes.h" />
<ClInclude Include="..\..\ccutil\qrsequence.h" />
<ClInclude Include="..\..\ccstruct\quadlsq.h" />
<ClInclude Include="..\..\ccstruct\quadratc.h" />
<ClInclude Include="..\..\ccstruct\quspline.h" />
<ClInclude Include="..\..\ccstruct\ratngs.h" />
<ClInclude Include="..\..\ccstruct\rect.h" />
<ClInclude Include="..\..\ccstruct\rejctmap.h" />
<ClInclude Include="..\..\ccmain\reject.h" />
<ClInclude Include="..\..\wordrec\render.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="..\..\ccmain\resultiterator.h" />
<ClInclude Include="..\..\classify\sampleiterator.h" />
<ClInclude Include="..\..\ccmain\scaleimg.h" />
<ClInclude Include="..\..\textord\scanedg.h" />
<ClInclude Include="..\..\viewer\scrollview.h" />
<ClInclude Include="..\..\ccstruct\seam.h" />
<ClInclude Include="..\..\cube\search_column.h" />
<ClInclude Include="..\..\cube\search_node.h" />
<ClInclude Include="..\..\cube\search_object.h" />
<ClInclude Include="..\..\ccutil\secname.h" />
<ClInclude Include="..\..\ccutil\serialis.h" />
<ClInclude Include="..\..\classify\shapeclassifier.h" />
<ClInclude Include="..\..\classify\shapetable.h" />
<ClInclude Include="..\..\textord\sortflts.h" />
<ClInclude Include="..\..\ccutil\sorthelper.h" />
<ClInclude Include="..\..\ccstruct\split.h" />
<ClInclude Include="..\..\ccstruct\statistc.h" />
<ClInclude Include="..\..\ccutil\stderr.h" />
<ClInclude Include="..\..\ccstruct\stepblob.h" />
<ClInclude Include="..\..\dict\stopper.h" />
<ClInclude Include="..\..\cube\string_32.h" />
<ClInclude Include="..\..\ccutil\strngs.h" />
<ClInclude Include="..\..\textord\strokewidth.h" />
<ClInclude Include="..\port\strtok_r.h" />
<ClInclude Include="..\..\cutil\structures.h" />
<ClInclude Include="..\..\viewer\svmnode.h" />
<ClInclude Include="..\..\image\svshowim.h" />
<ClInclude Include="..\..\viewer\svutil.h" />
<ClInclude Include="..\..\textord\tabfind.h" />
<ClInclude Include="..\..\textord\tablefind.h" />
<ClInclude Include="..\..\textord\tablerecog.h" />
<ClInclude Include="..\..\textord\tabvector.h" />
<ClInclude Include="..\..\cube\tess_lang_mod_edge.h" />
<ClInclude Include="..\..\cube\tess_lang_model.h" />
<ClInclude Include="..\..\ccmain\tessbox.h" />
<ClInclude Include="..\..\ccutil\tesscallback.h" />
<ClInclude Include="..\..\classify\tessclassifier.h" />
<ClInclude Include="..\..\ccutil\tessdatamanager.h" />
<ClInclude Include="..\..\ccmain\tessedit.h" />
<ClInclude Include="..\..\ccmain\tesseract_cube_combiner.h" />
<ClInclude Include="..\..\ccmain\tesseractclass.h" />
<ClInclude Include="..\..\ccmain\tessvars.h" />
<ClInclude Include="..\..\textord\textlineprojection.h" />
<ClInclude Include="..\..\textord\textord.h" />
<ClInclude Include="..\..\ccmain\thresholder.h" />
<ClInclude Include="..\..\textord\topitch.h" />
<ClInclude Include="..\..\textord\tordmain.h" />
<ClInclude Include="..\..\textord\tovars.h" />
<ClInclude Include="..\..\ccutil\tprintf.h" />
<ClInclude Include="..\..\classify\trainingsample.h" />
<ClInclude Include="..\..\classify\trainingsampleset.h" />
<ClInclude Include="..\..\dict\trie.h" />
<ClInclude Include="..\..\cube\tuning_params.h" />
<ClInclude Include="..\..\textord\underlin.h" />
<ClInclude Include="..\..\ccutil\unichar.h" />
<ClInclude Include="..\..\ccutil\unicharmap.h" />
<ClInclude Include="..\..\ccutil\unicharset.h" />
<ClInclude Include="..\..\ccutil\unicity_table.h" />
<ClInclude Include="..\..\ccutil\unicodes.h" />
<ClInclude Include="..\..\ccstruct\vecfuncs.h" />
<ClInclude Include="..\port\version.h" />
<ClInclude Include="..\..\ccstruct\werd.h" />
<ClInclude Include="..\..\ccmain\werdit.h" />
<ClInclude Include="..\..\cube\word_altlist.h" />
<ClInclude Include="..\..\cube\word_list_lang_model.h" />
<ClInclude Include="..\..\cube\word_size_model.h" />
<ClInclude Include="..\..\cube\word_unigrams.h" />
<ClInclude Include="..\..\wordrec\wordrec.h" />
<ClInclude Include="..\..\textord\wordseg.h" />
<ClInclude Include="..\..\textord\workingpartset.h" />
<ClInclude Include="..\..\classify\xform2d.h" />
<ClInclude Include="..\..\api\renderer.h" />
<ClInclude Include="..\..\ccstruct\blamer.h" />
<ClInclude Include="..\..\ccutil\doubleptr.h" />
<ClInclude Include="..\..\ccutil\genericheap.h" />
<ClInclude Include="..\..\ccutil\kdpair.h" />
<ClInclude Include="..\..\ccutil\object_cache.h" />
<ClInclude Include="..\..\ccutil\scanutils.h" />
<ClInclude Include="..\..\ccutil\universalambigs.h" />
<ClInclude Include="..\..\dict\dawg_cache.h" />
<ClInclude Include="..\..\textord\baselinedetect.h" />
<ClInclude Include="..\..\wordrec\lm_consistency.h" />
<ClInclude Include="..\..\wordrec\lm_pain_points.h" />
<ClInclude Include="..\..\wordrec\lm_state.h" />
<ClInclude Include="..\..\wordrec\params_model.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="libtesseract303.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,101 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,2,3,0
PRODUCTVERSION 3,2,3,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x7L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Tesseract OCR library"
VALUE "FileVersion", "3, 3, 0, 0"
VALUE "InternalName", "libtesseract"
VALUE "LegalCopyright", "Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "libtesseract"
VALUE "ProductName", "Tesseract OCR Library"
VALUE "ProductVersion", "3, 3, 0, 0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View File

@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by libtesseract303.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@ -0,0 +1,32 @@
///////////////////////////////////////////////////////////////////////
// File: gettimeofday.cpp
// Description: Implementation of gettimeofday based on leptonica
// Author: tomp2010, zdenop
// Created: Tue Feb 21 21:38:00 CET 2012
//
// (C) Copyright 2012, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////
#include <allheaders.h>
#include "gettimeofday.h"
int gettimeofday(struct timeval *tp, struct timezone *tzp) {
l_int32 sec, usec;
if (tp == NULL)
return -1;
l_getCurrentTime(&sec, &usec);
tp->tv_sec = sec;
tp->tv_usec = usec;
return 0;
}

View File

@ -0,0 +1,31 @@
///////////////////////////////////////////////////////////////////////
// File: gettimeofday.h
// Description: Header file for gettimeofday.cpp
// Author: tomp2010, zdenop
// Created: Tue Feb 21 21:38:00 CET 2012
//
// (C) Copyright 2012, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////
#ifndef VS2008_PORT_GETTIMEOFDAY_H_
#define VS2008_PORT_GETTIMEOFDAY_H_
#ifdef _WIN32
#include <winsock.h> // timeval is defined in here.
#endif
typedef struct timezone tz;
int gettimeofday(struct timeval * tp, struct timezone * tzp);
#endif // VS2008_PORT_GETTIMEOFDAY_H_

35
vs2010/port/mathfix.h Normal file
View File

@ -0,0 +1,35 @@
///////////////////////////////////////////////////////////////////////
// File: mathfix.h
// Description: Implement missing math functions
// Author: zdenop
// Created: Fri Feb 03 06:45:06 CET 2012
//
// (C) Copyright 2012, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////
#ifndef VS2008_INCLUDE_MATHFIX_H_
#define VS2008_INCLUDE_MATHFIXT_H_
#ifndef _MSC_VER
#error "Use this header only with Microsoft Visual C++ compilers!"
#endif
#include <math.h>
#include <float.h> // for _isnan(), _finite() on VC++
#define isnan(x) _isnan(x)
#define isinf(x) (!_finite(x))
#define fmax max //VC++ does not implement all the provisions of C99 Standard
inline float roundf(float num) { return num > 0 ? floorf(num + 0.5f) : ceilf(num - 0.5f); }
#endif // VS2008_INCLUDE_MATHFIXT_H_

55
vs2010/port/strtok_r.cpp Normal file
View File

@ -0,0 +1,55 @@
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INSTITUTE 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 INSTITUTE 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.
*/
// source: https://github.com/heimdal/heimdal/blob/master/lib/roken/strtok_r.c
#include <string.h>
char *strtok_r(char *s1, const char *s2, char **lasts) {
char *ret;
if (s1 == NULL)
s1 = *lasts;
while (*s1 && strchr(s2, *s1))
++s1;
if (*s1 == '\0')
return NULL;
ret = s1;
while (*s1 && !strchr(s2, *s1))
++s1;
if (*s1)
*s1++ = '\0';
*lasts = s1;
return ret;
}

27
vs2010/port/strtok_r.h Normal file
View File

@ -0,0 +1,27 @@
///////////////////////////////////////////////////////////////////////
// File: strtok_r.h
// Description: Header file for strtok_r.cpp
// source: https://github.com/heimdal/heimdal/blob/master/lib/roken/
// strtok_r.c
// Author: zdenop
// Created: Fri Aug 12 23:55:06 CET 2011
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////
#ifndef VS2008_PORT_STRTOK_R_H_
#define VS2008_PORT_STRTOK_R_H_
char *strtok_r(char *s1, const char *s2, char **lasts);
#endif // VS2008_PORT_STRTOK_R_H_

25
vs2010/port/version.h Normal file
View File

@ -0,0 +1,25 @@
///////////////////////////////////////////////////////////////////////
// File: version.h
// Description: define version identifier for Windows
// Author: zdenop@gmail.com
// Created: Fri Nov 19 21:05:06 CET 2010
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////
#ifndef VS2008_PORT_VERSION_H_
#define VS2008_PORT_VERSION_H_
#define VERSION "3.03"
#endif // VS2008_PORT_VERSION_H_

36
vs2010/tesseract.sln Normal file
View File

@ -0,0 +1,36 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtesseract303", "libtesseract\libtesseract.vcxproj", "{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tesseract", "tesseract\tesseract.vcxproj", "{C76996CB-C4CB-4D89-9F67-F605DF129618}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
DLL_Debug|Win32 = DLL_Debug|Win32
DLL_Release|Win32 = DLL_Release|Win32
LIB_Debug|Win32 = LIB_Debug|Win32
LIB_Release|Win32 = LIB_Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
{D14F28C7-0CAE-4C37-B174-40FDEFBD4FE0}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.ActiveCfg = DLL_Debug|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Debug|Win32.Build.0 = DLL_Debug|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.ActiveCfg = DLL_Release|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.DLL_Release|Win32.Build.0 = DLL_Release|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.ActiveCfg = LIB_Debug|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Debug|Win32.Build.0 = LIB_Debug|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.ActiveCfg = LIB_Release|Win32
{C76996CB-C4CB-4D89-9F67-F605DF129618}.LIB_Release|Win32.Build.0 = LIB_Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

BIN
vs2010/tesseract.suo Normal file

Binary file not shown.

View File

@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by tesseract.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@ -0,0 +1,101 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Tesseract command-line OCR engine"
VALUE "FileVersion", "3,3,0,0"
VALUE "InternalName", "tesseract"
VALUE "LegalCopyright", "Copyright (C) 2013 Google, Inc. Licensed under the Apache License, Version 2.0"
VALUE "OriginalFilename", "tesseract.exe"
VALUE "ProductName", "Tesseract-OCR"
VALUE "ProductVersion", "3.03"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View File

@ -0,0 +1,234 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="DLL_Debug|Win32">
<Configuration>DLL_Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DLL_Release|Win32">
<Configuration>DLL_Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="LIB_Debug|Win32">
<Configuration>LIB_Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="LIB_Release|Win32">
<Configuration>LIB_Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C76996CB-C4CB-4D89-9F67-F605DF129618}</ProjectGuid>
<RootNamespace>tesseract</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\include\tesseract_versionnumbers.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">false</EnableManagedIncrementalBuild>
<OutDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">false</EnableManagedIncrementalBuild>
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">false</EnableManagedIncrementalBuild>
<OutDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">..\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(Configuration)\</IntDir>
<EnableManagedIncrementalBuild Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">false</EnableManagedIncrementalBuild>
<TargetName Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">$(ProjectName)d</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">$(ProjectName)-dll</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">$(ProjectName)-dlld</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Debug|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;USE_STD_NAMESPACE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ShowIncludes>false</ShowIncludes>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;user32.lib;zlib$(ZLIB_VERSION)-static-mtdll-debug.lib;libpng$(LIBPNG_VERSION)-static-mtdll-debug.lib;libjpeg$(LIBJPEG_VERSION)-static-mtdll-debug.lib;giflib$(GIFLIB_VERSION)-static-mtdll-debug.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll-debug.lib;liblept$(LIBLEPT_VERSION)-static-mtdll-debug.lib</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='LIB_Release|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;USE_STD_NAMESPACE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;user32.lib;zlib$(ZLIB_VERSION)-static-mtdll.lib;libpng$(LIBPNG_VERSION)-static-mtdll.lib;libjpeg$(LIBJPEG_VERSION)-static-mtdll.lib;giflib$(GIFLIB_VERSION)-static-mtdll.lib;libtiff$(LIBTIFF_VERSION)-static-mtdll.lib;liblept$(LIBLEPT_VERSION)-static-mtdll.lib</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Release|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;USE_STD_NAMESPACE;TESS_IMPORTS;LIBLEPT_IMPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION).lib</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<Version>$(LIBTESS_NUMBER)</Version>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<SubSystem>Console</SubSystem>
<LinkTimeCodeGeneration>
</LinkTimeCodeGeneration>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL_Debug|Win32'">
<CustomBuildStep>
<Message>
</Message>
<Command>
</Command>
<Outputs>%(Outputs)</Outputs>
</CustomBuildStep>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\api;..\..\ccmain;..\..\ccutil;..\..\ccstruct;..\..\classify;..\..\cube;..\..\cutil;..\..\dict;..\..\image;..\..\neural_networks\runtime;..\..\textord;..\..\viewer;..\..\wordrec;.;..\..\..\include;..\..\..\include\leptonica;..\port;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;USE_STD_NAMESPACE;TESS_IMPORTS;LIBLEPT_IMPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>OldStyle</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>4244;4305;4018;4267;4996;4800;4005;4355;4099;4566;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ShowIncludes>false</ShowIncludes>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>MYVERSION=$(LIBTESS_VERSION_R);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;user32.lib;liblept$(LIBLEPT_VERSION)d.lib</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<Version>$(LIBLEPT_NUMBER)</Version>
<AdditionalLibraryDirectories>..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\api\tesseractmain.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="tesseract.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\libtesseract\libtesseract.vcxproj">
<Project>{d14f28c7-0cae-4c37-b174-40fdefbd4fe0}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>