boost-bjam安装中的访问被拒绝错误

时间:2013-06-29 22:02:26

标签: boost bjam

我正在尝试午餐bjam作为安装升级库的一步,需要运行Cufflinks(RNASeq分析软件)。 但是,当我运行代码时:

$ ./bjam --prefix=/cygdrive/c/cygdrive/c/Boost/include/boost-1_53/boost -- toolset=gcc architecture=x86 address_model=32 link=static runtime-link=static stage install

我收到以下错误

Access is denied.
Access is denied.
Access is denied.
Access is denied.
C:/Users/se24553/Downloads/boost_1_53_0/tools/build/v2/build\property.jam:328: in validate1 from module property
error: Invalid property '<address_model>32': unknown feature 'address_model'.
C:/Users/se24553/Downloads/boost_1_53_0/tools/build/v2/build\property.jam:337: in property.validate from module property
C:/Users/se24553/Downloads/boost_1_53_0/tools/build/v2/build\build-request.jam:216: in convert-command-line-element from module build-request
C:/Users/se24553/Downloads/boost_1_53_0/tools/build/v2/build\build-request.jam:154: in build-request.from-command-line from module build-request
C:/Users/se24553/Downloads/boost_1_53_0/tools/build/v2\build-system.jam:613: in load from module build-system
C:\Users\se24553\Downloads\boost_1_53_0\tools\build\v2/kernel\modules.jam:283: in import from module modules
C:\Users\se24553\Downloads\boost_1_53_0\tools\build\v2/kernel/bootstrap.jam:142: in boost-build from module
C:\Users\se24553\Downloads\boost_1_53_0\boost-build.jam:17: in module scope from module

我真的不知道如何克服这个问题。 目录/cygdrive/c/cygdrive/c/Boost/(我试图只使用此路径但结果相同)是我使用代码b2 install --prefix=/cygdrive/c/cygdrive/c/Boost/安装各种文件的地方,但它包含两个文件夹{{1} } includelib为空,而lib包含 - &gt; include - &gt; boost-1_53此处还有所有其他文件夹和boost文件。

如果有帮助,我在Win 7上使用cygdrive!

谢谢:)

1 个答案:

答案 0 :(得分:0)

我有同样的问题: 在Windows 7中,您的bin目录可能受到保护:

$ chmod -R a+r bin
$ chmod -R a+x bin

How to compile Boost (and link?) libraries in cygwin windows7 i686-w64-mingw32-g++ with bjam

Barthelemy的