Open SWX-TJ opened 6 years ago
@#If this is a build issue, please fill out the template below.
******** Summary ******** 生成失败。 “C:\mysoftware\caffe\caffe2\build\ALL_BUILD.vcxproj”(默认目标) (1) -> “C:\mysoftware\caffe\caffe2\build\caffe2\caffe2.vcxproj”(默认目标) (5) -> (ClCompile 目标) -> C:\mysoftware\caffe\caffe2\caffe2\operators\fully_connected_op.cc(153): error C2971: “caffe2::`anonymous-namespace'::GetFCGradient”: 模板参数“GradientOp”:“caffe2::`anonymous-namespace' ::kFCGradient”: 包含非静态存储持续时间的变量不能用作非类型参数 [C:\mysoftware\caffe\caffe2\build\caffe2\caffe2.vcxproj] C:\mysoftware\caffe\caffe2\caffe2\operators\fully_connected_op.cc(154): error C2971: “caffe2::`anonymous-namespace'::GetFCGradient”: 模板参数“GradientOp”:“caffe2::`anonymous-namespace' ::kFCTransposedGradient”: 包含非静态存储持续时间的变量不能用作非类型参数 [C:\mysoftware\caffe\caffe2\build\caffe2\caffe2.vcxproj]
I had the same issue and the build problems were resolved by cloning the latest version of the repo.
@#If this is a build issue, please fill out the template below.
System information
CMake summary output