Mex compiling on 64 bit linux - /usr/bin/ld: cannot find -lstdc++

前端 未结 5 1817
暖寄归人
暖寄归人 2021-01-27 03:01

Okay I am trying to compile a mex file on 64 bit linux, ubuntu to be precise with Matlab 2013a.

First it gave a error that it could not find GLIBCXX_3.4.15

5条回答
  •  遇见更好的自我
    2021-01-27 04:02

    You created the link libstdc++.so.6 in /usr/local/MATLAB/R2013a/bin/glnxa64 to the library in your system, installed by apt-get install libstdc++6-4.4-dev .

    Now try creating also a link named libstdc++.so to libstdc++.so.6 in /usr/local/MATLAB/R2013a/bin/glnxa64.

提交回复
热议问题