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

2 vues (au cours des 30 derniers jours)
cui,xingxing
cui,xingxing le 26 Sep 2020
Modifié(e) : cui,xingxing le 26 Sep 2020
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)

Réponses (0)

Tags

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by