Version GLIBCXX_3.4.11' not found (required by buildW.mexglx)

2 次查看(过去 30 天)
I am trying to compile a c++ ubuntu project via matlab (<http://vision.is.tohoku.ac.jp/~kyamagu/research/paperdoll/)>. When I am trying to use it after the compilation with make command, I am getting the following error:
Invalid MEX-file
'////fashionista_v0.2/lib/+bsr/buildW.mexglx':
//local/MATLAB/R2011a/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version
`GLIBCXX_3.4.11' not found (required by
////fashionista_v0.2/lib/+bsr/buildW.mexglx)
I am not familiar with those processes, so I couldnt understand the several proposed solutions like that(<http://unix.stackexchange.com/questions/134266/how-to-specify-the-libstdc-so-6-to-use)>. What is exactly libstdc++ and GLIBCXX and how can I solve the problem?
I found also this link (https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths) propose to use the following command:
export LD_LIBRARY_PATH=${prefix}/lib:$LD_LIBRARY_PATH
However, due to lack of unix shell knowledge I don't understand what to put in the command.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call C++ from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by