mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 09:52:40 +08:00
fix VS2010 build
This commit is contained in:
parent
369fabb7fc
commit
689c8e5667
12
.gitignore
vendored
12
.gitignore
vendored
@ -8,6 +8,18 @@
|
||||
*.opensdf
|
||||
*.lastbuildstate
|
||||
*.unsuccessfulbuild
|
||||
*.suo
|
||||
*.res
|
||||
*.ipch
|
||||
*.manifest
|
||||
vs2010/DLL_Debug/*
|
||||
vs2010/DLL_Release/*
|
||||
vs2010/LIB_Debug/*
|
||||
vs2010/LIB_Release/*
|
||||
vs2010/LIB_OpenCL_Release/*
|
||||
vs2010/LIB_OpenCL_Debug/*
|
||||
|
||||
|
||||
|
||||
# Linux
|
||||
# ignore local configuration
|
||||
|
@ -17,9 +17,6 @@
|
||||
#ifdef USE_OPENCL
|
||||
|
||||
#include "opencl_device_selection.h"
|
||||
#ifdef _MSC_VER
|
||||
int LeptMsgSeverity = 3; // L_SEVERITY_INFO
|
||||
#endif // _MSC_VER
|
||||
GPUEnv OpenclDevice::gpuEnv;
|
||||
|
||||
#if USE_DEVICE_SELECTION
|
||||
@ -716,8 +713,8 @@ int OpenclDevice::GeneratBinFromKernelSource( cl_program program, const char * c
|
||||
{
|
||||
free(binaries[cleanupIndex]);
|
||||
}
|
||||
// cleanup binary array
|
||||
free(binaries);
|
||||
// cleanup binary array
|
||||
free(binaries);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
<PropertyGroup Label="UserMacros">
|
||||
<GIFLIB_VERSION>416</GIFLIB_VERSION>
|
||||
<LIBJPEG_VERSION>8c</LIBJPEG_VERSION>
|
||||
<LIBLEPT_VERSION>170</LIBLEPT_VERSION>
|
||||
<LIBLEPT_VERSION_R>1,70,0,0</LIBLEPT_VERSION_R>
|
||||
<LIBLEPT_NUMBER>1.70</LIBLEPT_NUMBER>
|
||||
<LIBLEPT_VERSION>171</LIBLEPT_VERSION>
|
||||
<LIBLEPT_VERSION_R>1,71,0,0</LIBLEPT_VERSION_R>
|
||||
<LIBLEPT_NUMBER>1.71</LIBLEPT_NUMBER>
|
||||
<LIBPNG_VERSION>143</LIBPNG_VERSION>
|
||||
<LIBTIFF_VERSION>394</LIBTIFF_VERSION>
|
||||
<ZLIB_VERSION>125</ZLIB_VERSION>
|
||||
|
Loading…
Reference in New Issue
Block a user