Hello all,
I got stuck in compiling OpenCV. Some deeper diagnosis led to the fact that the hal module is the culprit here. I also noticed that the error message was :
autoeye-1@autoeye1-desktop:/opencv/3.0.0-r0/opencv-3.0.0-rc1/build/modules/hal$ make
[ 0%] Built target opencv_hal_pch_dephelp
[ 0%] Generating precomp.hpp.gch/opencv_hal_Release.gch
x86_64-poky-linux-g++: error: unrecognized command line option '-m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/media/ssd/home/autoeye/fido/poky/buildFido/tmp/sysroots/valleyisland-64'
make[2]: *** [modules/hal/precomp.hpp.gch/opencv_hal_Release.gch] Error 1
make[1]: *** [modules/hal/CMakeFiles/pch_Generate_opencv_hal.dir/all] Error 2
make: *** [all] Error 2
autoeye-1@autoeye1-desktop:/media/ssd/home/autoeye/fido/poky/buildFido/tmp/work/corei7-64-poky-linux/opencv/3.0.0-r0/opencv-3.0.0-rc1/build/modules/hal$
Of course I did not compile OpenCV from the directory. I just confirmed that the problem was coming from the HAL module itself. So any input about this?
Thanks.