Thanks. Attached patch should fix it (it does not solve unittest part
@Shree: are you able to fix unittest). Can you test it?

Zdenko


št 1. 8. 2019 o 13:03 René Hansen <ren...@gmail.com> napísal(a):

> Good point, I see *fileio.h* referenced here:
>
> unittest/fileio_test.cc
> unittest/ligature_table_test.cc
> unittest/include_gunit.h
> unittest/pango_font_info_test.cc
> src/training/boxchar.cpp
> src/training/text2image.cpp
> src/training/pango_font_info.cpp
> src/training/lang_model_helpers.cpp
> src/training/unicharset_training_utils.cpp
> src/ccutil/fileio.cpp
> src/ccutil/Makefile.am
> src/ccutil/fileio.h
>
> So perhaps it's not completely without reason, to modularise the build in
> such a way, that it isn't included at all. Otherwise including the patch
> might be a better option. I'll have to look into it some more.
>
>
> /René
>
>
>
> On Wed, 31 Jul 2019 at 19:32, Alex Cohn <sasha.c...@gmail.com> wrote:
>
>> On Wednesday, July 31, 2019 at 1:43:24 PM UTC+3, René Hansen wrote:
>>>
>>> Thanks Alex, I'll go and have a look. One would imagine that -D
>>> BUILD_TRAINING_TOOLS=OFF should be enough.
>>>
>>
>> Disabling build of training is not enough. You must explicitly exclude
>> *fileio.cpp*, too, because it's not a part of training, even though it
>> is used only there.
>>
>> Alex
>>
>> --
>> 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 tesseract-ocr+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tesseract-ocr/f3c864fa-ee6c-4d7a-8182-2eba50b636b4%40googlegroups.com
>> <https://groups.google.com/d/msgid/tesseract-ocr/f3c864fa-ee6c-4d7a-8182-2eba50b636b4%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Never fear, Linux is here.
>
> --
> 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 tesseract-ocr+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/CAB-60njA7%2BjCKKF7S8tT_LqsT1iM%3DduW14Xe6UkpAvwwoqHnCA%40mail.gmail.com
> <https://groups.google.com/d/msgid/tesseract-ocr/CAB-60njA7%2BjCKKF7S8tT_LqsT1iM%3DduW14Xe6UkpAvwwoqHnCA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yxNrm1QR88mCZrqNLYQ2uVJg_WXJSS%2BwBS3PtvaXYfCQ%40mail.gmail.com.

Attachment: fileio.patch
Description: Binary data

Reply via email to