Make mex compiler of matlab working on mint?
- by Erogol
Mex compiler of matlab does not work with following error
Warning: You are using gcc version "4.7.2-2ubuntu1)". The version
currently supported with MEX is "4.4.6".
For a list of currently supported compilers see:
http://www.mathworks.com/support/compilers/current_release/
/home/krm/matlab/bin/mex: 1: eval: g++: not found
mex: compile of ' "fv_cache/fv_cache.cc"' failed.
it is obvious that I need preceding version of gcc but this specific version is not included in software manager of mint. I installed gcc-4.4 but it does not recognized by Matlab. I also removed latest version from my computer and set gcc as a environment variable points to gcc-4.4 but again does not work.
Is there any other way around to solve that issue? Maybe a interface or something.