boost学习笔录-I
来源:互联网 发布:电商大数据分析平台 编辑:程序博客网 时间:2024/06/14 19:21
写了一个脚本,用来测试jam,结果遇到了问题,可能也有其他同学在第一次使用bjam时也碰到了这样的问题,所以,我就记录了下来,
//hello.cppint main(){ return 0;}
最简单的jam文件
exe hello : hello.cpp ;
运行bjam的时候,出现错误:
config-cache.jam: No such file or directory/home/g11/source/boost_1_55_0/tools/build/v2/build-system.jam:415: in load-configuration-filesrule project.end-load unknown in module build-system./home/g11/source/boost_1_55_0/tools/build/v2/build-system.jam:524: in load/usr/share/boost-build/kernel/modules.jam:283: in import/usr/share/boost-build/kernel/bootstrap.jam:142: in boost-build/usr/share/boost-build/boost-build.jam:8: in module scope
网上说是boost-build没有设置正确,而我的环境变量设置为:
declare -x BOOST_BUILD_PATH="/home/g11/source/boost_1_55_0/tools/build/v2/"
调试其他例子发现,环境变量设置有问题
declare -x BOOST_BUILD_PATH="/home/g11/source/boost_1_55_0/tools/build/v2/install/share/boost-build/kernel"
install目录是我 b2 install –prefix=指定的目录。
0 0
- boost学习笔录-I
- boost学习笔录-II
- boost学习笔录-III
- boost I
- 数据库学习笔录
- oracle学习笔录
- 设计模式学习笔录
- 学习笔录--序言
- cocos2d学习笔录1
- 安卓学习笔录
- 个人Python学习笔录
- Linux shell学习笔录
- Git学习笔录
- FIS3学习笔录一
- FIS3学习笔录二
- FIS3学习笔录三
- ZooKeeper dubbo 学习笔录
- SSH学习笔录
- android基础学习之edit的详解
- MyBatis数据持久化(五)数据源配置优化
- thinking in java 之 public private protect
- 小知识点(七)UTC型字符串转Date
- Kettle5.3源代码编译详解
- boost学习笔录-I
- 定时cronjob调用Java程序
- H.264 RTP Streaming
- 黑马程序员----2015.6.16笔记(多态,接口,Object,内部类,匿名类,异常,throws)
- 黑马程序员--------常用集合的遍历方式总结
- 简单工厂模式
- 【leetcode c++】19 removeNthFromEnd
- java之从上到下打印二叉树
- KMP算法next数组推导