MATLAB Answers

Does ocvMxArray​FromImage_​uint8() need to include which static library file?

3 views (last 30 days)
cui
cui on 26 Sep 2020 at 16:07
Edited: cui on 26 Sep 2020 at 16:10
I want to call the opencv-C++ code I wrote in matlab. Opencv has already implemented a function for me. Now I have converted cv::Mat to mxArray through ocvMxArrayFromImage_uint8() in the mexFunction() function, but in VS2015 There is a link error in ocvMxArrayFromImage_uint8(), that is, the ".lib" implementation file corresponding to ocvMxArrayFromImage_uint8() is not found.
Which static library file should I include in the path "C:\Program Files\MATLAB\R2020b\extern\lib\win64\microsoft\"?
------------------------------------------
inPaint.obj : error LNK2001: 无法解析的外部符号 "struct mxArray_tag * __cdecl ocvMxArrayFromImage_uint8(class cv::Mat const &)" (?ocvMxArrayFromImage_uint8@@YAPEAUmxArray_tag@@AEBVMat@cv@@@Z)

  0 Comments

Sign in to comment.

Answers (0)

Tags

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!