Vcpkg install protobuf出錯

我其實是想在windows上編譯下最新的google protobuf,官方提供了vcpkg的方法來編譯,一直報錯,最后發(fā)現(xiàn)是這個問題:
\color{red}{需要把Visual Studio語言設置為英語?。?!}
如下圖:

TIM圖片20190716215655.png

C++ Installation - Windows

If you only need the protoc binary, you can download it from the release page:

https://github.com/protocolbuffers/protobuf/releases/latest

In the downloads section, download the zip file protoc-$VERSION-win32.zip. It contains the protoc binary as well as public proto files of protobuf library.

Protobuf and its dependencies can be installed directly by using vcpkg:

>vcpkg install protobuf protobuf:x64-windows

If zlib support is desired, you'll also need to install the zlib feature:

>vcpkg install protobuf[zlib] protobuf[zlib]:x64-windows

See https://github.com/Microsoft/vcpkg for more information.

To build from source using Microsoft Visual C++, see cmake/README.md.

To build from source using Cygwin or MinGW, follow the Unix installation instructions, above.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,424評論 0 10
  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom閱讀 2,719評論 0 3
  • By clicking to agree to this Schedule 2, which is hereby ...
    qaz0622閱讀 1,483評論 0 2
  • Copyright 2008 Google Inc. https://developers.google.com/...
    Mr_Shang閱讀 3,903評論 0 1
  • 觀影《我們結(jié)婚吧》觀感 《我們結(jié)婚吧》很久以前的片子,作為一個已婚婦女,生活里的一地雞毛已經(jīng)讓我不太喜歡這種看名字...
    葉葉隱隱閱讀 700評論 0 4