Derek Rollend <derek.rollend@...> writes:
Hello, I am currently trying to determine how much I can optimize OpenCV using the ARM's VFP and the Linaro nano image. I have downloaded the arm-linux-gnueabihf-gcc & arm-linux-gnueabihf-g++ compilers, successfully cross-compiled OpenCV using those compilers (with -O3 -mfloat-abi=hard -ftree-vectorize -funroll-loops), and compiled an example OpenCV program with the arm-linux-gnueabihf-g++ compiler (with the same flags).
Hello Derek, I'm trying to cross compile OpenCV (2.4.0) for ARM. I'm using Linaro toolchain and CMake (http://processors.wiki.ti.com/index.php/Building_OpenCV_for_ARM_Cortex-A8), but I get the following error: .../ffmpeg_codecs.hpp:78:36:fatal error: libavformat/avformat.h: No such file or directory compilation terminated. I have installed libavformat-dev and configured CMake again, but I get the same error. Which version of CMake you are using? How you write de toolchain.cmake? How do you set the (-O3 -mfloat-abi=hard -ftree-vectorize -funroll-loops) C/CXX flags? I'm using CMake2.8.7. Thanks in advance.