- 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
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
José-Luis
2016-12-20
编辑:José-Luis
2016-12-20
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 个评论
Alvaro
2021-5-30
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!