OS Error after compilation

192 views
Skip to first unread message

RULER KING

unread,
Dec 21, 2021, 11:51:08 PM12/21/21
to Kivy users support
Hi, I am using kivyMD, kivy and capstone for application but after compiling for 64 bit os it through message on log libcapstone.so is for EM_X86_64 (62) instead of EM_AARCH64 (183) and if I compile for 32 bit it says libcapstone.so is for 64 not 32 for more details please see my question on stack.

Robert

unread,
Dec 22, 2021, 12:50:58 AM12/22/21
to Kivy users support
By the sound of it, something is not pure python and during the build pip is sucking in some x86_64 binary from a wheel.
The arm7 compile is just reporting the same thing from a 32bit view point, though the message is less informative.


Looking at the logs it looks like freetype is a dependency but it is not listed in requirements so its recipe (it is not pure Python) is not picked up. And that is the cause of the current issue.

RULER KING

unread,
Dec 22, 2021, 2:53:58 AM12/22/21
to Kivy users support
Is there any other way to compile capstone for android as said in 
https://github.com/capstone-engine/capstone/blob/master/COMPILE.TXT
The NDK may help? For compatible compilation of ARM

Robert

unread,
Dec 22, 2021, 12:30:57 PM12/22/21
to Kivy users support
Sorry I know nothing about compiling capstone.

Generally with Buildozer a p4a recipe is required for custom compilation.


But each recipe is custom, you have to figure it out for yourself.
Reply all
Reply to author
Forward
0 new messages