Error static function 'bool pyopencv_to<DAISY_NormalizationType> not defined
Hi. I've tried to compile opencv 3.4.5 for using nonfree (xfeatures2d). but I can't solve this problem. please help me.
- OS : windows 10 64bit
- compiler : visual studio 2017 community (set: release x64)
- compile error a. code : C2129 b. description : static function 'bool pyopencv_to <daisy_normalizationtype>(PyObject , T& const char)' declared but not defined
Please full error message with line number and file name.
Can check this build\opencv\opencv2\opencv_modules.hpp? You should find #define HAVE_OPENCV_XFEATURES2D
You should have file opencv_contrib\modules\xfeatures2d\misc\python\pyopencv_xfeatures2d.hpp too can you check it?
If you don't need python binding you can try disable it in cmake-gui
are you sure, that your opencv main repo has exactly the same version as your contrib one ?
https://github.com/opencv/opencv/blob... missing in 3.4.5 (support for named enums)
@LBerger, @berak, thank you very much