Open filipendo125 opened 6 years ago
That protobuf output is expected. The default cmake find_package call failed, so it looks for a custom protobuf build, which build_host_protoc should've set up.
I don't have an answer for the CUDA problem yet though, I'm actually working on this right now.
@filipendo125 The errors are due to compiler/linker not being able to find CUDA libraries (cudart.lib etc.). Check that the vc projects have entry for CUDA libraries.
And as a side note,
-- Could NOT find Protobuf (missing: Protobuf_DIR)
-- Use custom protobuf build.
is a warning/info rather than an error.
Have you tried the solution of this? https://research.wmz.ninja/articles/2017/05/build-caffe2-on-windows-10-gpu.html I followed this about 1 month ago and it worked. However, I'm not really confident if it could still work now since Caffe2 is an active project which updates frequently.
In my experience, you can build the caffe2.lib and caffe2_gpu.lib in windows. Don't care about the failure of compiling binaries.
Hi, I am trying to build Caffe2 with GPU capabilities on a Windows Machine with GTX970, and I am able to build a CPU version with Python, but not able to build using CUDA and cudNN on top of that. I followed the whole installation tutorial, and everything seems to be correct.
I have specified CUDA path and copied cudNN, and it is recognized as shown in summary, but the build still fails.
System information
CMake summary output
Summary
Moreover, it states in my output:
but I have used build_host_protoc.bat
Added modifications to build_windows.bat