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

Fix OSX El Capitan incompatibility, by adding CUDA_LIB_DIR to @rpath of libcaffe.so #3634

Closed
wants to merge 1 commit into from

Conversation

mohamed-ezz
Copy link
Contributor

Fixing dynamic linking issue issues on OSX Elcapitan, reported in #3227 and #2720

@kylemcdonald
Copy link

This commit made Caffe build for me on OS X 10.11.1.

Currently the master branch at commit b590f1d gives me this error ./include/caffe/util/mkl_alternate.hpp:11:10: fatal error: 'cblas.h' file not found which is super confusing because there are so many things that could cause Accelerate / cblas.h to not be found.

@shelhamer
Copy link
Member

See #3695 for a slightly groomed edition of this change. Thanks for the fix @mohamed-ezz !

@shelhamer shelhamer closed this Feb 21, 2016
@shelhamer
Copy link
Member

@kylemcdonald OS X 10.11 seems to have moved the BLAS includes yet again. I don't have the time now to figure out a robust solution but this Makefile.config setting finds it:

BLAS_INCLUDE := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers

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

Successfully merging this pull request may close these issues.

3 participants