Although compiled Caffe and successful implementation of this series of blog is the main dish, but in fact as long as the dependent are installed, install Caffe is a natural thing.
I chose ~ / .bashrc will all depend on add good, then source, so you do not include add-dependent environment in Makefile.config in, but still have to honestly all dependent on the lib path are written in LIBRARY_DIRS.
After adding the environment depend, directly or make -j4 make something, wait for the results on it.
Problems encountered:
1. My leveldb relatively new, which used a lot of C ++ 11 features in the process of compiling caffe may be reported as a nullptr undefined class error.
At this time there are two solutions, one is using older leveldb, and with the support of the older C ++ 98 compiler to compile; the second is to open the Makefile, find CXXFLAGS + = -MMD -MP (other you like position may be), and appending CXXFLAGS + = -std = c ++ 11. I personally use the second method, but maybe a lot of people still do not like C ++ 11.
2. Maybe there will be nvcc warning prompted compute_20, sm_20 and other deprecated, in fact, these things too old, ignoring the like, and if there are obsessive-compulsive disorder, you can choose to comment out the relevant content in the Makefile.config.