How to resolve this error?

>>dipmex pathopening.c pathopening_commoncode.c -I. Building with 'MinGW64 Compiler (C)'. Error using mex C:\Users\DELLPC~1\AppData\Local\Temp\mex_1225612015729402_8036\pathopening.obj:pathopening.c:(.text+0x11cc): undefined reference to `__imp_dip_errorDimensionalityNotSupported' C:\Users\DELLPC~1\AppData\Local\Temp\mex_1225612015729402_8036\pathopening.obj:pathopening.c:(.text+0x11f3): undefined reference to `__imp_dip_errorDataTypeNotSupported' C:\Users\DELLPC~1\AppData\Local\Temp\mex_1225612015729402_8036\pathopening.obj:pathopening.c:(.text+0x1200): undefined reference to `__imp_dip_errorDataTypeNotSupported' collect2.exe: error: ld returned 1 exit status

3 个评论

I think you will have to offer some more context for this to be resolved. As far as I understand it, it may be an error in your c-code, or there may be something with your compiler. With what you supplied there is no way to tell.
This code is for the algorithm given on this page. And the Code is written by the developer of that algorithm itself
Then this developer is the first one who should be asked.

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2017-5-27

0 个投票

"__imp_dip_errorDimensionalityNotSupported" is missing. It looks like a library function. I cannot guess which library this belongs to but obviously this is a question for the authors of the code.

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

评论:

Jan
2017-5-29

Community Treasure Hunt

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

Start Hunting!

Translated by