Cross compile Tesseract for arm64-v8a architecture

44 views
Skip to first unread message

Hussain Akbar

unread,
Jan 25, 2021, 7:56:20 AM1/25/21
to tesseract-ocr

Zdenko Podobny

unread,
Jan 25, 2021, 8:11:23 AM1/25/21
to tesser...@googlegroups.com
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 <villa...@gmail.com> napísal(a):
--
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-oc...@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.

Hussain Akbar

unread,
Jan 26, 2021, 1:48:50 AM1/26/21
to tesseract-ocr

Yes i have tried by commenting the #include <cpuid.h>. further errors like __get_cpuid(1, &eax, &ebx, &ecx, &edx) != 0) not found. Its obvious _get_cpuid() is method in cpuid.h 

Zdenko Podobny

unread,
Jan 26, 2021, 4:44:25 AM1/26/21
to tesser...@googlegroups.com
So you need to find out which header file from your  aarch64-linux-android  toolchain provide  _get_cpuid().
 
Zdenko


ut 26. 1. 2021 o 7:48 Hussain Akbar <villa...@gmail.com> napísal(a):
Reply all
Reply to author
Forward
0 new messages