-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
cmake caffe vecLib not found OS X El Capitan #4637
Comments
It sounds like a more general expression is needed that includes the OS X version number in the search path, be it Pull requests for build improvements are always welcome. Thanks for noting the issue. |
open the CMakeCache.txt file, change to: work fine for me. |
The general and correct expression is: //vecLib include directory It works if your system is not broken ;) |
I have the same error popping up. And I using 'make all' command to build instead of 'came'. It gives me the following error. clang: warning: argument unused during compilation: '-pthread' I changed the line 19 (putting MacOSX.sdk) as @JulianBlin had suggested but it still gives the same error. It would be a great help if someone can help me out. Thanks in advance :) |
same error @Laknath1996. |
not found CMakeCache.txt |
add to
|
I get another method: cmake/Modules/FindvecLib.cmake add your path where include vecLib.h to PATHS |
In case this helps anyone, for macOS 10.14.6 (Mojave), I added
and it worked for me. |
I don't have Xcode.app in the Applications folder. Should I install it? |
I've been trying to compile caffe on a mac with El Capitan.
git clone https://github.com/BVLC/caffe
mkdir build
cd build
cmake ..
The result was an error
vecLib not found
The issue to solve this is to modify the file in
cmake/Modules/FindvecLib.cmake
Line 19, replace
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Accelerate.framework/Versions/Current/Frameworks/vecLib.framework/Headers/
by
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Accelerate.framework/Versions/Current/Frameworks/vecLib.framework/Headers/
Don(t know if you can modify this in the master branch ?
Thanks
The text was updated successfully, but these errors were encountered: