2018b gcc support on Ubuntu 18.04

3 ビュー (過去 30 日間)
Robert Vincent
Robert Vincent 2018 年 9 月 19 日
編集済み: Michal 2020 年 5 月 29 日
TL;DR: R2018b officially supports Ubuntu 18.04 but the required gcc compiler is incompatible. Please fix.
With 2018b, Ubuntu 18.04 LTS has been added to the supported operated systems. Unfortunately this distribution only supports gcc-6.4 rather than gcc-6.3.x which is required for mex and other C compatibility within Matlab. There are no functional differences with 6.3 and 6.4, so the bugs stopping a downgrade from .4 to .3 are unlikely to be fixed. I appreciate this is a relatively new distribution but this is a really easy fix given 6.3 and 6.4 are the different in all but name.
  1 件のコメント
Chathurika Palliya Guruge
Chathurika Palliya Guruge 2019 年 12 月 24 日
any solutions ?

サインインしてコメントする。

回答 (3 件)

labuilder labuilder
labuilder labuilder 2018 年 9 月 27 日
Yes, I am very disappointed that the R2018B release of the Matlab compiler requires gcc 6.3 which is not supported by Ubuntu 18.04. Ubuntu 17.10, 18.04, and 18.10 all have gcc_6.4 as the g++-6 package version.
I am using the compiler for distribution of software and having a stable/tested compiler system is important to me.

Jan
Jan 2018 年 11 月 26 日
Same here: Building a new system, and I will not install 16.04 on this. Is there a workaround to use gcc 6.4 to compile my projects?

Michal
Michal 2020 年 5 月 29 日
編集済み: Michal 2020 年 5 月 29 日
Personally, I do not recommend this way of solution, because is not user-safe, but it is a option ...

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by