caffe下matlab接口编译成功了。测试出现了问题,求解?

[root@Slave3 caffe]# make mattest
cd matlab; /usr/local/MATLAB/R2015b/bin/matlab -nodisplay -r 'caffe.run_tests(), exit()'

< M A T L A B (R) >
Copyright 1984-2015 The MathWorks, Inc.
R2015b (8.6.0.267246) 64-bit (glnxa64)
August 20, 2015


To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.

Invalid MEX-file '/usr/local/caffe/matlab/+caffe/private/caffe_.mexa64': /usr/local/caffe/matlab/+caffe/private/caffe_.mexa64: undefined symbol:
_ZN6google21ParseCommandLineFlagsEPiPPPcb

Error in caffe.set_mode_cpu (line 5)
caffe_('set_mode_cpu');

Error in caffe.run_tests (line 6)
caffe.set_mode_cpu();
已邀请:

lemony1314 - 90

赞同来自: 喏喏心

你好。我现在也出现了这样的问题,请问你解决了吗

zeakey - please visit my homepage: zhaok.xyz

赞同来自:

那你在用matcaffe做training和testing的时候有没有错误?
 
如果能train和test的话就忽略这个错把。
 

zkk1991 - 90后

赞同来自:

喏喏心

赞同来自:

终端下面运行:sudo ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/local/MATLAB/R2015b/bin/glnxa64/libstdc++.so.6
然后在:make mattest -j8
亲测有效
给我点赞哦~  
 

要回复问题请先登录注册