Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid MEX-file #30

Open
ghost opened this issue Dec 18, 2016 · 4 comments
Open

Invalid MEX-file #30

ghost opened this issue Dec 18, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2016

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
Copy link
Author

ghost commented Dec 18, 2016

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

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

@zhangliliang
Copy link
Owner

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
Copy link
Author

ghost commented Dec 19, 2016 via email

@fuhpi
Copy link

fuhpi commented Oct 20, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants