404

Page not found

Go to the front page →

how to install protobuf with specific version

不管是因為什麼原因需要,整合第三方套件總是要面對一些 breaking change,甚至在大的工程團隊中,每個專案的版本不一致導致連環狀況發生。要裝 protobuf 特定版本其實不難,將以 3.5.1 版本為例: 安裝該版本原始碼首先可以在 protobuf 的 github 專案中找到不同版本的原始碼載點,找到自己的需求後下載: https://github.com/protocolbuffers/protobuf/releases 解壓縮後,在編譯 protobuf 時可能需要以下幾個套件,可以用 homebrew 做安裝: $ brew install autoconf $ brew install automake $ brew install libtool接下來就是對這份原始碼作 compile 與安裝(

  • hothero
    hothero
You've successfully subscribed to hothero's TechNote!