Cannot understand error message --- Invalid MEX-file

2 visualizaciones (últimos 30 días)
Kaustubh Sridhar
Kaustubh Sridhar el 20 de Dic. de 2016
Comentada: Alvaro el 30 de Mayo de 2021
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

Respuestas (1)

José-Luis
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:
  1. Identify the location where MATLAB is installed
  2. Navigate to the sys/os/glnxa64 directory within this installation folder
  3. Rename libstdc++.so.6 library to libstdc++.so.6.old
and the error might disappear. Otherwise ignore this and reinstate the original name.
  3 comentarios
José-Luis
José-Luis el 21 de Dic. de 2016
My pleasure.
Please accept the answer that best solves your problem.
Alvaro
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

Iniciar sesión para comentar.

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!

Translated by