chamfermatching.cpp:969:30: error: the compiler can assume that the address of ‘annotate_img’
我编译的版本是opencv2.4.9
解决办法
找到opencv-2.4.9/build/modules/contrib/CMakeFiles/opencv_contrib.dir/flags.make
文件,删掉-Werror=address
,然后重新
make
我编译的版本是opencv2.4.9
解决办法
找到opencv-2.4.9/build/modules/contrib/CMakeFiles/opencv_contrib.dir/flags.make
文件,删掉-Werror=address
,然后重新
make