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

error while using matcaffe #33

Open
Buu-Boudy opened this issue Feb 23, 2016 · 1 comment
Open

error while using matcaffe #33

Buu-Boudy opened this issue Feb 23, 2016 · 1 comment

Comments

@Buu-Boudy
Copy link

Hi
When I use

$ make matcaffe
I recieve the following error

MEX matlab/+caffe/private/caffe_.cpp
Warning: Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version 
of MATLAB. For more information, consult the MEX release notes http://www.mathworks.com/help/matlab/release-notes.html.

/usr/bin/ld: skipping incompatible /opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so when searching for 
-lOpenCL

/usr/bin/ld: cannot find -lOpenCL

/usr/bin/ld: cannot find -lclBLAS

collect2: error: ld returned 1 exit status

mex: link of ' "matlab/+caffe/private/caffe_.mexa64"' failed.


make: *** [matlab/+caffe/private/caffe_.mexa64] Error 255

I really appreciate any help you can provide

@gujunli
Copy link
Contributor

gujunli commented Mar 10, 2016

Hi,

Sorry for late reply.

It seems that you did not have OpenCL library and clBLAS library.

Did you follow the instructions on github twiki to build it?

Thanks a lot.

Junli

On Feb 23, 2016, at 4:24 AM, Buu-Boudy [email protected] wrote:

Hi
When I use

$ make matcaffe
I recieve the following error

MEX matlab/+caffe/private/caffe_.cpp
Warning: Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version
of MATLAB. For more information, consult the MEX release notes http://www.mathworks.com/help/matlab/release-notes.html.

/usr/bin/ld: skipping incompatible /opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so when searching for
-lOpenCL

/usr/bin/ld: cannot find -lOpenCL

/usr/bin/ld: cannot find -lclBLAS

collect2: error: ld returned 1 exit status

mex: link of ' "matlab/+caffe/private/caffe_.mexa64"' failed.

make: *** [matlab/+caffe/private/caffe_.mexa64] Error 255
I really appreciate any help you can provide


Reply to this email directly or view it on GitHub #33.

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