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 Commenti

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

Accedi per commentare.

Risposte (1)

Jan
Jan il 27 Mag 2017

0 voti

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

Richiesto:

il 26 Mag 2017

Commentato:

Jan
il 29 Mag 2017

Community Treasure Hunt

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

Start Hunting!

Translated by