Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

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

Open
yjyad opened this issue Oct 20, 2021 · 1 comment

Comments

@yjyad
Copy link

yjyad commented Oct 20, 2021

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
Copy link
Author

yjyad commented Oct 20, 2021

my opencv is 3.4.1
my vs is 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant