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

cmake-gui

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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -