Are you using sources from master branches of leptonica and tesseract? If so, try to use this method with CPPAN https://github.com/tesseract-ocr/tesseract/wiki/Compiling#master-branch-305-and-later
On Monday, July 11, 2016 at 9:05:02 AM UTC+3, Laurent Berger wrote: > > 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 > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/88dea1cb-1a6a-438c-a3a3-14d454cdae75%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

