移植boost到hi3519
来源:互联网 发布:苹果屏幕录像软件 编辑:程序博客网 时间:2024/06/06 07:36
1.编译环境
- Ubuntu16.04 + arm-hisiv500-linux-gcc
- 下载地址: http://sourceforge.net/projects/boost/files/boost/
2.移植步骤
- 新建安装目录:
mkdir install
- 运行安装包自带脚本:
./bootstrap.sh --prefix=/home/shunzhi/software/boost/boost_1_64_0/install
- 修改
project-config.jam
文件,具体修改如下:
10 if ! gcc in [ feature.values <toolset> ]11 {12 using gcc : arm : arm-hisiv500-linux-gcc ; #注意中间空格13 }
- 编译安装:
./bjam install toolset=gcc-arm --layout=tagged --build-type=complete --prefix=/home/shunzhi/software/boost/boost_1_63_0/install
3.测试程序:
#include<iostream>#include<boost/lexical_cast.hpp>int main() { int a = boost::lexical_cast<int>("1008611"); std::cout << a <<std::endl; return 0; }
- 编译测试程序:
arm-hisiv500-linux-g++ boost_test.cpp -L ../stage/lib/ -I ../ -o test
注意:
- option.set prefix :(交叉编译器所在位置);
- option.set exec-prefix :(交叉编译器所在位置)/bin ;
- option.set libdir :(交叉编译器所在位置)/lib ;
- option.set includedir :(交叉编译器所在位置)/include
1 0
- 移植boost到hi3519
- 移植gflags到hi3519
- 移植lmdb到hi3519
- 移植protobuf到hi3519
- 移植leveldb到hi3519
- 移植snappy到hi3519
- 移植hdf5到hi3519
- 移植OpenBLAS到hi3519
- 移植caffe到hi3519
- boost 1.51.0移植到ARM S3C6410成功运行
- boost 1.51.0移植到ARM S3C6410成功运行
- 将boost库移植到windows phone 8 平台
- Hi3519使用·记录
- hi3519 编译问题
- hi3519 编译问题
- hi3519开发流程
- hi3519模组测试
- PHP4移植到PHP5
- 神经网络训练中图像数据预处理的一些方式(一)
- 不可见字符
- JavaScript学习笔记9-返回语句
- 数据预处理:独热编码(One-Hot Encoding)
- SpringMVC系列(3)之@RequestParam与@PathVariable区别
- 移植boost到hi3519
- [leetCode刷题笔记]129. Sum Root to Leaf Numbers
- Spring何时初始化bean
- Chart.js Uncaught ReferenceError: require is not defined
- 揭秘360手机助手未经用户同意,自动开启辅助功能的“黑科技”
- yii2->验证码问题(Yii2.0 ajax验证,验证码报错,load方法)
- Hibernate
- git 上传代码
- JavaScript中的可枚举属性与不可枚举属性