更新后Matlab 2013快速加速器失败(Debian 7到Debian 8)

时间:2016-08-03 09:15:52

标签: matlab simulink mex

我有一个使用Matlab 2013创建的simulink模型,它在Debian 7机器上的快速加速器模式下运行良好。 但是,在对Debian 8(和Matlab 2013)进行更新后,模拟失败并出现编译警告和错误:

警告:

matlab Warning: You are using gcc version 4.9.2  The version currently supported with MEX is 4.4.x.          For a list of currently supported compilers see:...

致命错误:

matlab 2013 /usr/bin/ld: cannot find -lstdc++collect2: error: ld returned 1 exit statusmex: link of ' "TestModel_sfun.mexa64"' failed.gmake Error 1

相关帖子是here,这也是链接步骤的失败。然而,对我来说,解决方案是安装包libstdc ++ - 4.8-dev没有帮助,所以似乎缺少其他东西。

1 个答案:

答案 0 :(得分:0)

解决方案:安装build-essential软件包。 事实证明一位同事早先遇到了同样的问题。