2016-08-03 103 views
0

我有一個用Matlab 2013創建的simulink模型,它在Debian 7機器上的快速加速模式下工作正常。 但是,更新的Debian 8(和Matlab 2013年)後的模擬失敗,編譯警告和錯誤:Matlab 2013快速加速器更新失敗後(Debian 7到Debian 8)失敗

警告:

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軟件包的解決方案並沒有幫助,所以其他東西似乎缺少。

回答

0

解決方案:安裝build-essential包。 原來一位同事早有同樣的問題。