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 comentarios

Rik
Rik el 26 de Mayo de 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 el 27 de Mayo de 2017
Editada: Deepanshu Ajmera el 27 de Mayo de 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 el 29 de Mayo de 2017
Then this developer is the first one who should be asked.

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 27 de Mayo de 2017

0 votos

"__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.

Preguntada:

el 26 de Mayo de 2017

Comentada:

Jan
el 29 de Mayo de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by