As mentioned on this here I tried checkout the same version for opencv_contrib that I did for opencv by running the following command:cd ~cd opencvgit checkout 3.0.0cd ~cd opencv_contribgit checkout 3.0.0有效然后我运行命令make -j4 ,但出现以下两个错误消息:but the two following error messages appeared: In file included from /Users/mymac/opencv_contrib/modules/cvv/src/gui/main_call_window.cpp:1:In file included from /Users/mymac/opencv_contrib/modules/cvv/src/gui/main_call_window.hpp:9:In file included from /Users/mymac/opencv_contrib/modules/cvv/src/gui/overview_panel.hpp:12:/Users/mymac/opencv_contrib/modules/cvv/src/gui/../stfl/stfl_engine.hpp:1056:30: error: use 'template' keyword to treat 'value' as a dependent template name return settings.value(key).value<QStringList>(); ^ template In file included from /Users/mymac/opencv_contrib/modules/cvv/src/controller/view_controller.cpp:12:In file included from /Users/mymac/opencv_contrib/modules/cvv/src/controller/../gui/overview_panel.hpp:12: /Users/mymac/opencv_contrib/modules/cvv/src/controller/../gui/../stfl/stfl_engine.hpp:1056:30: error: use 'template' keyword to treat 'value' as a dependent template name return settings.value(key).value<QStringList>(); ^ template 为此,我创建了一个在此处提出新问题 这篇关于尝试在python中构建opencv的问题:“-配置不完整,发生了错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-19 09:10