Error building MEX-files (MATLAB 2012a) on Kubuntu '/usr/bin/ld: cannot find -lstdc++'
问题 I'm trying to build a C program on Matlab 2012a, through the command: mex mat_trans2.c And I'm getting this error: /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status mex: link of ' "mat_trans2.mexa64"' failed. Error using mex (line 206) Unable to complete successfully. Some time ago I was able to build .c files, I don't know what is happening now! Maybe something has changed after a system upgrade on my Kubuntu 12.04 64 bit. Is there someone who know how to solve this?