Re: Hard Floating Point Question

2013-02-16 Thread Christophe Lyon
- 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

Re: Hard Floating Point Question

2013-02-15 Thread Zhenqiang Chen
On 4 February 2013 02:08, Matthew Gretton-Dann matthew.gretton-d...@linaro.org wrote: On 2 February 2013 00:13, Derek Rollend derek.roll...@gmail.com wrote: 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

Re: Hard Floating Point Question

2013-02-12 Thread Derek Rollend
I added the lib path explicitly so I knew that arm-linux-gnueabihf-g++ was definitely linking against the correct hard float libraries. Perhaps this is unnecessary, but I just wanted to be sure. I've been using OpenCV 2.2 because that was the version that was known to compile successfully from

Re: Hard Floating Point Question

2013-02-12 Thread Christophe Lyon
I'd say that adding -L/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux/arm-linux-gnueabihf/lib is unnecessary as gcc's driver should be able to find its own libraries. Regarding your problems with ffmpeg, I'm sorry that I don't know how cmake works, but after spending some time

Re: Hard Floating Point Question

2013-02-11 Thread Fernan
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

Re: Hard Floating Point Question

2013-02-11 Thread Derek Rollend
Fernan, I'm using CMake 2.8.0. I have not tried to compile OpenCV with FFMPEG support yet, although I will be trying to do this soon. I have only successfully compiled OpenCV 2.2 using the Linaro hard float compiler. Here is my toolchain.cmake file: set( CMAKE_SYSTEM_NAME Linux ) set(

Re: Hard Floating Point Question

2013-02-11 Thread Fernan
Derek Rollend derek.rollend@... writes: Fernan, I'm using CMake 2.8.0.  I have not tried to compile OpenCV with FFMPEG support yet, although I will be trying to do this soon.  I have only successfully compiled OpenCV 2.2 using the Linaro hard float compiler.  Here is my toolchain.cmake

Re: Hard Floating Point Question

2013-02-11 Thread Derek Rollend
Add the Linaro toolchain bin directory to your PATH environment variable: export PATH=/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux/bin:$PATH or whichever directory you have extracted the Linaro HF tarball to. -Derek On Mon, Feb 11, 2013 at 4:04 PM, Fernan

Re: Hard Floating Point Question

2013-02-03 Thread Matthew Gretton-Dann
On 2 February 2013 00:13, Derek Rollend derek.roll...@gmail.com wrote: 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

Hard Floating Point Question

2013-02-01 Thread Derek Rollend
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