Reply To: Mex file gcc compiler issue Ubuntu

#11622

Dear Amal,

in general, this is a problem of support by Mathworks. We do not have a direct influence on that issue. However, I can understand that the support of GCC versions with Matlab is an issue for the compilation of MEX files.

I also had this issue once, when running a Vienna Simulator on Ubuntu. Back at the time, I think I used Ubuntu 15 or something, however, I made it work. I think the only solution is to install the highest GCC version that is supported by Matlab, although it is very old. Please consider a solution like this
https://askubuntu.com/questions/1096258/how-to-install-gcc-6-3-0-on-ubuntu-18-04

best
Stefan