Mex with GCC 4.7.3 (Ubuntu 13.04)
3 ビュー (過去 30 日間)
古いコメントを表示
Hi I have just upgraded to Ubuntu 13.04 and afterwards I found out that it comes with GCC 4.7.3. When I try to compile mex files, I get the following error:
You are using gcc version "4.7.3". The version currently supported with MEX is "4.4.x"
Can anyone suggest any work around for this?
I am using MATLAB 2013a on 64 bit Ubuntu.
I have tried to install previous versions of GCC: apt-get install gcc-4.4 But it cannot locate it.
Best Regards Wajahat
0 件のコメント
回答 (2 件)
Jakob
2013 年 5 月 27 日
編集済み: Jakob
2013 年 5 月 27 日
Hi, Just checking if the problem has been resolved.
I am getting similar error on Ubuntu 13.04 x86_64-linux-gnu when trying to set up package SBPOP.
I have installed gcc 4.4 and gcc 4.4.7
I get no options with:
~$ sudo update-alternatives --config gcc
update-alternatives: error: no alternatives for gcc
will be listening for a solution aswell
0 件のコメント
Jason Ross
2013 年 5 月 3 日
You probably need to add some repositories if apt can't locate gcc-4.4. I'm sure if you run a google search or look around the Ubuntu forums there will be a howto or a question already asked about how to get an earlier version of gcc installed.
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!