Install Protocol Buffers on Windows

前端 未结 8 1139
渐次进展
渐次进展 2021-02-01 14:18

I am unable to find clear instructions to install Google Protocol Buffers (including compiler) on Windows x64 platform.

I went through the instructions README file for c

8条回答
  •  走了就别回头了
    2021-02-01 15:00

    I'd recommend using vcpkg tool on windows. Here is step by step manual.

    Regarding protobuf, firstly check what options you have (in cmd):

    vcpkg search protobuf

    Next install the required package: vcpkg install protobuf:x64-windows-static

    Notice x64-windows-static after the colon - this is the triplet. Check vcpkg help triplet for all of them.

    Then go to your_path\vcpkg-master\packages\protobuf_x64-windows-static\

    Now you can set your environment variables.

提交回复
热议问题