Question about wrapper_matlab in bgslibrary?
1 次查看(过去 30 天)
显示 更早的评论
hello guys
I followed the steps mentioned in the README but I got an error when I run the compile.m.
Noted that I have installed the Microsoft Visual Studio 2015.
the command window on matlab was:
-------------------------------------------------------------------
Building with 'Microsoft Visual C++ 2015'.
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /O2 /Oy- /DNDEBUG /DMEX_COMPILE_FLAG /DMATLAB_DEFAULT_RELEASE=R2017b /DUSE_MEX_CMD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE -I"C:\Program Files\MATLAB\R2018a\toolbox\vision\builtins\src\ocvcg\opencv\include" -I"C:\Program Files\MATLAB\R2018a\extern\include" -I"C:\Program Files\MATLAB\R2018a\toolbox\distcomp\gpu\extern\include" -I"..\package_bgs" -I"C:\Program Files\MATLAB\R2018a\extern\include" -I"C:\Program Files\MATLAB\R2018a\simulink\include" "E:\BAW\9raya ya rabbak\doctoral\bgslibrary-master\wrapper_matlab\backgroundSubtractor_wrapper.cpp" /FoC:\Users\ihssane\AppData\Local\Temp\mex_208498863070114_10064\backgroundSubtractor_wrapper.obj
Error using mexOpenCV (line 136)
backgroundSubtractor_wrapper.cpp
e:\baw\9raya ya rabbak\doctoral\bgslibrary-master\wrapper_matlab\mxarray.h(591): warning C4267: 'argument': conversion from
'size_t' to 'int', possible loss of data
..\package_bgs\IBGS.h(23): fatal error C1083: Cannot open include file: 'cv.h': No such file or directory
Error in compile (line 3)
mexOpenCV -v -DMEX_COMPILE_FLAG -I"../package_bgs" backgroundSubtractor_wrapper.cpp ...
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!