mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
fix build with leptonica >=1.82
This commit is contained in:
parent
f907620a1a
commit
ad0ceb041a
@ -23,6 +23,10 @@
|
||||
#endif
|
||||
|
||||
#include "allheaders.h"
|
||||
#if (LIBLEPT_MAJOR_VERSION > 1) || (LIBLEPT_MINOR_VERSION > 82)
|
||||
// The public API of Leptonica 1.83.0 hides details of some data
|
||||
#include <pix_internal.h>
|
||||
#endif
|
||||
|
||||
#include "cube_object.h"
|
||||
#include "cube_reco_context.h"
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include "cube_reco_context.h"
|
||||
#include "cube_object.h"
|
||||
#include "allheaders.h"
|
||||
#if (LIBLEPT_MAJOR_VERSION > 1) || (LIBLEPT_MINOR_VERSION > 82)
|
||||
// The public API of Leptonica 1.83.0 hides details of some data
|
||||
#include <pix_internal.h>
|
||||
#endif
|
||||
|
||||
namespace tesseract {
|
||||
class CubeLineObject {
|
||||
|
@ -28,6 +28,10 @@
|
||||
|
||||
#include "cube_reco_context.h"
|
||||
#include "allheaders.h"
|
||||
#if (LIBLEPT_MAJOR_VERSION > 1) || (LIBLEPT_MINOR_VERSION > 82)
|
||||
// The public API of Leptonica 1.83.0 hides details of some data
|
||||
#include <pix_internal.h>
|
||||
#endif
|
||||
|
||||
namespace tesseract {
|
||||
|
||||
|
@ -30,6 +30,10 @@
|
||||
#include "const.h"
|
||||
#include "char_set.h"
|
||||
#include "char_samp.h"
|
||||
#if (LIBLEPT_MAJOR_VERSION > 1) || (LIBLEPT_MINOR_VERSION > 82)
|
||||
// The public API of Leptonica 1.83.0 hides details of some data
|
||||
#include <pix_internal.h>
|
||||
#endif
|
||||
|
||||
namespace tesseract {
|
||||
class CubeUtils {
|
||||
|
@ -26,6 +26,10 @@
|
||||
#include "allheaders.h"
|
||||
#include "tordmain.h"
|
||||
#include "statistc.h"
|
||||
#if (LIBLEPT_MAJOR_VERSION > 1) || (LIBLEPT_MINOR_VERSION > 82)
|
||||
// The public API of Leptonica 1.83.0 hides details of some data
|
||||
#include <pix_internal.h>
|
||||
#endif
|
||||
|
||||
// Flags controlling the debugging information for shiro-rekha splitting
|
||||
// strategies.
|
||||
|
Loading…
Reference in New Issue
Block a user