python2 binding build error: 'createOptFlow_DeepFlow' : is not a member of 'cv::optflow' (Bug #4109)
Description
When compiling python2 binding of opencv 3.0 beta. Build error occurs: 'createOptFlow_DeepFlow' : is not a member of 'cv::optflow'
It's in the function below:
@static PyObject* pyopencv_cv_optflow_createOptFlow_DeepFlow(PyObject* , PyObject* args, PyObject* kw)
{
using namespace cv::optflow;
Ptr<DenseOpticalFlow> retval;
if(PyObject_Size(args) 0 && (kw NULL || PyObject_Size(kw) == 0))
{
ERRWRAP2(retval = cv::optflow::createOptFlow_DeepFlow());
return pyopencv_from(retval);
}
return NULL;
}@
opencv_optflow was build successfully before building python2 binding. If change "createOptFlow_DeepFlow" to "createOptFlow_SimpleFlow", build success.
Associated revisions
Merge pull request #4109 from alalek:fix_build_dbt_bindings
History
Updated by Maksim Shabunin almost 10 years ago
- Target version changed from 3.0-beta to 3.0
Updated by Maksim Shabunin almost 10 years ago
Can not reproduce with the latest 3.0.0-rc1 version. Python bindings for optflow module are build well.
Probably it was fixed somehow.
- Status changed from New to Done
- Category changed from build/install to python bindings