Skip to content

Error Running OpenCV on Android aarch64 A14 #958

Open
@Soft-Buddy

Description

@Soft-Buddy

Expected behaviour

The library cv2.abi3.so should be compiled for target architecture (arm64 Android).
I'm using crossenv to cross compiled wheels of OpenCV for android. The compilation succeeds flawlessly, but it compiles cv2.abi3.so for x86_64 (host arch), not for the target architecture.

Actual behaviour

The compilation should work as intended and cv2.abi3.so should be compiled for aarch64 only.

Steps to reproduce

  • Setup an environment using crossenv
  • Target (Android aarch64), Host (Ubuntu x86_64)
  • aarch64
  • opencv-python version 4.9.0.80

Wheel built :

https://file.io/Z56ehWWa2yho

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions