Supported Compilers, R2015a, Ubuntu

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:

댓글 수: 2

Walter Roberson
Walter Roberson 2015년 6월 9일
Re-install which entire package?
Lachlan Simpson
Lachlan Simpson 2015년 6월 10일
Matlab - I don't see how I might install any particular package at all.
If I re install the whole lot, I get asked "this is already installed, do you want to overwrite?" at some point, but since my only options are "yes to all", "yes", "no to all" or "no" - ie there is no way to specify particular packages - I can only reinstall it all. In my case this is a head node and work nodes - so 1 complete set of products including the licensing server and x complete set of products without the Licensing server.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2015년 6월 9일

편집:

2015년 6월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by