Closed LaurentBerger closed 6 years ago
Did you run with the current caffe2 master version? I think we did quite a few changes to fix the protobuf error so it might change the result at the moment.
Thanks for your answer. I update my caffe2 repo now it's even with master :
$ git log
commit 04f4b46a6f32a899823cad1549895c5293ee6bb1 (HEAD -> master, origin/master, origin/HEAD)
Author: Lu Fang <30275821+houseroad@users.noreply.github.com>
Date: Sat Feb 24 03:51:08 2018 -0800
Skip Cast ONNX backend test, which is not supported in Float16 case (#2005)
I update my protobuf repo (even with master). delete my cmakecache and my build folder.
I run cmake using git bash in windows (version 2.16.2.1) my cmake command are here my cmake ouput is here CMakeCache.txt In vs2017 building project caffe2 gives me 133 errors again :
Is it possible that issue is due to compiling caffe2 without CUDA ( only CPU)?
I change anaconda 3 to anaconda2 still got errors using caffe2 protobuf errors is now :
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): error C2144: syntax error: 'caffe::AccuracyParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(40): error C2144: syntax error: 'caffe::ArgMaxParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(40): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(43): error C2144: syntax error: 'caffe::BatchNormParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(43): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(46): error C2144: syntax error: 'caffe::BiasParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(46): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(49): error C2144: syntax error: 'caffe::BlobProtoDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(49): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(52): error C2144: syntax error: 'caffe::BlobProtoVectorDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(52): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(52): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(55): error C2144: syntax error: 'caffe::BlobShapeDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(55): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(58): error C2144: syntax error: 'caffe::ConcatParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(58): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(61): error C2144: syntax error: 'caffe::ContrastiveLossParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(61): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(64): error C2144: syntax error: 'caffe::ConvolutionParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(64): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(64): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(67): error C2144: syntax error: 'caffe::CropParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(67): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(70): error C2144: syntax error: 'caffe::DataParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(70): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(73): error C2144: syntax error: 'caffe::DatumDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(73): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(73): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(76): error C2144: syntax error: 'caffe::DropoutParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(76): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(76): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(79): error C2144: syntax error: 'caffe::DummyDataParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(79): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(79): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(82): error C2144: syntax error: 'caffe::ELUParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(82): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(82): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(85): error C2144: syntax error: 'caffe::EltwiseParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(85): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(88): error C2144: syntax error: 'caffe::EmbedParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(88): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(88): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(91): error C2144: syntax error: 'caffe::ExpParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(91): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(91): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(94): error C2144: syntax error: 'caffe::FillerParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(94): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(97): error C2144: syntax error: 'caffe::FlattenParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(97): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(100): error C2144: syntax error: 'caffe::HDF5DataParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(100): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(100): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(103): error C2144: syntax error: 'caffe::HDF5OutputParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(103): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(103): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(106): error C2144: syntax error: 'caffe::HingeLossParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(106): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(106): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(109): error C2144: syntax error: 'caffe::ImageDataParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(109): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(109): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(112): error C2144: syntax error: 'caffe::InfogainLossParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(112): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(115): error C2144: syntax error: 'caffe::InnerProductParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(115): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(118): error C2144: syntax error: 'caffe::InputParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(118): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(121): error C2144: syntax error: 'caffe::LRNParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(121): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(121): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(124): error C2144: syntax error: 'caffe::LayerParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(124): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(127): error C2144: syntax error: 'caffe::LogParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(127): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(130): error C2144: syntax error: 'caffe::LossParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(130): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(130): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(133): error C2144: syntax error: 'caffe::MVNParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(133): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(133): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(136): error C2144: syntax error: 'caffe::MemoryDataParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(136): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(139): error C2144: syntax error: 'caffe::NetParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(139): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(139): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(142): error C2144: syntax error: 'caffe::NetStateDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(142): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(145): error C2144: syntax error: 'caffe::NetStateRuleDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(145): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(145): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(148): error C2144: syntax error: 'caffe::PReLUParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(148): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(148): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(151): error C2144: syntax error: 'caffe::ParamSpecDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(151): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(151): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(154): error C2144: syntax error: 'caffe::ParameterParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(154): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(154): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(157): error C2144: syntax error: 'caffe::PoolingParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(157): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(157): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(160): error C2144: syntax error: 'caffe::PowerParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(160): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(160): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(163): error C2144: syntax error: 'caffe::PythonParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(163): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(163): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(166): error C2144: syntax error: 'caffe::ReLUParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(166): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(166): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(169): error C2144: syntax error: 'caffe::RecurrentParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(169): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(169): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(172): error C2144: syntax error: 'caffe::ReductionParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(172): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(172): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(175): error C2144: syntax error: 'caffe::ReshapeParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(175): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(175): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(178): error C2144: syntax error: 'caffe::SPPParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(178): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(178): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(181): error C2144: syntax error: 'caffe::ScaleParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(181): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(181): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(184): error C2144: syntax error: 'caffe::SigmoidParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(184): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(184): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(187): error C2144: syntax error: 'caffe::SliceParameterDefaultTypeInternal' should be preceded by ';' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(187): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(187): error C2086: 'int caffe::CAFFE2_API': redefinition (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(37): note: see declaration of 'caffe::CAFFE2_API' (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
12>G:\Lib\build\caffe2\caffe/proto/caffe.pb.h(187): fatal error C1003: error count exceeds 100; stopping compilation (compiling source file G:\Lib\caffe2\caffe2\image\image_input_op.cc)
I have the same errors, could anyone help? thank you
@anguoyang In december I was able to build caffe2 using windows 10. Now I'm not able
Errors in caffe.pb.h can be fixed by adding
#include "caffe2/core/common.h"
before
#include "caffe/proto/caffe.pb.h"
In image_input_op.h
@wdx04 Thanks. It solves the problem. this issue #1671 is still not fixed. And there is a new error >LINK : fatal error LNK1104: cannot open file 'ZLIB::ZLIB.lib' but may be I will open a new issue about it. Will you make a PR about caffe.pb.h?
@LaurentBerger please open a new issue about the zlib library. Thanks @wdx04 for fixing this.
System information
Windows 10 64 bits MSVC 2017 version 15.5.4 CMake version: 3.10..2 CMake arguments:
When I build caffe2 I have got 187 errors :
Relevant libraries/versions (e.g. CUDA): No cuda CMake output :