colorful

zc qq:1337220912

 

ubuntu安装protobuf

  • 1.下载http://code.google.com/p/protobuf/downloads/list
  • 2.解压
  • Shell代码  收藏代码
    1. tar jxvf protobuf-2.4.1.tar.bz2 protobuf  
  • 3.编译
  • Shell代码  收藏代码
    1. $ ./configure  
    2. $ make  
    3. $ make install  
       
  • 4.使用
  • Shell代码  收藏代码
    1. /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
    分享到:

    posted on 2012-05-05 14:35 多彩人生 阅读(1910) 评论(0)  编辑 收藏 引用 所属分类: protobuf


    只有注册用户登录后才能发表评论。
    网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


    导航

    统计

    常用链接

    留言簿(3)

    随笔分类

    随笔档案

    搜索

    最新评论

    阅读排行榜

    评论排行榜