VS2015平台编译mini-caffe

1, 下载mini-caffe: https://github.com/luoyetx/mini-caffe


2, build protobuf:

    下载protobuf: https://github.com/google/protobuf/tree/a428e42072765993ff674fda72863c9f1aa2d268
1) 解压到:.\mini-caffe\3rdparty\src\protobuf
2) cd protobuf\cmake; mkdir build; cd build
3) cmake .. -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF -G "Visual Studio 14 2015 Win64"
4) VS2015编译.\protobuf\cmake\build\protobuf.sln, (所有工程:属性->库管理器->命令行-> /machine:X64)

3, 准备mini-caffe:

copydeps.bat
generatepb.bat
mkdir build
cd build
cmake .. -G "Visual Studio 14 2015 Win64"

4, VS2015编译.\mini-caffe\mini-caffe.sln

你可能感兴趣的:(工程编译)