1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1402): error C2071: “caffe::FillerParameter::FillerParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1606): error C2071: “caffe::FillerParameter::NetParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2247): error C2071: “caffe::FillerParameter::SolverParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2383): error C2071: “caffe::FillerParameter::SolverState_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2508): error C2071: “caffe::FillerParameter::NetState_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2660): error C2071: “caffe::FillerParameter::NetStateRule_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2734): error C2059: 语法错误:“常量”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2735): error C2238: 意外的标记位于“;”之前
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(2819): error C2071: “caffe::FillerParameter::ParamSpec_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(3623): error C2071: “caffe::FillerParameter::LayerParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(3789): error C2071: “caffe::FillerParameter::TransformationParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(3937): error C2071: “caffe::FillerParameter::LossParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4055): error C2071: “caffe::FillerParameter::AccuracyParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4173): error C2071: “caffe::FillerParameter::ArgMaxParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4281): error C2071: “caffe::FillerParameter::ConcatParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4399): error C2071: “caffe::FillerParameter::BatchNormParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4519): error C2071: “caffe::FillerParameter::BiasParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4627): error C2071: “caffe::FillerParameter::ContrastiveLossParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(4939): error C2071: “caffe::FillerParameter::ConvolutionParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5050): error C2071: “caffe::FillerParameter::CropParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5274): error C2071: “caffe::FillerParameter::DataParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5372): error C2071: “caffe::FillerParameter::DropoutParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5538): error C2071: “caffe::FillerParameter::DummyDataParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5687): error C2071: “caffe::FillerParameter::EltwiseParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5785): error C2071: “caffe::FillerParameter::ELUParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(5927): error C2071: “caffe::FillerParameter::EmbedParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6045): error C2071: “caffe::FillerParameter::ExpParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6153): error C2071: “caffe::FillerParameter::FlattenParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6276): error C2071: “caffe::FillerParameter::HDF5DataParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6379): error C2071: “caffe::FillerParameter::HDF5OutputParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6503): error C2071: “caffe::FillerParameter::HingeLossParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6726): error C2071: “caffe::FillerParameter::ImageDataParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6839): error C2071: “caffe::FillerParameter::InfogainLossParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(6991): error C2071: “caffe::FillerParameter::InnerProductParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(7092): error C2071: “caffe::FillerParameter::InputParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(7210): error C2071: “caffe::FillerParameter::LogParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(7412): error C2071: “caffe::FillerParameter::LRNParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(7540): error C2071: “caffe::FillerParameter::MemoryDataParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(7658): error C2071: “caffe::FillerParameter::MVNParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(7758): error C2071: “caffe::FillerParameter::ParameterParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8022): error C2071: “caffe::FillerParameter::PoolingParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8140): error C2071: “caffe::FillerParameter::PowerParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8283): error C2071: “caffe::FillerParameter::PythonParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8425): error C2071: “caffe::FillerParameter::RecurrentParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8573): error C2071: “caffe::FillerParameter::ReductionParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8709): error C2071: “caffe::FillerParameter::ReLUParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8829): error C2071: “caffe::FillerParameter::ReshapeParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(8971): error C2071: “caffe::FillerParameter::ScaleParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9097): error C2071: “caffe::FillerParameter::SigmoidParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9218): error C2071: “caffe::FillerParameter::SliceParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9354): error C2071: “caffe::FillerParameter::SoftmaxParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9480): error C2071: “caffe::FillerParameter::TanHParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9588): error C2071: “caffe::FillerParameter::TileParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9686): error C2071: “caffe::FillerParameter::ThresholdParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(9925): error C2071: “caffe::FillerParameter::WindowDataParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(10099): error C2071: “caffe::FillerParameter::SPPParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(10275): error C2059: 语法错误:“常量”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(10276): error C2238: 意外的标记位于“;”之前
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(10852): error C2071: “caffe::FillerParameter::V1LayerParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11389): error C2071: “caffe::FillerParameter::V0LayerParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11499): error C2071: “caffe::FillerParameter::PReLUParameter_default_instance_”: 非法的存储类
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11510): error C3254: “caffe::FillerParameter”: 类包含显式重写“dim_size”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11510): error C2838: “dim_size”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11513): error C3254: “caffe::FillerParameter”: 类包含显式重写“clear_dim”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11513): error C2838: “clear_dim”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11516): error C3254: “caffe::FillerParameter”: 类包含显式重写“dim”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11516): error C2838: “dim”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11520): error C3254: “caffe::FillerParameter”: 类包含显式重写“set_dim”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11520): error C2838: “set_dim”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11524): error C3254: “caffe::FillerParameter”: 类包含显式重写“add_dim”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11524): error C2838: “add_dim”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11529): error C3254: “caffe::FillerParameter”: 类包含显式重写“dim”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11529): error C2838: “dim”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11534): error C3254: “caffe::FillerParameter”: 类包含显式重写“mutable_dim”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11534): error C2838: “mutable_dim”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11539): error C3254: “caffe::FillerParameter”: 类包含显式重写“internal_default_instance”,但并不从包含函数声明的接口派生
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11539): error C2838: “internal_default_instance”: 成员声明中的非法限定名
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11539): error C2686: 不能重载具有相同参数类型的静态和非静态成员函数
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11539): note: 可能是“const caffe::FillerParameter *caffe::FillerParameter::internal_default_instance(void)”
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11539): note: 或 “const caffe::BlobShape *caffe::FillerParameter::internal_default_instance(void)”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11540): error C2059: 语法错误:“return”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11540): error C2238: 意外的标记位于“;”之前
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11547): error C2628: “caffe::FillerParameter”后面接“bool”是非法的(是否忘记了“;”?)
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11547): error C2556: “caffe::FillerParameter caffe::BlobProto::has_shape(void) const”: 重载函数与“bool caffe::BlobProto::has_shape(void) const”只是在返回类型上不同
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(813): note: 参见“caffe::BlobProto::has_shape”的声明
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11547): error C2371: “caffe::BlobProto::has_shape”: 重定义;不同的基类型
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(813): note: 参见“caffe::BlobProto::has_shape”的声明
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1217): error C2065: “_internal_metadata_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1217): error C2228: “.unknown_fields”的左边必须有类/结构/联合
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1217): note: 类型是“unknown-type”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1221): error C2065: “_internal_metadata_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1221): error C2228: “.mutable_unknown_fields”的左边必须有类/结构/联合
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1221): note: 类型是“unknown-type”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1253): error C2065: “_cached_size_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1262): error C2065: “_internal_metadata_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1262): error C2228: “.arena”的左边必须有类/结构/联合
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1262): note: 类型是“unknown-type”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1265): error C2065: “_internal_metadata_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1265): error C2228: “.raw_arena_ptr”的左边必须有类/结构/联合
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(1265): note: 类型是“unknown-type”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11511): error C2065: “dim_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11511): error C2228: “.size”的左边必须有类/结构/联合
1> G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11511): note: 类型是“unknown-type”
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11514): error C2065: “dim_”: 未声明的标识符
1>G:\ZhouGF\Caffe测试\include2\caffe/proto/caffe.pb.h(11514): fatal error C1003: 错误计数超过 100;正在停止编译
解决措施:工程->属性->C/C++->预处理器->yuyu预处理器定义中输入如下内容:
NO_STRICT
WIN32_LEAN_AND_MEAN
NOMINMAX
_CRT_SECURE_NO_WARNINGS