Hi guys,
i have cross compiled python 2.7 using buildroot and its working on parrot bebop 2. and i have used this project to compile openCV and its also working i think.
but, now i'm trying to get the link between python and OpenCV its an pyc file i think?
i have edited the made file and added the line
-DBUILD_opencv_python=TRUE \
and after insecpting the logs i noticed that this message started appearing
-- If you want to enable Python/Numpy support, set the following variables: -- PYTHON2_INCLUDE_PATH -- PYTHON2_LIBRARIES (optional on Unix-like systems) -- PYTHON2_NUMPY_INCLUDE_DIRS
so i executed these commands before i compile. but still no change
`
export PYTHON2_INCLUDE_PATH=$PYTHON2_INCLUDE_PATH:'/home/ahmed/Desktop/Python 2.7 with Dronekit final/testlast/include/'
export PYTHON2_LIBRARIES=$PYTHON2_LIBRARIES:'/home/ahmed/Desktop/Python 2.7 with Dronekit final/testlast/lib/'
export PYTHON2_NUMPY_INCLUDE_DIRS=$PYTHON2_NUMPY_INCLUDE_DIRS:'/home/ahmed/Desktop/numpy/core/include/numpy/'
Hi guys, i have cross compiled python 2.7 using buildroot and its working on parrot bebop 2. and i have used this project to compile openCV and its also working i think. but, now i'm trying to get the link between python and OpenCV its an pyc file i think? i have edited the made file and added the line
-DBUILD_opencv_python=TRUE \
and after insecpting the logs i noticed that this message started appearing-- If you want to enable Python/Numpy support, set the following variables: -- PYTHON2_INCLUDE_PATH -- PYTHON2_LIBRARIES (optional on Unix-like systems) -- PYTHON2_NUMPY_INCLUDE_DIRS
so i executed these commands before i compile. but still no change ` export PYTHON2_INCLUDE_PATH=$PYTHON2_INCLUDE_PATH:'/home/ahmed/Desktop/Python 2.7 with Dronekit final/testlast/include/'export PYTHON2_LIBRARIES=$PYTHON2_LIBRARIES:'/home/ahmed/Desktop/Python 2.7 with Dronekit final/testlast/lib/' export PYTHON2_NUMPY_INCLUDE_DIRS=$PYTHON2_NUMPY_INCLUDE_DIRS:'/home/ahmed/Desktop/numpy/core/include/numpy/'
`