参考链接:
https://blog.csdn.net/xw2017/article/details/85230744
解决办法:
将makefile.config的opencv_version=3注释掉。