cross-compile opencv with gstreamer...

asked 2017-05-10 07:46:02 -0600

repo gravatar image

Hi

I am trying to cross-compile opencv with gstreamer for armhf. I use the following command :

cmake -DBUILD_SHARED_LIBS=OFF -DWITH_GSTREAMER=ON -DBUILD_opencv_dnn=OFF -DOPENCV_EXTRA_MODULES_PATH=(path_to)/opencv_contrib/modules/ -DCMAKE_TOOLCHAIN_FILE=(path_to)/opencv/platforms/linux/arm-gnueabi.toolchain.cmake  (path_to)/opencv

My probleme is that the make can't find gstreamer for armhf... It is quit normal because i have not installed it on my computer (i have installed libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev package but only for i386 architecture...).

How can i install "libgstreamer1.0-dev" and "libgstreamer-plugins-base1.0-dev" packages for armhf architecture in order to enable the cmake to find gstreamer when cross-compiling ?

Thank you for your help ! Have a good day.

edit retag flag offensive close merge delete