Does ocvMxArrayFromImage_uint8() need to include which static library file?
Show older comments
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)
Answers (0)
Categories
Find more on OpenCV Support in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!