Marco Di Vivo

Using Neon and OpenCV 1.1 library

Discussion created by Marco Di Vivo on Mar 10, 2011
Latest reply on Mar 10, 2011 by Marco Di Vivo

Hi !

 

I'm trying to use Neon on OpenCV 1.1 (not 2.1) library...i added the flag:  ' -mfpu=neon ' but i get this error :

 

my_fobj.cpp:1: error: invalid floating point option: -mfpu=neon

 

I'm trying to accelerate the find_obj.cpp ...this is my incomplete command line(missing all other library used) :

 

arm-none-linux-gnueabi-g++ -ggdb  -ftree-vectorize -ffast-math -mfpu=neon  `pkg-config --cflags opencv` -o `basename $1 .cpp` $1 -L$prefix ...(all other libraries..)

 

Can anyone  help me ? Am I on a wrong way ??

 

Thanks to everybody!

Outcomes