Missing include path with Visual Studio 2015

287 views
Skip to first unread message

Laurent Berger

unread,
Jul 11, 2016, 2:05:02 AM7/11/16
to tesseract-ocr
Hi,
I am new in tesseract so may be I have done soething wrong.

I am using VS2015  with windows 10 and cmake 3.5.1
I have clone leptonica from danBloomberg/leptonica.git (last commit jult 8 2016) in folder c:/lib/leptonica  and tesseract same day. I have successfully build leptonica in folder c:/lib/leptonica/build. cmake refuse to build leptonica in c:/lib/leptonica.

I use cmake to build tesseract in folder c:/lib/tesseract/build. then it was impossible to build tesseract using vs 2015 because endianness.h cannot be found in path.

I have add include path c:/lib/leptonica/build/src and now i can build tesseract .

Where is my error when I use cmake?

Thanks in advance for your answer

Egor Pugin

unread,
Jul 13, 2016, 1:59:10 AM7/13/16
to tesseract-ocr
Are you using sources from master branches of leptonica and tesseract?
Reply all
Reply to author
Forward
0 new messages