When I try to build Caffe, the build fails after this line. The CMakeError log says
"Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Projects/caffe/scripts/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/misc/ninja-win/ninja.exe" "cmTC_7f94b"
[1/2] Building C object CMakeFiles\cmTC_7f94b.dir\CheckIncludeFile.c.obj
FAILED: CMakeFiles/cmTC_7f94b.dir/CheckIncludeFile.c.obj
C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe /nologo /DWIN32 /D_WINDOWS /W3 /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_7f94b.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_7f94b.dir\ /FS -c CheckIncludeFile.c
CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
ninja: build stopped: subcommand failed."
I don't know if this is normal or not, but the console also displays a large number of warnings of the sort
"warning C4244: '=': conversion from 'int' to 'float', possible loss of data"
or
"warning C4661: 'void caffe::TileLayer<double>::Backward_gpu(const std::vector<caffe::Blob<Dtype> *,std::allocator<_Ty>> &,const std::vector<bool,std::allocator<bool>> &,const std::vector<_Ty,std::allocator<_Ty>> &)': no suitable definition provided for explicit template instantiation request"
and at the very beginning after I type "build_win.cmd" there are two lines that go
"the system cannot find the drive specified" before it starts building.
Again, I don't know if this is unusual but I wanted to mention it in case it's important.