You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to set numpy==v2.3.0. This error can be dealed. But another error happened when build opencv v8a__ndk_target_28/opencv/modules/python/src2/cv2.hpp:36:10: fatal error: 'numpy/ndarrayobject.h' file not found
I also test this config “requirements = python3,kivy,numpy==v1.26.5,opencv,plyer,pyjnius,android” , and failed with "clang++: error: unknown argument '-version'; did you mean '--version'?" when build opencv
I also test this config “requirements = python3,kivy,numpy==v1.26.5,opencv,plyer,pyjnius,android” , and failed with "clang++: error: unknown argument '-version'; did you mean '--version'?" when build opencv
I have faced same problem with numpy & opencv & I also saw your comment in #3203 . For now the only solution which worked for me is: use ndk 25b, numpy 1.26.5 in local recipe (not in spec file), opencv 4.5.1 in local recipe. Reference code
I also test this config “requirements = python3,kivy,numpy==v1.26.5,opencv,plyer,pyjnius,android” , and failed with "clang++: error: unknown argument '-version'; did you mean '--version'?" when build opencv
I have faced same problem with numpy & opencv & I also saw your comment in #3203 . For now the only solution which worked for me is: use ndk 25b, numpy 1.26.5 in local recipe (not in spec file), opencv 4.5.1 in local recipe. Reference code
I know,but it is not a goode choice, because the google play require "16kb support", ndk28 is necessary
I also test this config “requirements = python3,kivy,numpy==v1.26.5,opencv,plyer,pyjnius,android” , and failed with "clang++: error: unknown argument '-version'; did you mean '--version'?" when build opencv
I have faced same problem with numpy & opencv & I also saw your comment in #3203 . For now the only solution which worked for me is: use ndk 25b, numpy 1.26.5 in local recipe (not in spec file), opencv 4.5.1 in local recipe. Reference code
I know,but it is not a goode choice, because the google play require "16kb support", ndk28 is necessary
Activity
YellowLight021 commentedon Sep 18, 2025
here is my spec:
requirements = python3==3.11.7,kivy==2.3.1,numpy,opencv,plyer,pyjnius,android
android.ndk = 28c
p4a.branch = develop
I think it maybe caused by numpy.
YellowLight021 commentedon Sep 18, 2025
I try to set numpy==v2.3.0. This error can be dealed. But another error happened when build opencv v8a__ndk_target_28/opencv/modules/python/src2/cv2.hpp:36:10: fatal error: 'numpy/ndarrayobject.h' file not found
YellowLight021 commentedon Sep 18, 2025
you can see,if i set numpy2.3.0, it may cause other problem .And if not set numpy2.3.0,it can not be build too
YellowLight021 commentedon Sep 19, 2025
I also test this config “requirements = python3,kivy,numpy==v1.26.5,opencv,plyer,pyjnius,android” , and failed with "clang++: error: unknown argument '-version'; did you mean '--version'?" when build opencv
sdas92 commentedon Sep 20, 2025
I have faced same problem with
numpy&opencv& I also saw your comment in #3203 . For now the only solution which worked for me is: usendk 25b,numpy 1.26.5in local recipe (not in spec file),opencv 4.5.1in local recipe. Reference codeYellowLight021 commentedon Sep 29, 2025
I know,but it is not a goode choice, because the google play require "16kb support", ndk28 is necessary
YellowLight021 commentedon Oct 11, 2025
after "apt install patchelf", the problem solved
anoop16-web commentedon Nov 3, 2025
All the best