什么是BOOST_ROOT? [英] what is BOOST_ROOT?

查看:904
本文介绍了什么是BOOST_ROOT?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建 http://code.google.com/p/的x64版本. quickfast/ 这就是构建脚本使用%BOOST_ROOT%的方式:

I'm trying to build x64 version of http://code.google.com/p/quickfast/ That's how build scripts use %BOOST_ROOT%:

set SETUP_CHECKING=BOOST_ROOT=%BOOST_ROOT%
if not exist "%BOOST_ROOT%\boost" goto setup_is_bad

includes += $(BOOST_ROOT)/include

set RELEASE_PATH=%QUICKFAST_ROOT%\bin;%QUICKFAST_ROOT%\Output\Release;%MPC_ROOT%;%BOOST_ROOT%\lib;

因此,构建脚本需要以下文件/文件夹:

So build script expects following file/folders:

%BOOST_ROOT%\boost
$(BOOST_ROOT)/include
%BOOST_ROOT%\lib

我已经下载/构建了boost,并且没有libinclude文件夹.这就是我的boost文件夹包含的内容:

I've downloaded/builded boost and there are no lib or include folder. That's what my boost folder contains:

C:\bin\boost_1_49_0

14.03.2012  11:59    <DIR>          .
14.03.2012  11:59    <DIR>          ..
13.03.2012  16:17           249 856 b2.exe
13.03.2012  16:18    <DIR>          bin.v2
13.03.2012  16:17           249 856 bjam.exe
22.02.2012  18:25    <DIR>          boost
30.01.2012  21:30               866 boost-build.jam
30.01.2012  21:30             1 054 boost.css
30.01.2012  21:30             6 308 boost.png
30.01.2012  21:30            18 606 boostcpp.jam
30.01.2012  21:30             2 545 bootstrap.bat
13.03.2012  16:17             2 496 bootstrap.log
30.01.2012  21:30            10 324 bootstrap.sh
22.02.2012  18:05    <DIR>          doc
30.01.2012  21:30               794 index.htm
29.01.2012  16:58             5 556 index.html
30.01.2012  21:30               298 INSTALL
29.01.2012  16:58            10 423 Jamroot
22.02.2012  18:06    <DIR>          libs
30.01.2012  21:30             1 361 LICENSE_1_0.txt
13.03.2012  16:37             4 781 log.txt
22.02.2012  18:28    <DIR>          more
13.03.2012  16:17                76 project-config.jam
30.01.2012  21:30             2 757 rst.css
13.03.2012  16:18    <DIR>          stage
22.02.2012  18:24    <DIR>          status
22.02.2012  18:28    <DIR>          tools

在哪里可以找到包含lib includeboost文件夹的x64 boost版本?

Where can I find x64 boost version that contains lib include and boost folders?

推荐答案

包含文件位于文件夹%BOOST_ROOT%\boost
中 图书馆在%BOOST_ROOT%\libs

Include files are in folder %BOOST_ROOT%\boost
Libraries are in %BOOST_ROOT%\libs

相应地更改您的构建脚本.

Change your build script accordingly.

示例:

%BOOST_ROOT%: c:\bin\boost_1_49_0
Includes: %BOOST_ROOT%\boost
Libs: %BOOST_ROOT%\stage\lib

这篇关于什么是BOOST_ROOT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆