I\'m trying to install caffe on Yosemite, and my C is not the strongest. Here is my error:
Alis-MacBook-Pro:caffe ali$ make all
NVCC src/caffe/layers/absval_laye
its a boost version problem.
If you using brew do the following:
http://itinerantbioinformaticist.blogspot.com/2015/05/caffe-incompatible-with-boost-1580.html
I had the same problem. As someone else said, it turned out for me to be a problem with boost 1.58.0
I fixed it by doing the following (assuming you have brew installed)
$ cd /usr/local/Library/Formula
$ cd Library/Formula/
$ cp boost.rb boost_backup.rb
$ cp boost-python.rb boost-python_backup.rb
$ wget https://raw.githubusercontent.com/Homebrew/homebrew/6fd6a9b6b2f56139a44dd689d30b7168ac13effb/Library/Formula/boost.rb
$ mv boost.rb.1 boost.rb
$ wget https://raw.githubusercontent.com/Homebrew/homebrew/3141234b3473717e87f3958d4916fe0ada0baba9/Library/Formula/boost-python.rb
$ mv boost-python.rb.1 boost-python.rb
$ brew uninstall --force boost
$ brew install boost
After doing this I was able to make all with GPU support no problem.
source