Error using images.internal.morphmex with Matlab runtime
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm using Matlab runtime (MCR) to run Matlab code (comiled with SDK to jar file) via Java program.
I compiled the code on Linux Ubuntu (and also try to run it using the jar file on the same machine). When I try to run the source Matlab code (before I compile it to jar file), it runs well.
With the MCR it runs well, until it crushes when it should use "imdilate" function. The error message (kent is the user name):
Does someone have an idea?
Error using images.internal.morphmex
Invalid MEX-file '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64': Missing dependent shared libraries:
'libmwnhood.so' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
'libmwmorphop_ocv.so' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
'libmwmorphop_packed.so' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
'libmwmorphop_binary_tbb.so' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_binary_ones33_tbb' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_binary_tbb' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_binary_twod_tbb' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_boolean_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_int16_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_packed_uint32' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_real32_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_real64_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_uint16_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'dilate_uint8_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_binary_ones33_tbb' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_binary_tbb' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_binary_twod_tbb' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_boolean_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_int16_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_packed_uint32' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_real32_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_real64_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_uint16_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol 'erode_uint8_ocv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN21NeighborhoodProcessorC1E23NeighborhoodDescriptionPKmm' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN21NeighborhoodProcessorC1ERKS_' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN21NeighborhoodProcessorD1Ev' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN23NeighborhoodDescription7reflectEv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN23NeighborhoodDescriptionC1EPKhmPKm10CenterType' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN36LinearTraversalNeighborhoodProcessor12nextLocationEv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN36LinearTraversalNeighborhoodProcessor18updateNeighborhoodEv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN36LinearTraversalNeighborhoodProcessorC1E23NeighborhoodDescriptionPKmm' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN36LinearTraversalNeighborhoodProcessorC1ERKS_' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZN36LinearTraversalNeighborhoodProcessorD1Ev' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'
Missing symbol '_ZNK23NeighborhoodDescription15getNumNeighborsEv' required by '/home/kent/.mcrCache9.2/SegNam0/toolbox/images/images/+images/+internal/morphmex.mexa64'.
Error in images.internal.morphop (line 103)
2 comentarios
Gabriel Molina
el 2 de En. de 2018
Editada: Gabriel Molina
el 2 de En. de 2018
Did you find a solution to your problem? I have something similar when using imdilate:
Error using images.internal.morphop Can't reload '/matlab_runtime/bin/glnxa64/libmwcoder_types.so'
I compiled my code through matlab compiler (mcc) and I am running it on Ubuntu 16.04. It runs fine on most of the code but then fails once it reaches imdilate. The library it says it can't reload is different, but it seems like this could be similar in nature to your problem. I am using Matlab R2017b.
Respuestas (0)
Ver también
Categorías
Más información sobre Java Package Integration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!