zhangliliang / RPN_BF

RPN+BF
Other
203 stars 75 forks source link

Invalid MEX-file #30

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi, Thank you for your sharing~ I just follow the install guidance to setup this one,and i have used the caffe you recommend and make matcaffe,then move this mex. to the path you just told me, but when i run the demo i still encountered the follow error: Warning: You are using gcc version '5.4.0-6ubuntu1~16.04.4)'. The version of gcc is not supported. The version currently supported with MEX is '4.7.x'. For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release. MEX completed successfully.

can you give me some advise? Thx ~

ghost commented 7 years ago

error follow: Invalid MEX-file '/home/siahooar/RPN_BF/external/caffe/matlab/caffe_fasterrcnn/caffe.mexa64': /home/siahooar/RPN_BF/external/caffe/matlab/caffe_fasterrcnn/caffe.mexa64: undefined symbol: _ZN2cv8imencodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11_InputArrayERSt6vectorIhSaIhEERKSB_IiSaIiEE

Error in caffe.setdevice (line 9) caffe('set_device', device_id);

zhangliliang commented 7 years ago

Hi,

I never meet with this error.

This repo are written based on the Faster R-CNN repo. an I only be test it in the Ubuntu 14.04. It might be not well supported by the Ubuntu 16.04 system.

ghost commented 7 years ago

uh,maybe~ ,perhaps i should use the other computer to test ~ and thank you for your reply~

2016-12-19 5:22 GMT-05:00 Zhang Liliang notifications@github.com:

Hi,

I never meet with this error.

This repo are written based on the Faster R-CNN repo https://github.com/ShaoqingRen/faster_rcnn. an I only be test it in the Ubuntu 14.04. It might be not well supported by the Ubuntu 16.04 system.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zhangliliang/RPN_BF/issues/30#issuecomment-267929973, or mute the thread https://github.com/notifications/unsubscribe-auth/ARdUvouI3BCnqdyjtAc_gpuLH3V3F7Zkks5rJlrsgaJpZM4LQCkP .

fuhpi commented 5 years ago

for this problem, suggest you to refer https://blog.csdn.net/Jee_King/article/details/77765594, it may be help.