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

前端 未结 5 1779
暖寄归人
暖寄归人 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:00

    I had the same problem and none of the posted solutions worked for me (i.e. deleting or adding new symlinks), and it turned out that I hadn't installed the appropriate compiler package!

    For me, the solution was:

    sudo yum install gcc-g++
    

    I'm running MATLAB 2014b on 64-bit Linux (RHEL 6).

提交回复
热议问题