Hi everybody,
I try to enable Neon as Eric Gregori suggest : in CMakeList.txt i added (OpenCV 2.1 library... i tried on OpenCV 1.1 but i can't find any gcc flag on enabling NEON..):
if(USE_FAST_MATH)
set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} -ffast-math -mfpu=neon")
but when i do :
cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_EXAMPLES=ON -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ..
I get this error :
1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzio.o
cc1: error: unrecognized command line option "-ffast-math-mfpu=neon"
make[2]: *** [3rdparty/zlib/CMakeFiles/zlib.dir/gzio.o] Error 1
make[1]: *** [3rdparty/zlib/CMakeFiles/zlib.dir/all] Error 2
make: *** [all] Error 2
Can anyone help me??
Another question...I'm interested on find_obj.cpp ..Does Neon improve this algorithm too(like on face_detect) ?
Thank you very much..
Marco