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 Comments

Rik
Rik on 26 May 2017
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 on 27 May 2017
Edited: Deepanshu Ajmera on 27 May 2017
This code is for the algorithm given on this page. And the Code is written by the developer of that algorithm itself
Jan
Jan on 29 May 2017
Then this developer is the first one who should be asked.

Sign in to comment.

Answers (1)

Jan
Jan on 27 May 2017
"__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.

Asked:

on 26 May 2017

Commented:

Jan
on 29 May 2017

Community Treasure Hunt

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

Start Hunting!