Linux(CentOs6.5) 部署Dlib


Dlib下载地址

http://dlib.net/files/

 

Dlib版本:19.7

需要Linux 支持C++11,所以GCC需要在4.8以上。

 

GCC下载地址

http://ftp.gnu.org/gnu/gcc/

 

Centos 升级gcc4.4.7gcc4.8教程

https://www.mudbest.com/centos%E5%8D%87%E7%BA%A7gcc4-4-7%E5%8D%87%E7%BA%A7gcc4-8%E6%89%8B%E8%AE%B0/

cmake安装步骤

下载源码

解压之后,进入解压目录

./bootstrap

make

make install

参考:

https://cmake.org/install/

dlib编译步骤:

1. 下载源码,并解压

2. 编译(由于我使用的是cmake编译,所以编译之前需要安装cmake,安装步骤随后介绍)

How to compile

Compiling C++ Example Programs on Any Operating System Using CMake

The best way to compile a program that uses dlib is to use CMake. For example, the following commands will compile the example programs on any operating system:

cd examples

mkdir build

cd build

cmake ..

cmake --build . --config Release




  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值