neon linux 2023a matlab出错解决
Posted michellel.top
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了neon linux 2023a matlab出错解决相关的知识,希望对你有一定的参考价值。
1、错误信息:
MATLAB is selecting SOFTWARE OPENGL rendering. MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\\$$ORIGIN/dri:/usr/lib/dri, suffix _dri) failed to load driver: iris MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\\$$ORIGIN/dri:/usr/lib/dri, suffix _dri) failed to load driver: zink MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file ordirectory (search paths /usr/lib/x86_64-linux-gnu/dri:\\$$ORIGIN/dri:/usr/lib/dri, suffix _dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\\$$ORIGIN/dri:/usr/lib/dri, suffix _dri) failed to load swrast driver
2、主要是系统的libstdc库和matlab的脱节了,建立个链接即可:
cd /usr/local/MATLAB/R2023a/bin/glnxa64 sudo ln -s /lib/x86_64-linux-gnu/libstdc++.so.6.0.30 libstdc++.so.6
3、如果还有问题,大概率需要执行:
opengl(\'save\',\'software\');
4、建立桌面快捷方式:
cd /usr/share/applications sudo vim matlab.desktop 将一下内容输入文本: #!/usr/bin/env xdg-open [Desktop Entry] Name=matlab Type=Application Exec=/usr/local/MATLAB/R2023a/bin/matlab -desktop Icon=/usr/local/MATLAB/R2023a/bin/glnxa64/cef_resources/matlab_icon.png Terminal=False Comment=Scientific computing environment 保存后,建立链接 sudo ln -s/usr/share/applications/matlab.desktop /home/guochaoxxl/.Desktop/
应该差不多了。
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。
以上是关于neon linux 2023a matlab出错解决的主要内容,如果未能解决你的问题,请参考以下文章
最终的 ARM Linux 内存碎片与 NEON Copy 但不是 memcpy
mips64el-linux-android-g++:错误:无法识别的命令行选项“-mfpu=neon”