- Identify the location where MATLAB is installed
- Navigate to the sys/os/glnxa64 directory within this installation folder
- Rename libstdc++.so.6 library to libstdc++.so.6.old
Cannot understand error message --- Invalid MEX-file
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am unable to understand what the following error statement means. Could somebody please explain how to resolve this.
Invalid MEX-file '/home/kaustubh/navpadfork/fastMarching/toolbox_fast_marching/perform_front_propagation_2d.mexa64': /usr/local/MATLAB/R2015b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.8' not found
0 comentarios
Respuestas (1)
José-Luis
el 20 de Dic. de 2016
Editada: José-Luis
el 20 de Dic. de 2016
Recent versions of Matlab changed their version of libstdc++.so with all the associated fun that implies. It sounds like it is a bug similar to this.
Copying from the link:
and the error might disappear. Otherwise ignore this and reinstate the original name.
3 comentarios
Alvaro
el 30 de Mayo de 2021
Hi, when doing this fix I get afterwars the following error in matlab:
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x59c93a7e, isOwner false, <4cbaae98, 2acccb5b>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!