folly库的安装

本文介绍了如何安装folly库,包括需要的环境如gcc 4.9+ 和C++14支持的boost,以及详细步骤:查询并确认gcc版本,安装boost,检查boost版本,下载并安装googletest以进行folly的测试。同时提到了需要补充debug包。
摘要由CSDN通过智能技术生成

下载folly

https://github.com/facebook/folly

  cd ~
  git clone https://github.com/facebook/folly.git

一,Requirements

folly需要gcc 4.9+ 以及C ++ 14支持编译的boost

    gcc版本查询

gcc --version 

 发现已经安装gcc 5.4.0

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

   boost安装

https://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu

 sudo apt-get install libboost-all-dev
 dpkg -S /usr/include/boost/version.hpp
 cd ~
 git clone 
  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值