Try to comment line with #include <cpuid.h> to see if there are other errors.
PS: there is no problem to build tesseract for arm devices like Rasberry pi, so maybe there is something specific for android... Zdenko po 25. 1. 2021 o 13:56 Hussain Akbar <villanc...@gmail.com> napĂsal(a): > > Please see this bug > > https://stackoverflow.com/questions/65883975/tesseract-cross-compile-aarch64-arm64-v8a-error-this-header-is-for-x86-only > > -- > 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/24ca59df-42d5-4043-8ff7-7321d0fbef18n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/24ca59df-42d5-4043-8ff7-7321d0fbef18n%40googlegroups.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/CAJbzG8xQYRVGtvYQa8ihmF%3DZAcLWw4EJn_zmq%2BSHc%3DPsf-c2kQ%40mail.gmail.com.