我想确认一下:如果你想使用Google Protocol Buffers,我可以为您找到编译器的二进制文件,但似乎我还需要编译其余的源文件。这是真的吗?我有一个MinGW C编译器,这样可以吗?有人有make文件吗?
我想确认一下:如果你想使用Google Protocol Buffers,我可以为您找到编译器的二进制文件,但似乎我还需要编译其余的源文件。这是真的吗?我有一个MinGW C编译器,这样可以吗?有人有make文件吗?
更新:看起来您没有安装python-protobuf,或Python找不到它。
要么使用以下方式进行安装:
apt-get install python-protobuf # for Ubuntu
yum install python-protobuf # for Fedora/Redhat
或者easy_install protobuf
或者按照这里所述的方式从源代码安装: http://code.google.com/p/protobuf/issues/detail?id=235
$ sudo pip install protobuf
对我有效。 - MarkHu