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出错解决的主要内容,如果未能解决你的问题,请参考以下文章

Linux下NDK编译FFMPEG包含neon参数

Linux下VFP NEON浮点编译

最终的 ARM Linux 内存碎片与 NEON Copy 但不是 memcpy

mips64el-linux-android-g++:错误:无法识别的命令行选项“-mfpu=neon”

当我在 Linux 上运行使用硬浮点选项构建的 Neon 代码时出现分段错误

linuxARM板子开启浮点和neon加速