Supported Compilers, R2015a, Ubuntu
1 回表示 (過去 30 日間)
古いコメントを表示
I got the "need supported compilers" at the end of my installation.
After running around checking wtf, I discovered that
apt-get install build-essential
installs gcc/g++ 4.8.x
When gcc/g++ 4.7.x is required.
apt-get install gcc-4.7 g++-4.7
seems to install the correct compiler.
Do I now need to reinstall the entire package to take advantage of this, or is having them installed sufficient?
-----
I have just removed these symlinks: sudo rm /usr/bin/g++ /usr/bin/gcc
And created new ones: sudo ln -s /usr/bin/g++-4.7 /usr/bin/g++ sudo ln -s /usr/bin/gcc-4.7 /usr/bin/gcc ... etc
Despite this I am still getting the compilation errors:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151001/image.png)
2 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!