`

ubuntu下安装protobuf

 
阅读更多
  • 1.下载http://code.google.com/p/protobuf/downloads/list
  • 2.解压
  • tar jxvf protobuf-2.4.1.tar.bz2 protobuf
    
  • 3.编译
  • $ ./configure
    $ make
    $ make install
    
       
  • 4.使用
  • /usr/bin/protoc /home/jiangrongyong/work/proto/*.proto --proto_path=/home/jiangrongyong/work/proto --java_out=/home/jiangrongyong/work/proto-output
    


    protobuf安装后出现libprotobuf.so.6 not found after installation
    http://yuu1987.iteye.com/blog/1240712
    分享到:
    评论

    相关推荐

    Global site tag (gtag.js) - Google Analytics