>> - therefore, you should add ffmpeg to OpenCV, maybe using the 3rdparty
>> directory, but I don't know how it is supposed to be used
>
> I too don't know. Then Cross compiling is not so simple like this:
>
> http://processors.wiki.ti.com/index.php/Building_OpenCV_for_ARM_Cortex-A8
>
this does not cover cross-building ffmpeg.

What I mean is that you have to build ffmpeg for your target, such
that the OpenCV build system finds it; maybe you can just untar ffmpeg
inside OpenCV sources (maybe in 3rdparty) and it could work, but you
have to check how the build system works.


>> - similarly, it looks like cmake is calling pkg-config which most
>> probably queries the host, not the target FS
>> - you have to make sure that the build process will find or build all
>> the dependencies for ARM, which probably means it has to build ffmpeg
>> - I don't know if all these are peculiarities of cmake or OpenCV, but
>> it makes me wonder whether OpenCV is really supporting
>> cross-compilation?
>> - did you ask OpenCV community?
>
> I could see OpenCV community recomend other ways to do what I want.
>
So maybe you should follow their recommendations

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to