When updating Caffe, it’s best to make clean before re-compiling.
The official Makefile and nfig build are complemented by a community CMake build. We install and run Caffe on Ubuntu 16.04–12.04, OS X 10.11–10.8, and through Docker and AWS. Prior to installing, have a glance through this guide and take note of the details for your platform.