2016-10-06 62 views

回答

2

錯誤消息我很清楚,你必須先安裝protoc工具,它的文件中有所說明:Install the standard C++ implementation of protocol buffers from https://developers.google.com/protocol-buffers/

此外,錯誤消息指出相同的:Ubuntu系統,有一個包含這個二進制文件的包,它是protobuf-compiler

golang protobuf protoc-gen-go只是protoc的插件,這就是爲什麼您首先需要protoc