Skip to content Skip to sidebar Skip to footer

Problems Trying To Build Opencv In Python: "-- Configuring Incomplete, Errors Occurred"

I'm trying to install openCV in python I have the same problem as mentioned in those several github and stackoverflow pages but I'm still stuck: github openCV issue #8382 github o

Solution 1:

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 opencv
git checkout 3.0.0
cd ~
cd opencv_contrib
git checkout 3.0.0

It worked

I then ran the command 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 

For this i created a new question here

Post a Comment for "Problems Trying To Build Opencv In Python: "-- Configuring Incomplete, Errors Occurred""