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

2 visualizaciones (últimos 30 días)
cui,xingxing
cui,xingxing el 26 de Sept. de 2020
Editada: cui,xingxing el 26 de Sept. de 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)

Respuestas (0)

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by