As stated in the recently updated README, I want to report an error when building caffe-windows using build_win.cmd.
I changed the Visual Studio version to 12, disabled python support and enabled CMAKE_BUILD_SHARED_LIBS.
"C:\caffe-windows\build\ALL_BUILD.vcxproj" (standard target) (1) ->
"C:\caffe-windows\build\tools\caffe.bin.vcxproj" (standard target) (5) ->
(link target) ->
caffe.obj : error LNK2019: reference to unresolved external symbol ""void __cdecl caffe::caffe_
gpu_dot<float>(int,float const *,float const *,float *)" (??$caffe_gpu_dot@M@caffe@@YAXHPEBM0PEAM@Z)"
in function ""public: float __cdecl caffe::Layer<float>::Forward(class std::vector<class caffe::Blob<float> *,
class std::allocator<class caffe::Blob<float> *> >
const &,class std::vector<class caffe::Blob<float> *,class std::allocator<class caffe::Blob<float> *> > const &)
" (?Forward@?$Layer@M@caffe@@QEAAMAEBV?$vector@PEAV?$Blob@M@caffe@@V?$allocator@PEAV?$Blob@M@caffe@@@std@@@std@@0@Z)".
[C:\caffe-windows\build\tools\caffe.bin.vcxproj]
C:\caffe-windows\build\tools\Release\caffe.exe : fatal error LNK1120: 1
unresolved external symbol
[C:\caffe-windows\build\tools\caffe.bin.vcxproj]
1211 warnings
2 errors
elapsed time: 00:11:07.80
ERROR: Build failed
(error messages are translated)
As other user in this group mentioned that the dependencies are possibly not correctly added to the PATH, I added "C:\caffe-windows\build\libraries\bin;C:\caffe-windows\build\libraries\lib;C:\caffe-windows\build\libraries\x64\vc12\bin" manually in advance. Still, I get the above error in Debug as well as Release mode.