The Microsoft-maintained Caffe has been used as the official Caffe Branch, and the compilation has changed, just recently reloading Caffe windows, recording the pits inside.
Https://github.com/BVLC/caffe/tree/windows
There are two scenarios for installation:
Scenario One: Use vs2015, disadvantage to the latest win10 to install vs2015, it is not recommended this program
1. Change 1 of With_ninja in Build_win.cmd to 0
2. Manual download libraries_v140_x64_py27_1.0.1.tar.bz2, to Caffe under the build folder, download needs FQ, otherwise very slow if vs2013 need to download libraries_v120_x64_py27 _1.0.1.tar.bz2
Note: The download path can be found in the script\download_prebuilt_dependencies.py file, the previous lines are
Scenario two: Using Ninja as Project management
1. Download Ninja to C:\Windows in fact, just put it in the environment variable path
2. Manual download libraries_v140_x64_py27_1.0.1.tar.bz2, to Caffe under the build folder, download needs FQ, otherwise very slow if vs2013 need to download libraries_v120_x64_py27 _1.0.1.tar.bz2
3. Run Script\build_win.cmd with Caffe-master as the root directory
About the Matlab interface:
4. Add matlab to the environment variable path in order to compile the Matcaffe
5.matlab Note MATLAB supported C + + compiler matlab2014 only support to vs2013 C + + compiler, if necessary, open MATLAB input mex-setup Modify MEX used compiler
6. After the compilation is complete, copy all DLL files under build/tools/to matlab\+caffe\private\, or there will be no caffe problem found.
7. Run the test case, there should be no problem at this time!
Caffe Windows compilation