c++ - Crosscompile OpenCV with FFMPEG support -
i trying cross compile opencv ffmpeg support arm board buildroot based custom linux. host ubuntu pc.
i want static opencv libraries.
i have downloaded ffmpeg source , crosscompiled following configuration
./configure \ --enable-cross-compile \ --cross-prefix=arm-linux-gnueabihf- \ --target-os=linux \ --arch=arm \ --disable-static \ --enable-shared \ --enable-nonfree \ --enable-ffmpeg \ --enable-gpl \ --enable-swscale \ --enable-pthreads \ --disable-yasm \ --disable-stripping \ --prefix=../build \ --extra-cflags=-i../build/include --extra-ldflags=-l../build/lib
the paths correct , ffmpeg built successfully. when try configure opencv cmake-gui, have manually specify paths.
despite this, opencv configuration unable resolve ffmpeg correctly
i have attached screen shot below
it cannot resolve ffmpeg versions. tried ignore , build fails linker error
linking cxx static library ../../lib/libopencv_features2d.a [ 49%] built target opencv_features2d make: *** [all] error 2
Comments
Post a Comment