kyamagu / mexopencv

Collection and a development kit of matlab mex functions for OpenCV library
http://kyamagu.github.io/mexopencv
Other
659 stars 318 forks source link

Hi all, I have a big problem when I am using matlab R2021a to builed mexopencv. #469

Open yjyad opened 2 years ago

yjyad commented 2 years ago

Error in mex MxArray.cpp E:\mexopencv-3.4.1\mexopencv-3.4.1\include\MxArray.hpp(386): error C2440: "Default parameter": Cannot convert from "void" to "int" E:\mexopencv-3.4.1\mexopencv-3.4.1\include\MxArray.hpp(386): note: Expressions of type void cannot be converted to other types E:\mexopencv-3.4.1\mexopencv-3.4.1\include\MxArray.hpp(413): error C2440: "Default parameter": Cannot convert from "void" to "int" E:\mexopencv-3.4.1\mexopencv-3.4.1\include\MxArray.hpp(413): note: Expressions of type void cannot be converted to other types E:\mexopencv-3.4.1\mexopencv-3.4.1\include\MxArray.hpp(421): error C2440:"Default parameter": Cannot convert from "void" to "int" E:\mexopencv-3.4.1\mexopencv-3.4.1\include\MxArray.hpp(421): note: Expressions of type void cannot be converted to other types

Error in mexopencv.make (line 97) if ~opts.dryrun, eval(cmd); end

yjyad commented 2 years ago

my opencv is 3.4.1 my vs is 2017