pfnet-research / menoh

Menoh: fast DNN inference library with multiple programming language support
MIT License
279 stars 34 forks source link

Failure of MSVC build on Appveyor #230

Open msakai opened 4 years ago

msakai commented 4 years ago

MSVC build on Appveyor fails with the following error: https://ci.appveyor.com/project/pfnet-research/menoh/builds/34608060/job/awhcqncaxowfypvm

  onnx_menoh_onnx.pb.cc
  onnx-operators_menoh_onnx.pb.cc
C:\protobuf-3.6.0-msvc\include\google/protobuf/stubs/logging.h(100): error C2220: warning treated as error - no 'object' file generated (compiling source file C:\projects\menoh\build\external\onnx\onnx\onnx-operators_menoh_onnx.pb.cc) [C:\projects\menoh\build\external\onnx\onnx_proto.vcxproj]
C:\protobuf-3.6.0-msvc\include\google/protobuf/stubs/logging.h(100): warning C4251: 'google::protobuf::internal::LogMessage::message_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'google::protobuf::internal::LogMessage' (compiling source file C:\projects\menoh\build\external\onnx\onnx\onnx-operators_menoh_onnx.pb.cc) [C:\projects\menoh\build\external\onnx\onnx_proto.vcxproj]
...

Although the same commit was built successfully before: https://ci.appveyor.com/project/pfnet-research/menoh/builds/23908116/job/mr3hd0rq0m0vmu83

msakai commented 3 years ago

@durswd, do you have any idea?

durswd commented 3 years ago

I will check it...