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 件のコメント

Rik
Rik 2017 年 5 月 26 日
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.
Deepanshu Ajmera
Deepanshu Ajmera 2017 年 5 月 27 日
編集済み: Deepanshu Ajmera 2017 年 5 月 27 日
This code is for the algorithm given on this page. And the Code is written by the developer of that algorithm itself
Jan
Jan 2017 年 5 月 29 日
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.

質問済み:

2017 年 5 月 26 日

コメント済み:

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