Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

The lastest update to protobuf.cc would fail the windows build

Open wopeizl opened this issue 8 years ago • 0 comments

  • 版本、环境信息:    1)PaddlePaddle版本:develop    2)CPU:Intel I7800K    3)GPU:GForce GTX 1080    4)系统环境:Windows 10, python 2.7, MSVC 2015 update3

To Reproduce

  • Use the windows env to start the build process, MSVC would report that compilation error.
  • paddle\fluid\pybind\protobuf.cc(33, 0): error C2079: “visibility”使用未定义的struct“pybind11::detail::attribute”

Code to reproduce the issue

  • paddle\fluid\pybind\protobuf.cc

wopeizl avatar Nov 27 '18 03:11 wopeizl